添加分区

This commit is contained in:
2026-04-17 13:08:46 +08:00
parent 6ab0cd209e
commit a9e216295e
76 changed files with 1669 additions and 711 deletions

View File

@@ -171,6 +171,97 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Geo",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "PROVINCE_C"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'江苏'"
}
}
]
]
}
},
"Annotations": {
"filterExpressionMetadata": {
"expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
],
"decomposedIdentities": {
"values": [
[
{
"0": [
{
"Literal": {
"Value": "'江苏'"
}
}
]
}
]
],
"columns": [
{
"value": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
}
]
},
"valueMap": [
{
"0": "江苏"
}
]
}
}
}
]
}
} }
} }
} }

View File

@@ -7,7 +7,7 @@
"z": 6000, "z": 6000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 82 "tabOrder": 7000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -7,7 +7,7 @@
"z": 7000, "z": 7000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 83 "tabOrder": 8000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -4,7 +4,7 @@
"position": { "position": {
"x": 8.7270233157730672, "x": 8.7270233157730672,
"y": 117.37153874243418, "y": 117.37153874243418,
"z": 6, "z": 6000,
"height": 1537.6487471687085, "height": 1537.6487471687085,
"width": 1697.8114382226884, "width": 1697.8114382226884,
"tabOrder": 0 "tabOrder": 0

View File

@@ -7,7 +7,7 @@
"z": 1000, "z": 1000,
"height": 25, "height": 25,
"width": 250, "width": 250,
"tabOrder": 6 "tabOrder": 0
}, },
"visual": { "visual": {
"visualType": "cardVisual", "visualType": "cardVisual",

View File

@@ -7,7 +7,7 @@
"z": 0, "z": 0,
"height": 1291.5384615384614, "height": 1291.5384615384614,
"width": 1372.3076923076922, "width": 1372.3076923076922,
"tabOrder": 52 "tabOrder": 2000
}, },
"visual": { "visual": {
"visualType": "pivotTable", "visualType": "pivotTable",

View File

@@ -4,7 +4,7 @@
"position": { "position": {
"x": 23.332832456799398, "x": 23.332832456799398,
"y": 1752.0005464107644, "y": 1752.0005464107644,
"z": 3, "z": 3000,
"height": 32, "height": 32,
"width": 224, "width": 224,
"tabOrder": 12000 "tabOrder": 12000

View File

@@ -4,10 +4,10 @@
"position": { "position": {
"x": 267.5, "x": 267.5,
"y": 1088.3333333333335, "y": 1088.3333333333335,
"z": 7, "z": 7000,
"height": 652.5, "height": 652.5,
"width": 249.16666666666669, "width": 249.16666666666669,
"tabOrder": 59 "tabOrder": 2000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -7,7 +7,7 @@
"z": 5500, "z": 5500,
"height": 19.444444444444443, "height": 19.444444444444443,
"width": 19.444444444444443, "width": 19.444444444444443,
"tabOrder": 64 "tabOrder": 2000
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 0, "z": 0,
"height": 25, "height": 25,
"width": 250.00000000000003, "width": 250.00000000000003,
"tabOrder": 47 "tabOrder": 1000
}, },
"visual": { "visual": {
"visualType": "cardVisual", "visualType": "cardVisual",

View File

@@ -7,7 +7,7 @@
"z": 2000, "z": 2000,
"height": 34.792560801144489, "height": 34.792560801144489,
"width": 1347.7539341917022, "width": 1347.7539341917022,
"tabOrder": 49 "tabOrder": 1000
}, },
"visual": { "visual": {
"visualType": "advancedSlicerVisual", "visualType": "advancedSlicerVisual",

View File

@@ -7,7 +7,7 @@
"z": 2000, "z": 2000,
"height": 47.81808337845154, "height": 47.81808337845154,
"width": 53.015701136978883, "width": 53.015701136978883,
"tabOrder": 11 "tabOrder": 0
}, },
"visual": { "visual": {
"visualType": "image", "visualType": "image",

View File

@@ -4,7 +4,7 @@
"position": { "position": {
"x": 532, "x": 532,
"y": 339.94082840236683, "y": 339.94082840236683,
"z": 9, "z": 9000,
"height": 1448.2642998027613, "height": 1448.2642998027613,
"width": 1372.3076923076922, "width": 1372.3076923076922,
"tabOrder": 8000 "tabOrder": 8000

View File

@@ -7,7 +7,7 @@
"z": 4000, "z": 4000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 77 "tabOrder": 5000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -4,7 +4,7 @@
"position": { "position": {
"x": 1408.75, "x": 1408.75,
"y": 5.7142857142857144, "y": 5.7142857142857144,
"z": 13, "z": 13000,
"height": 45.285714285714285, "height": 45.285714285714285,
"width": 456.25, "width": 456.25,
"tabOrder": 10000 "tabOrder": 10000

View File

@@ -7,7 +7,7 @@
"z": 6750, "z": 6750,
"height": 23.888888888888889, "height": 23.888888888888889,
"width": 25.555555555555554, "width": 25.555555555555554,
"tabOrder": 75 "tabOrder": 4000
}, },
"visual": { "visual": {
"visualType": "image", "visualType": "image",

View File

@@ -7,7 +7,7 @@
"z": 7000, "z": 7000,
"height": 25, "height": 25,
"width": 87, "width": 87,
"tabOrder": 78 "tabOrder": 5000
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 0, "z": 0,
"height": 40.541418516513261, "height": 40.541418516513261,
"width": 200.62804547915539, "width": 200.62804547915539,
"tabOrder": 43 "tabOrder": 1000
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 1000, "z": 1000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 68 "tabOrder": 3000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -4,10 +4,10 @@
"position": { "position": {
"x": 1544.6065808297567, "x": 1544.6065808297567,
"y": 395.53648068669526, "y": 395.53648068669526,
"z": 2, "z": 2000,
"height": 44.864091559370529, "height": 44.864091559370529,
"width": 375.39341917024319, "width": 375.39341917024319,
"tabOrder": 79 "tabOrder": 6000
}, },
"visual": { "visual": {
"visualType": "cardVisual", "visualType": "cardVisual",

View File

@@ -7,7 +7,7 @@
"z": 1000, "z": 1000,
"height": 70.231488147520821, "height": 70.231488147520821,
"width": 240.21204641760744, "width": 240.21204641760744,
"tabOrder": 44 "tabOrder": 1000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -7,7 +7,7 @@
"z": 1000, "z": 1000,
"height": 12.474282620465619, "height": 12.474282620465619,
"width": 99.794260963724952, "width": 99.794260963724952,
"tabOrder": 45 "tabOrder": 2000
}, },
"visual": { "visual": {
"visualType": "shape", "visualType": "shape",

View File

@@ -4,7 +4,7 @@
"position": { "position": {
"x": 1560, "x": 1560,
"y": 50, "y": 50,
"z": 14, "z": 14000,
"height": 50, "height": 50,
"width": 315.55555555555554, "width": 315.55555555555554,
"tabOrder": 13000 "tabOrder": 13000

View File

@@ -7,7 +7,7 @@
"z": 5000, "z": 5000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 80 "tabOrder": 6000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -7,7 +7,7 @@
"z": 6500, "z": 6500,
"height": 25, "height": 25,
"width": 25, "width": 25,
"tabOrder": 71 "tabOrder": 3000
}, },
"visual": { "visual": {
"visualType": "image", "visualType": "image",

View File

@@ -7,7 +7,7 @@
"z": 9000, "z": 9000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 85 "tabOrder": 10000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -7,7 +7,7 @@
"z": 2000, "z": 2000,
"height": 30, "height": 30,
"width": 237.5, "width": 237.5,
"tabOrder": 51 "tabOrder": 2000
}, },
"visual": { "visual": {
"visualType": "cardVisual", "visualType": "cardVisual",

View File

@@ -7,7 +7,7 @@
"z": 10000, "z": 10000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 86 "tabOrder": 11000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -4,10 +4,10 @@
"position": { "position": {
"x": 339.68526466380541, "x": 339.68526466380541,
"y": 336.02288984263231, "y": 336.02288984263231,
"z": 4, "z": 4000,
"height": 41.201716738197419, "height": 41.201716738197419,
"width": 99.79971387696709, "width": 99.79971387696709,
"tabOrder": 65 "tabOrder": 3000
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 0, "z": 0,
"height": 70.2341146084344, "height": 70.2341146084344,
"width": 240, "width": 240,
"tabOrder": 62 "tabOrder": 2000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -7,7 +7,7 @@
"z": 3000, "z": 3000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 3 "tabOrder": 0
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -4,10 +4,10 @@
"position": { "position": {
"x": 269.28571428571428, "x": 269.28571428571428,
"y": 371.42857142857144, "y": 371.42857142857144,
"z": 8, "z": 8000,
"height": 656.42857142857144, "height": 656.42857142857144,
"width": 247.14285714285717, "width": 247.14285714285717,
"tabOrder": 53 "tabOrder": 1000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -4,7 +4,7 @@
"position": { "position": {
"x": 280, "x": 280,
"y": 1752.6666666666667, "y": 1752.6666666666667,
"z": 10, "z": 10000,
"height": 32, "height": 32,
"width": 224, "width": 224,
"tabOrder": 14000 "tabOrder": 14000

View File

@@ -4,10 +4,10 @@
"position": { "position": {
"x": 900.41379310344826, "x": 900.41379310344826,
"y": 378.90716180371351, "y": 378.90716180371351,
"z": 12, "z": 12000,
"height": 40.742705570291776, "height": 40.742705570291776,
"width": 650.86472148541111, "width": 650.86472148541111,
"tabOrder": 81 "tabOrder": 7000
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 7500, "z": 7500,
"height": 25, "height": 25,
"width": 155.55555555555554, "width": 155.55555555555554,
"tabOrder": 5 "tabOrder": 0
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 6000, "z": 6000,
"height": 19.444444444444443, "height": 19.444444444444443,
"width": 19.444444444444443, "width": 19.444444444444443,
"tabOrder": 58 "tabOrder": 1000
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 8000, "z": 8000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 84 "tabOrder": 9000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -4,7 +4,7 @@
"position": { "position": {
"x": 264, "x": 264,
"y": 115.96286472148542, "y": 115.96286472148542,
"z": 1, "z": 1000,
"height": 187.0371352785146, "height": 187.0371352785146,
"width": 1643.9681697612732, "width": 1643.9681697612732,
"tabOrder": 11000 "tabOrder": 11000

View File

@@ -7,7 +7,7 @@
"z": 11000, "z": 11000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 55 "tabOrder": 1000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",
@@ -136,47 +136,6 @@
} }
] ]
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Market",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "MARKET"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'EGFR TKI Market'"
}
}
]
]
}
}
}
]
}
} }
} }
} }

View File

@@ -7,7 +7,7 @@
"z": 0, "z": 0,
"height": 39.696058518163937, "height": 39.696058518163937,
"width": 240.21204641760744, "width": 240.21204641760744,
"tabOrder": 42 "tabOrder": 0
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 2000, "z": 2000,
"height": 70, "height": 70,
"width": 240, "width": 240,
"tabOrder": 74 "tabOrder": 4000
}, },
"visual": { "visual": {
"visualType": "slicer", "visualType": "slicer",

View File

@@ -4,10 +4,10 @@
"position": { "position": {
"x": 900.94420600858359, "x": 900.94420600858359,
"y": 339.68526466380541, "y": 339.68526466380541,
"z": 11, "z": 11000,
"height": 40.286123032904143, "height": 40.286123032904143,
"width": 650.071530758226, "width": 650.071530758226,
"tabOrder": 76 "tabOrder": 5000
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -7,7 +7,7 @@
"z": 1000, "z": 1000,
"height": 33.876967095851214, "height": 33.876967095851214,
"width": 734.30615164520736, "width": 734.30615164520736,
"tabOrder": 8 "tabOrder": 0
}, },
"visual": { "visual": {
"visualType": "textbox", "visualType": "textbox",

View File

@@ -4,10 +4,10 @@
"position": { "position": {
"x": 338.76967095851211, "x": 338.76967095851211,
"y": 1050.1859799713877, "y": 1050.1859799713877,
"z": 5, "z": 5000,
"height": 40.286123032904143, "height": 40.286123032904143,
"width": 100.71530758226037, "width": 100.71530758226037,
"tabOrder": 72 "tabOrder": 4000
}, },
"visual": { "visual": {
"visualType": "actionButton", "visualType": "actionButton",

View File

@@ -171,6 +171,97 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Geo",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "PROVINCE_C"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'江苏'"
}
}
]
]
}
},
"Annotations": {
"filterExpressionMetadata": {
"expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
],
"decomposedIdentities": {
"values": [
[
{
"0": [
{
"Literal": {
"Value": "'江苏'"
}
}
]
}
]
],
"columns": [
{
"value": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
}
]
},
"valueMap": [
{
"0": "江苏"
}
]
}
}
}
]
}
} }
} }
} }

View File

@@ -1,5 +1,5 @@
{ {
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.6.0/schema.json", "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.7.0/schema.json",
"name": "f335a3769c04e5991526", "name": "f335a3769c04e5991526",
"position": { "position": {
"x": 0, "x": 0,
@@ -98,47 +98,6 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Market",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "MARKET"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'NIAD (Non-Insulin Anti-Diabetic) Market'"
}
}
]
]
}
}
}
]
}
} }
} }
} }

View File

@@ -206,6 +206,97 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Geo",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "PROVINCE_C"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'江苏'"
}
}
]
]
}
},
"Annotations": {
"filterExpressionMetadata": {
"expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
],
"decomposedIdentities": {
"values": [
[
{
"0": [
{
"Literal": {
"Value": "'江苏'"
}
}
]
}
]
],
"columns": [
{
"value": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
}
]
},
"valueMap": [
{
"0": "江苏"
}
]
}
}
}
]
}
} }
} }
} }

View File

@@ -125,7 +125,7 @@
}, },
"Right": { "Right": {
"Literal": { "Literal": {
"Value": "'niad'" "Value": "'f'"
} }
} }
} }
@@ -136,47 +136,6 @@
} }
] ]
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Market",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "MARKET"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'NIAD (Non-Insulin Anti-Diabetic) Market'"
}
}
]
]
}
}
}
]
}
} }
} }
} }

View File

@@ -45,6 +45,21 @@
"nativeQueryRef": "Package Code", "nativeQueryRef": "Package Code",
"displayName": "Package Code" "displayName": "Package Code"
}, },
{
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Institution"
}
},
"Property": "INST_CODE"
}
},
"queryRef": "Dim_Institution.INST_CODE",
"nativeQueryRef": "Ins Code",
"displayName": "Ins Code"
},
{ {
"field": { "field": {
"Measure": { "Measure": {
@@ -74,7 +89,7 @@
} }
}, },
"index": 0, "index": 0,
"length": 2 "length": 3
}, },
{ {
"parameterExpr": { "parameterExpr": {
@@ -2475,8 +2490,7 @@
"Property": "INST_CODE" "Property": "INST_CODE"
} }
}, },
"type": "Categorical", "type": "Categorical"
"howCreated": "User"
}, },
{ {
"name": "Filterc9a7509de2e7dae89b3b", "name": "Filterc9a7509de2e7dae89b3b",

View File

@@ -107,7 +107,7 @@
[ [
{ {
"Literal": { "Literal": {
"Value": "'所有机构'" "Value": "'剔除部分机构'"
} }
} }
] ]
@@ -152,23 +152,5 @@
}, },
"drillFilterOtherVisuals": true "drillFilterOtherVisuals": true
}, },
"parentGroupName": "44bfd648b2db4cafbae1", "parentGroupName": "44bfd648b2db4cafbae1"
"filterConfig": {
"filters": [
{
"name": "108447777a706eb9426a",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "AIA_Calgroup"
}
},
"Property": "AIA_INS_REMOVE"
}
},
"type": "Categorical"
}
]
}
} }

View File

@@ -262,6 +262,18 @@
"Value": "'''Dim_PackInfo''[PACK_COD]'" "Value": "'''Dim_PackInfo''[PACK_COD]'"
} }
} }
],
[
{
"Literal": {
"Value": "'Ins'"
}
},
{
"Literal": {
"Value": "'''Dim_Institution''[INST_CODE]'"
}
}
] ]
] ]
} }
@@ -331,6 +343,26 @@
} }
] ]
} }
],
[
{
"0": [
{
"Literal": {
"Value": "'Ins'"
}
}
]
},
{
"1": [
{
"Literal": {
"Value": "'''Dim_Institution''[INST_CODE]'"
}
}
]
}
] ]
], ],
"columns": [ "columns": [
@@ -368,6 +400,10 @@
{ {
"0": "Market & Product", "0": "Market & Product",
"1": "Package Code" "1": "Package Code"
},
{
"0": "Ins",
"1": "Ins Code"
} }
] ]
} }
@@ -404,7 +440,7 @@
}, },
"Right": { "Right": {
"Literal": { "Literal": {
"Value": "'pack'" "Value": "'ins'"
} }
} }
} }
@@ -423,7 +459,7 @@
}, },
"Right": { "Right": {
"Literal": { "Literal": {
"Value": "'pack'" "Value": "'ins'"
} }
} }
} }

View File

@@ -88,7 +88,7 @@
[ [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -116,7 +116,7 @@
"0": [ "0": [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -140,7 +140,7 @@
}, },
"valueMap": [ "valueMap": [
{ {
"0": "R" "0": "202512"
} }
] ]
} }

View File

@@ -88,7 +88,7 @@
[ [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -116,7 +116,7 @@
"0": [ "0": [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -140,7 +140,7 @@
}, },
"valueMap": [ "valueMap": [
{ {
"0": "R" "0": "202512"
} }
] ]
} }

View File

@@ -171,6 +171,97 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Geo",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "PROVINCE_C"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'江苏'"
}
}
]
]
}
},
"Annotations": {
"filterExpressionMetadata": {
"expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
],
"decomposedIdentities": {
"values": [
[
{
"0": [
{
"Literal": {
"Value": "'江苏'"
}
}
]
}
]
],
"columns": [
{
"value": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
}
]
},
"valueMap": [
{
"0": "江苏"
}
]
}
}
}
]
}
} }
} }
} }

View File

@@ -7,7 +7,7 @@
"z": 6000, "z": 6000,
"height": 50.379226601905472, "height": 50.379226601905472,
"width": 126.73267326732662, "width": 126.73267326732662,
"tabOrder": 19034 "tabOrder": 6000
}, },
"visualGroup": { "visualGroup": {
"displayName": "右上角跳转", "displayName": "右上角跳转",

View File

@@ -7,7 +7,7 @@
"z": 3000, "z": 3000,
"height": 102.09748892171345, "height": 102.09748892171345,
"width": 138.96602658788774, "width": 138.96602658788774,
"tabOrder": 19035 "tabOrder": 7000
}, },
"visual": { "visual": {
"visualType": "image", "visualType": "image",

View File

@@ -7,7 +7,7 @@
"z": 1000, "z": 1000,
"height": 545, "height": 545,
"width": 1899.9999999999998, "width": 1899.9999999999998,
"tabOrder": 9000 "tabOrder": 5000
}, },
"visualGroup": { "visualGroup": {
"displayName": "1.1.1AZ ALL", "displayName": "1.1.1AZ ALL",

View File

@@ -1,5 +1,5 @@
{ {
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.6.0/schema.json", "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.7.0/schema.json",
"name": "4ec58ef621885c5943d5", "name": "4ec58ef621885c5943d5",
"position": { "position": {
"x": 5, "x": 5,
@@ -7,7 +7,7 @@
"z": 0, "z": 0,
"height": 730.92970521541952, "height": 730.92970521541952,
"width": 1900, "width": 1900,
"tabOrder": 5000 "tabOrder": 4000
}, },
"visualGroup": { "visualGroup": {
"displayName": "1.3", "displayName": "1.3",

View File

@@ -95,7 +95,7 @@
[ [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -123,7 +123,7 @@
"0": [ "0": [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -147,7 +147,7 @@
}, },
"valueMap": [ "valueMap": [
{ {
"0": "R" "0": "202512"
} }
] ]
} }

View File

@@ -7,7 +7,7 @@
"z": 2000, "z": 2000,
"height": 200, "height": 200,
"width": 1899.9999999999998, "width": 1899.9999999999998,
"tabOrder": 4000 "tabOrder": 3000
}, },
"visualGroup": { "visualGroup": {
"displayName": "Time", "displayName": "Time",

View File

@@ -7,7 +7,7 @@
"z": 500, "z": 500,
"height": 570, "height": 570,
"width": 1899.9999999999998, "width": 1899.9999999999998,
"tabOrder": 2000 "tabOrder": 1000
}, },
"visualGroup": { "visualGroup": {
"displayName": "1.2", "displayName": "1.2",

View File

@@ -7,7 +7,7 @@
"z": 5000, "z": 5000,
"height": 96.616352201257854, "height": 96.616352201257854,
"width": 376.24634161529355, "width": 376.24634161529355,
"tabOrder": 3000 "tabOrder": 2000
}, },
"visualGroup": { "visualGroup": {
"displayName": "右上角提示", "displayName": "右上角提示",

View File

@@ -171,6 +171,97 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Geo",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "PROVINCE_C"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'江苏'"
}
}
]
]
}
},
"Annotations": {
"filterExpressionMetadata": {
"expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
],
"decomposedIdentities": {
"values": [
[
{
"0": [
{
"Literal": {
"Value": "'江苏'"
}
}
]
}
]
],
"columns": [
{
"value": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
}
]
},
"valueMap": [
{
"0": "江苏"
}
]
}
}
}
]
}
} }
} }
} }

View File

@@ -88,7 +88,7 @@
[ [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -116,7 +116,7 @@
"0": [ "0": [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -140,7 +140,7 @@
}, },
"valueMap": [ "valueMap": [
{ {
"0": "R" "0": "202512"
} }
] ]
} }

View File

@@ -206,6 +206,97 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Geo",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "PROVINCE_C"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'江苏'"
}
}
]
]
}
},
"Annotations": {
"filterExpressionMetadata": {
"expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
],
"decomposedIdentities": {
"values": [
[
{
"0": [
{
"Literal": {
"Value": "'江苏'"
}
}
]
}
]
],
"columns": [
{
"value": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
}
]
},
"valueMap": [
{
"0": "江苏"
}
]
}
}
}
]
}
} }
} }
} }

View File

@@ -171,6 +171,97 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Geo",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "PROVINCE_C"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'江苏'"
}
}
]
]
}
},
"Annotations": {
"filterExpressionMetadata": {
"expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
],
"decomposedIdentities": {
"values": [
[
{
"0": [
{
"Literal": {
"Value": "'江苏'"
}
}
]
}
]
],
"columns": [
{
"value": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Geo"
}
},
"Property": "PROVINCE_C"
}
}
}
]
},
"valueMap": [
{
"0": "江苏"
}
]
}
}
}
]
}
} }
} }
} }

View File

@@ -10672,34 +10672,6 @@
} }
}, },
"type": "Categorical" "type": "Categorical"
},
{
"name": "adec1738641dc237d10d",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar_Alt"
}
},
"Property": "YYYYMM"
}
},
"type": "Categorical"
},
{
"name": "2b71c9546a55685e8720",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "Measure"
}
},
"Property": "retail 加权铺货率"
}
},
"type": "Advanced"
} }
], ],
"filterSortOrder": "Custom" "filterSortOrder": "Custom"

View File

@@ -9190,20 +9190,6 @@
}, },
"type": "Categorical", "type": "Categorical",
"howCreated": "User" "howCreated": "User"
},
{
"name": "adefeaf1351a2e300659",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "AIA_AdvanceAnalysis_Key_Competitor"
}
},
"Property": "KEY_COMPETITOR_CN"
}
},
"type": "Categorical"
} }
], ],
"filterSortOrder": "Custom" "filterSortOrder": "Custom"

View File

@@ -98,47 +98,6 @@
"Value": "true" "Value": "true"
} }
} }
},
"filter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Market",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "MARKET"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'NIAD (Non-Insulin Anti-Diabetic) Market'"
}
}
]
]
}
}
}
]
}
} }
} }
} }

View File

@@ -88,7 +88,7 @@
[ [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -116,7 +116,7 @@
"0": [ "0": [
{ {
"Literal": { "Literal": {
"Value": "'R'" "Value": "'202512'"
} }
} }
] ]
@@ -140,7 +140,7 @@
}, },
"valueMap": [ "valueMap": [
{ {
"0": "R" "0": "202512"
} }
] ]
} }

View File

@@ -34,5 +34,5 @@
"1045910bcda4e7ccea89", "1045910bcda4e7ccea89",
"57cfd40c66e1339a587b" "57cfd40c66e1339a587b"
], ],
"activePageName": "ReportSection7c203e32de7071898401" "activePageName": "72d86b23a3c9e4d9b1c6"
} }

View File

@@ -43,7 +43,7 @@
"expanded": { "expanded": {
"expr": { "expr": {
"Literal": { "Literal": {
"Value": "false" "Value": "true"
} }
} }
}, },

View File

@@ -74,21 +74,21 @@ expression Fact_Sales_SQL = ```
PRESCRIPTION_LY, PRESCRIPTION_LY,
---关联主键----------------------------- ---关联主键-----------------------------
TO_DATE(CONCAT(YYYYMM, '01'), 'yyyyMMdd') AS DATE_KEY, TO_DATE(CONCAT(YYYYMM, '01'), 'yyyyMMdd') AS DATE_KEY,
CONCAT(MARKET,DATA_SOURCE) AS MARKET_KEY, COALESCE(MARKET, '') || DATA_SOURCE AS MARKET_KEY,
CONCAT(PACK_COD,DATA_SOURCE,'') AS PACK_SOURCE, COALESCE(PACK_COD, '') || DATA_SOURCE AS PACK_SOURCE,
CONCAT(AUDIT_COD,DATA_SOURCE) AS AUDIT_SOURCE, COALESCE(AUDIT_COD, '') || DATA_SOURCE AS AUDIT_SOURCE,
CONCAT(AUDIT_COD,DATA_SOURCE,'' ) AS AUDIT_KEY, COALESCE(AUDIT_COD, '') || DATA_SOURCE AS AUDIT_KEY,
CONCAT(MARKET,CLASS,DATA_SOURCE) AS CLASS_KEY, COALESCE(MARKET, '') || COALESCE(CLASS, '') || DATA_SOURCE AS CLASS_KEY,
CONCAT(STORE_TYPE,DATA_SOURCE) AS STORE_TYPE_SOURCE, COALESCE(STORE_TYPE, '') || DATA_SOURCE AS STORE_TYPE_SOURCE,
CONCAT(STORE_TYPE,'-',PLATFORM_TYPE) AS STORE_PLATFORM, COALESCE(STORE_TYPE, '') || '-' || COALESCE(PLATFORM_TYPE, '') AS STORE_PLATFORM,
CONCAT(REIMBURSE_TYPE,DATA_SOURCE) AS REIMBURSETYPE_SOURCE, COALESCE(REIMBURSE_TYPE, '') || DATA_SOURCE AS REIMBURSETYPE_SOURCE,
CONCAT(REIMBURSE,DATA_SOURCE) AS REIMBURSE_SOURCE, COALESCE(REIMBURSE, '') || DATA_SOURCE AS REIMBURSE_SOURCE,
CONCAT(PRESCRIPTION_TYPE,DATA_SOURCE) AS PRESCRIPTION_SOURCE, COALESCE(PRESCRIPTION_TYPE, '') || DATA_SOURCE AS PRESCRIPTION_SOURCE,
CONCAT(PLATFORM_TYPE,DATA_SOURCE) AS PLATFORM_TYPE_SOURCE, COALESCE(PLATFORM_TYPE, '') || DATA_SOURCE AS PLATFORM_TYPE_SOURCE,
CONCAT(dept_name,DATA_SOURCE) AS DEPT_SOURCE, COALESCE(dept_name, '') || DATA_SOURCE AS DEPT_SOURCE,
CONCAT(INST_CODE,DATA_SOURCE) AS INST_SOURCE, COALESCE(AUDIT_COD, '') || DATA_SOURCE AS INST_SOURCE,
CONCAT(AIA_HP_FLAG,DATA_SOURCE) AS HP_SOURCE, COALESCE(AIA_HP_FLAG, '') || DATA_SOURCE AS HP_SOURCE,
------------------------------------- -------------------------------------
--Retail藏数逻辑标签------------------ --Retail藏数逻辑标签------------------
PACK_FLAG, PACK_FLAG,

View File

@@ -66,7 +66,7 @@ queryGroup Dim
annotation __PBI_TimeIntelligenceEnabled = 0 annotation __PBI_TimeIntelligenceEnabled = 0
annotation PBI_QueryOrder = ["Measure THC","Dim_PackInfo_Retail","Dim_MergeDataSource","Fact_Retail_Brand","Fact_Retail_RawData","Fact_EC_Total","Fact_Retail","Config_ReportURL","refresh_time","Dim_BrandMKT","Dim_Market_Total","Dim_MarketTA_Total","Dim_BrandDefaultMKT","Dim_Calendar","Dim_Corp","Dim_DataSource","Dim_Geo","Dim_PlatformMID","Dim_StoreTypeMID","Dim_GeoGroup","Dim_Market","Dim_MarketTA","Dim_Org","Dim_PackInfo","Dim_Platform","Dim_StoreType","Dim_ExchangRate","DM_AUTH_ORG","DM_AUTH_PRD","DM_AUTH_SALES_GEO","DM_AUTH_SALES_MKT","DM_AUTH_SALES_PACK","DM_AUTH_SALES_ORG","DM_AUTH_GEO","HttpPath","CatalogName","ServerAddress","limit_validity","UsingLimit","limit","TOP","Dim_PackInfo_Total","Dim_RegionType","Fact_Sales_SQL","Fact_Sales_SQL_limit","Fact_Sales_Total","Dim_Unit","dm_td_chpa_market_definition","Fact_Retail_Total","Fact_Sales_Total_AIA","Fact_EC","Dim_Class","Dim_HPFlag","Dim_HPFlag_AIASpecial","Dim_InsSalesType","Dim_InsSalesType_AIASpecial","Dim_IsTarget_AIASpecial","Dim_CoreDept","Dim_Dept","Dim_PrescriptionSource","Dim_Reimburse","Dim_ReimburseType","dm_auth_aia_sales_pack","dm_auth_aia_sales_geo","dm_auth_aia_sales_org","dm_auth_aia_sales_mkt","DM_AIA_TD_HOSPITAL_NOT_PROVIDED","Dim_Original_Col_AIA","Dim_HP_Potential_AIA","AIA.Measures","DM_AUTH_PRD_PACK","Fact_Retail_Special","AIA_AdvanceAnalysis_Brand","AIA_AdvanceAnalysis_Class","AIA_AdvanceAnalysis_Key_Competitor","AIA_AdvanceAnalysis_Mole","AIA_AdvanceAnalysis_Subchannel","AIA_AdvanceAnalysis_DRAGON","AIA_AdvanceAnalysis_Decile","AIA_AdvanceAnalysis_Decile_Group","Dim_IsEagle_AIASpecial","Dim_IsEagle_Bridge_AIASpecial","Dim_RC","Dim_Institution","DM_AUTH_SALES_TA","DM_AUTH_NONSALES_TA","DM_AUTH_MERGED_DATA","DM_AUTH_NONSALES_ORG","dm_td_user_permission_detail","Config_MarketRatio","Config_MergeData","Dim_RC_Merged_Data","Fact_Sales","Fact_AIA_DataQuality","DM_AUTH_EMAIL_NOTIFICATION","Config_EmailWarning","Dim_Remove_inst","Config_PageFlag_FreeReportNIAD","Config_VisualFlag","Fact_Sales_THC","Fact_Sales_NIAD","00_KPI","Dim_KeyCompetitor","Dim_Store","Dim_HP_Level"] annotation PBI_QueryOrder = ["Measure THC","Dim_PackInfo_Retail","Dim_MergeDataSource","Fact_Retail_Brand","Fact_Retail_RawData","Fact_EC_Total","Fact_Retail","Config_ReportURL","refresh_time","Dim_BrandMKT","Dim_Market_Total","Dim_MarketTA_Total","Dim_BrandDefaultMKT","Dim_Calendar","Dim_Corp","Dim_DataSource","Dim_Geo","Dim_PlatformMID","Dim_StoreTypeMID","Dim_GeoGroup","Dim_Market","Dim_MarketTA","Dim_Org","Dim_PackInfo","Dim_Platform","Dim_StoreType","Dim_ExchangRate","DM_AUTH_ORG","DM_AUTH_PRD","DM_AUTH_SALES_GEO","DM_AUTH_SALES_MKT","DM_AUTH_SALES_PACK","DM_AUTH_SALES_ORG","DM_AUTH_GEO","HttpPath","CatalogName","ServerAddress","limit_validity","UsingLimit","limit","TOP","Dim_PackInfo_Total","Dim_RegionType","Fact_Sales_SQL","Fact_Sales_SQL_limit","Fact_Sales_Total","Dim_Unit","dm_td_chpa_market_definition","Fact_Retail_Total","Fact_Sales_Total_AIA","Fact_EC","Dim_Class","Dim_HPFlag","Dim_HPFlag_AIASpecial","Dim_InsSalesType","Dim_InsSalesType_AIASpecial","Dim_IsTarget_AIASpecial","Dim_CoreDept","Dim_Dept","Dim_PrescriptionSource","Dim_Reimburse","Dim_ReimburseType","dm_auth_aia_sales_pack","dm_auth_aia_sales_geo","dm_auth_aia_sales_org","dm_auth_aia_sales_mkt","DM_AIA_TD_HOSPITAL_NOT_PROVIDED","Dim_Original_Col_AIA","Dim_HP_Potential_AIA","AIA.Measures","DM_AUTH_PRD_PACK","Fact_Retail_Special","AIA_AdvanceAnalysis_Brand","AIA_AdvanceAnalysis_Class","AIA_AdvanceAnalysis_Key_Competitor","AIA_AdvanceAnalysis_Mole","AIA_AdvanceAnalysis_Subchannel","AIA_AdvanceAnalysis_DRAGON","AIA_AdvanceAnalysis_Decile","AIA_AdvanceAnalysis_Decile_Group","Dim_IsEagle_AIASpecial","Dim_IsEagle_Bridge_AIASpecial","Dim_RC","Dim_Institution","DM_AUTH_SALES_TA","DM_AUTH_NONSALES_TA","DM_AUTH_MERGED_DATA","DM_AUTH_NONSALES_ORG","dm_td_user_permission_detail","Config_MarketRatio","Config_MergeData","Dim_RC_Merged_Data","Fact_AIA_DataQuality","DM_AUTH_EMAIL_NOTIFICATION","Config_EmailWarning","Dim_Remove_inst","Config_PageFlag_FreeReportNIAD","Config_VisualFlag","Fact_Sales_THC","Fact_Sales_NIAD","00_KPI","Dim_KeyCompetitor","Dim_Store","Dim_HP_Level"]
annotation __TEdtr = 1 annotation __TEdtr = 1

View File

@@ -598,86 +598,215 @@ table Fact_Sales
){ ){
[Name = CatalogName, Kind = "Database"] [Name = CatalogName, Kind = "Database"]
}[Data], }[Data],
" Fact_Sales_SQL &"WHERE DATA_SOURCE = 'IQVIA-CHPA(Monthly)'"& Fact_Sales_SQL_limit& UsingLimit,
select null,
DATA_SOURCE, [
MARKET, EnableFolding = true
KEY_COMPETITOR, ]
CLASS, )
YYYYMM, in
PACK_COD, Source
AUDIT_COD, ```
VA,
UT,
CU,
PT,
SALES_UNIT_CAL,
SALES_UNIT_CAL_LY,
SALES_VALUE_CAL,
SALES_VALUE_CAL_LY,
CONUTING_UNIT,
CONUTING_UNIT_LY,
PDOT,
PDOT_LY,
PRESCRIPTION,
PRESCRIPTION_LY,
---关联主键-----------------------------
TO_DATE(CONCAT(YYYYMM, '01'), 'yyyyMMdd') AS DATE_KEY,
COALESCE(MARKET, '') || DATA_SOURCE AS MARKET_KEY,
COALESCE(PACK_COD, '') || DATA_SOURCE AS PACK_SOURCE,
COALESCE(AUDIT_COD, '') || DATA_SOURCE AS AUDIT_SOURCE,
COALESCE(AUDIT_COD, '') || DATA_SOURCE AS AUDIT_KEY,
COALESCE(MARKET, '') || COALESCE(CLASS, '') || DATA_SOURCE AS CLASS_KEY,
COALESCE(STORE_TYPE, '') || DATA_SOURCE AS STORE_TYPE_SOURCE, partition Fact_Sales_AIA = m
COALESCE(STORE_TYPE, '') || '-' || COALESCE(PLATFORM_TYPE, '') AS STORE_PLATFORM, mode: import
COALESCE(REIMBURSE_TYPE, '') || DATA_SOURCE AS REIMBURSETYPE_SOURCE, queryGroup: Fact_Sales
COALESCE(REIMBURSE, '') || DATA_SOURCE AS REIMBURSE_SOURCE, source = ```
COALESCE(PRESCRIPTION_TYPE, '') || DATA_SOURCE AS PRESCRIPTION_SOURCE, let
COALESCE(PLATFORM_TYPE, '') || DATA_SOURCE AS PLATFORM_TYPE_SOURCE, Source =
COALESCE(dept_name, '') || DATA_SOURCE AS DEPT_SOURCE, Value.NativeQuery(
COALESCE(AUDIT_COD, '') || DATA_SOURCE AS INST_SOURCE, Databricks.Catalogs(
COALESCE(AIA_HP_FLAG, '') || DATA_SOURCE AS HP_SOURCE, ServerAddress, HttpPath, [
------------------------------------- Catalog = CatalogName,
--Retail藏数逻辑标签------------------ Database = null,
PACK_FLAG, EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
PROD_FLAG, ]
DTP_FLAG, ){
CMPS_FLAG, [Name = CatalogName, Kind = "Database"]
------------------------------------- }[Data],
--EC数据标签-------------------------- Fact_Sales_SQL &"WHERE DATA_SOURCE = 'AIA(Monthly)'"& Fact_Sales_SQL_limit& UsingLimit,
PLATFORM_TYPE, null,
STORE_NAME, [
STORE_TYPE, EnableFolding = true
------------------------------------- ]
--COUNTY数据标签---------------------- )
REGION_TYPE, in
--AIA数据标签------------------------- Source
INST_CODE, ```
AIA_HP_FLAG,
AIA_REMOVE, partition Fact_Sales_CHC = m
------------------------------------- mode: import
--XIE HE 数据标签--------------------- queryGroup: Fact_Sales
NEW_CODE, source = ```
DEPT_NAME, let
H_LEVEL, Source =
REIMBURSE, Value.NativeQuery(
REIMBURSE_TYPE, Databricks.Catalogs(
PRESCRIPTION_TYPE, ServerAddress, HttpPath, [
------------------------------------- Catalog = CatalogName,
--Merged Data部分-------------------- Database = null,
MERGEDATA_FLAG, EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
MERGEDATA_FLAG_MKT, ]
MERGEDATA_FLAG_CHPA_DTP, ){
MERGEDATA_FLAG_DTP_NOROC, [Name = CatalogName, Kind = "Database"]
MERGED_DATA_DTP_OTHERS, }[Data],
EGFR_FLAG, Fact_Sales_SQL &"WHERE DATA_SOURCE = 'CHC(Quarterly)'"& Fact_Sales_SQL_limit& UsingLimit,
------------------------------------- null,
NULL AS CORP_COD [
from EnableFolding = true
DM.DM_TF_EXT_UNIONALL_SALES_MAPPING ]
"& Fact_Sales_SQL_limit )
& UsingLimit, in
Source
```
partition Fact_Sales_COUNTY = m
mode: import
queryGroup: Fact_Sales
source = ```
let
Source =
Value.NativeQuery(
Databricks.Catalogs(
ServerAddress, HttpPath, [
Catalog = CatalogName,
Database = null,
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
]
){
[Name = CatalogName, Kind = "Database"]
}[Data],
Fact_Sales_SQL &"WHERE DATA_SOURCE = 'IQVIA-COUNTY(Quarterly)'"& Fact_Sales_SQL_limit& UsingLimit,
null,
[
EnableFolding = true
]
)
in
Source
```
partition Fact_Sales_THC = m
mode: import
queryGroup: Fact_Sales
source = ```
let
Source =
Value.NativeQuery(
Databricks.Catalogs(
ServerAddress, HttpPath, [
Catalog = CatalogName,
Database = null,
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
]
){
[Name = CatalogName, Kind = "Database"]
}[Data],
Fact_Sales_SQL &"WHERE DATA_SOURCE = 'THC(Quarterly)'"& Fact_Sales_SQL_limit& UsingLimit,
null,
[
EnableFolding = true
]
)
in
Source
```
partition Fact_Sales_EC = m
mode: import
queryGroup: Fact_Sales
source = ```
let
Source =
Value.NativeQuery(
Databricks.Catalogs(
ServerAddress, HttpPath, [
Catalog = CatalogName,
Database = null,
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
]
){
[Name = CatalogName, Kind = "Database"]
}[Data],
Fact_Sales_SQL &"WHERE DATA_SOURCE = 'EC(Monthly)'"& Fact_Sales_SQL_limit& UsingLimit,
null,
[
EnableFolding = true
]
)
in
Source
```
partition Fact_Sales_DTP = m
mode: import
queryGroup: Fact_Sales
source = ```
let
Source =
Value.NativeQuery(
Databricks.Catalogs(
ServerAddress, HttpPath, [
Catalog = CatalogName,
Database = null,
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
]
){
[Name = CatalogName, Kind = "Database"]
}[Data],
Fact_Sales_SQL &"WHERE DATA_SOURCE = 'DTP(Quarterly)'"& Fact_Sales_SQL_limit& UsingLimit,
null,
[
EnableFolding = true
]
)
in
Source
```
partition Fact_Sales_Retail = m
mode: import
queryGroup: Fact_Sales
source = ```
let
Source =
Value.NativeQuery(
Databricks.Catalogs(
ServerAddress, HttpPath, [
Catalog = CatalogName,
Database = null,
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
]
){
[Name = CatalogName, Kind = "Database"]
}[Data],
Fact_Sales_SQL &"WHERE DATA_SOURCE = 'Retail(Quarterly)'"& Fact_Sales_SQL_limit& UsingLimit,
null,
[
EnableFolding = true
]
)
in
Source
```
partition Fact_Sales_XIEHE = m
mode: import
queryGroup: Fact_Sales
source = ```
let
Source =
Value.NativeQuery(
Databricks.Catalogs(
ServerAddress, HttpPath, [
Catalog = CatalogName,
Database = null,
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
]
){
[Name = CatalogName, Kind = "Database"]
}[Data],
Fact_Sales_SQL &"WHERE DATA_SOURCE = 'XH Data(Quarterly)'"& Fact_Sales_SQL_limit& UsingLimit,
null, null,
[ [
EnableFolding = true EnableFolding = true