0401修改

This commit is contained in:
2026-04-01 23:24:22 +08:00
parent 9d79643487
commit 3432f437f6
63 changed files with 2402 additions and 9924 deletions

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": "2d12ecf88b5486506b67",
"position": {
"x": 1.6666666666666696,
@@ -226,79 +226,6 @@
"parentGroupName": "24727bbb4bdb798964b0",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -98,47 +98,6 @@
"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

@@ -98,47 +98,6 @@
"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

@@ -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": "bee83cc92d2c580c4e92",
"position": {
"x": 0.87143460607468626,
@@ -226,79 +226,6 @@
"parentGroupName": "ad3256722d067a1f0adf",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -98,47 +98,6 @@
"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

@@ -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": "5cb4df78f5d530cf05f3",
"position": {
"x": 0.50514763766625492,
@@ -226,79 +226,6 @@
"parentGroupName": "e6569b610fb8c843e1b6",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -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

@@ -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": "1dff76073c3126c6d85c",
"position": {
"x": 0,
@@ -234,7 +234,7 @@
"filterConfig": {
"filters": [
{
"name": "6f3d9cd8c20c1c591b4a",
"name": "dceb3cedae85e0273adc",
"ordinal": 0,
"field": {
"Column": {
@@ -243,76 +243,7 @@
"Entity": "Dim_Calendar"
}
},
"Property": "YEAR_EXTERNAL"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Calendar",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "YEAR_EXTERNAL"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'R'"
}
}
],
[
{
"Literal": {
"Value": "'2024'"
}
}
]
]
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {}
}
]
}
},
{
"name": "b44bc8750c3d5a527439",
"ordinal": 1,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar"
}
},
"Property": "YYYYMM_EXTERNAL"
"Property": "YYYYMM_EXTERNAL_AIA"
}
},
"type": "Categorical",
@@ -339,7 +270,7 @@
"Source": "d"
}
},
"Property": "YYYYMM_EXTERNAL"
"Property": "YYYYMM_EXTERNAL_AIA"
}
}
],
@@ -347,42 +278,7 @@
[
{
"Literal": {
"Value": "'202508'"
}
}
],
[
{
"Literal": {
"Value": "'202509'"
}
}
],
[
{
"Literal": {
"Value": "'202510'"
}
}
],
[
{
"Literal": {
"Value": "'202511'"
}
}
],
[
{
"Literal": {
"Value": "'202512'"
}
}
],
[
{
"Literal": {
"Value": "'202507'"
"Value": "null"
}
}
]

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": "c1793553034cb00acab6",
"position": {
"x": 0,
@@ -42,10 +42,10 @@
"Entity": "Dim_PackInfo"
}
},
"Property": "PROD_DES_C"
"Property": "PROD_DES_C_S"
}
},
"queryRef": "Dim_PackInfo.PROD_DES_C",
"queryRef": "Dim_PackInfo.PROD_DES_C_S",
"nativeQueryRef": "PROD",
"displayName": "PROD"
}

View File

@@ -279,38 +279,7 @@
"filterConfig": {
"filters": [
{
"name": "Filter962532dab34b2ab2a164",
"ordinal": 0,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_BrandDefaultMKT"
}
},
"Property": "BRAND_NAME"
}
},
"type": "Categorical"
},
{
"name": "Filter4bc039d60d2e20007a6a",
"ordinal": 1,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_BrandDefaultMKT"
}
},
"Property": "MARKET"
}
},
"type": "Categorical"
},
{
"name": "Filterc26252015507a5f83245",
"ordinal": 2,
"name": "Filter0b0ba353a32bdb988530",
"field": {
"Measure": {
"Expression": {
@@ -318,7 +287,7 @@
"Entity": "Measure"
}
},
"Property": "External.Sales.KPI"
"Property": "External.Sales.KPI.Filter"
}
},
"type": "Advanced",
@@ -345,7 +314,7 @@
"Source": "m"
}
},
"Property": "External.Sales.KPI"
"Property": "External.Sales.KPI.Filter"
}
},
"Right": {
@@ -361,6 +330,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
],
"filterSortOrder": "Custom"

View File

@@ -5745,83 +5745,9 @@
"type": "Categorical",
"howCreated": "User"
},
{
"name": "8cec37b518bc2db1e6a0",
"ordinal": 1,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "MARKET"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "MARKET"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'Retail All Market'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter5e33d1375d4046106910",
"ordinal": 2,
"ordinal": 1,
"field": {
"Column": {
"Expression": {
@@ -5836,7 +5762,7 @@
},
{
"name": "Filter352e8ae3add30980d9a7",
"ordinal": 3,
"ordinal": 2,
"field": {
"Measure": {
"Expression": {
@@ -5851,7 +5777,7 @@
},
{
"name": "Filter24d569cf023062315999",
"ordinal": 4,
"ordinal": 3,
"field": {
"Column": {
"Expression": {
@@ -5867,7 +5793,7 @@
},
{
"name": "Filterbb958e746432dbb20e76",
"ordinal": 5,
"ordinal": 4,
"field": {
"Column": {
"Expression": {
@@ -5883,7 +5809,7 @@
},
{
"name": "Filterbbdf344948810dcead93",
"ordinal": 6,
"ordinal": 5,
"field": {
"Measure": {
"Expression": {
@@ -5899,7 +5825,7 @@
},
{
"name": "Filtercb4486f283dd76850900",
"ordinal": 7,
"ordinal": 6,
"field": {
"Measure": {
"Expression": {
@@ -5915,7 +5841,7 @@
},
{
"name": "Filter34e127a2047c31c281bd",
"ordinal": 8,
"ordinal": 7,
"field": {
"Column": {
"Expression": {
@@ -5930,7 +5856,7 @@
},
{
"name": "Filtereacc115ddfad9cb0d5e8",
"ordinal": 9,
"ordinal": 8,
"field": {
"Measure": {
"Expression": {
@@ -5946,7 +5872,7 @@
},
{
"name": "Filterc5b7ecda135e859ad535",
"ordinal": 10,
"ordinal": 9,
"field": {
"Measure": {
"Expression": {
@@ -5962,7 +5888,7 @@
},
{
"name": "0ace83f1a0e8008dce63",
"ordinal": 11,
"ordinal": 10,
"field": {
"Column": {
"Expression": {
@@ -5978,7 +5904,7 @@
},
{
"name": "5eb96d5460100c235c96",
"ordinal": 12,
"ordinal": 11,
"field": {
"Column": {
"Expression": {
@@ -5994,7 +5920,7 @@
},
{
"name": "7c5708c9b0bb99a6c501",
"ordinal": 13,
"ordinal": 12,
"field": {
"Column": {
"Expression": {
@@ -6025,7 +5951,7 @@
},
{
"name": "af8044d6c622680627a9",
"ordinal": 14,
"ordinal": 13,
"field": {
"Column": {
"Expression": {

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": "8c2af98b757c240e70e4",
"position": {
"x": 0,
@@ -654,12 +654,26 @@
}
],
"Values": [
[
{
"Literal": {
"Value": "'Rank'"
}
}
],
[
{
"Literal": {
"Value": "'KeepSelected'"
}
}
],
[
{
"Literal": {
"Value": "'Price'"
}
}
]
]
}

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": "c1deb1485428d9c18ec5",
"position": {
"x": 1.6849953401677542,
@@ -226,79 +226,6 @@
"parentGroupName": "a6b0c3cf8b7451b7316a",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -98,47 +98,6 @@
"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

@@ -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": "4e80ba8f5a28030933a9",
"position": {
"x": 0,
@@ -296,21 +296,6 @@
"Property": "YYYYMM_EXTERNAL_AIA"
}
},
"type": "Categorical"
},
{
"name": "a8deb890c802a890e602",
"ordinal": 1,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar"
}
},
"Property": "HasData_AIA"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
@@ -324,89 +309,52 @@
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "YYYYMM_EXTERNAL_AIA"
}
},
"Property": "HasData_AIA"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "1L"
}
}
]
]
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User"
},
{
"name": "1488fe077c0b4a8bd6a4",
"ordinal": 2,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar"
}
},
"Property": "YEAR_FLAG"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
"objects": {
"general": [
{
"Name": "d",
"Entity": "Dim_Calendar",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "YEAR_FLAG"
}
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
],
"Values": [
[
{
"Literal": {
"Value": "1L"
}
}
]
]
}
}
}
}
]
},
"howCreated": "User"
}
}
],
"filterSortOrder": "Custom"

View File

@@ -279,38 +279,7 @@
"filterConfig": {
"filters": [
{
"name": "Filter962532dab34b2ab2a164",
"ordinal": 0,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_BrandDefaultMKT"
}
},
"Property": "BRAND_NAME"
}
},
"type": "Categorical"
},
{
"name": "Filter4bc039d60d2e20007a6a",
"ordinal": 1,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_BrandDefaultMKT"
}
},
"Property": "MARKET"
}
},
"type": "Categorical"
},
{
"name": "Filterc26252015507a5f83245",
"ordinal": 2,
"name": "Filter0b0ba353a32bdb988530",
"field": {
"Measure": {
"Expression": {
@@ -318,7 +287,7 @@
"Entity": "Measure"
}
},
"Property": "External.Sales.KPI"
"Property": "External.Sales.KPI.Filter"
}
},
"type": "Advanced",
@@ -345,7 +314,7 @@
"Source": "m"
}
},
"Property": "External.Sales.KPI"
"Property": "External.Sales.KPI.Filter"
}
},
"Right": {
@@ -361,6 +330,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
],
"filterSortOrder": "Custom"

View File

@@ -98,47 +98,6 @@
"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

@@ -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": "afafe14227095c6ce0bb",
"position": {
"x": 0.87143460607468626,
@@ -226,79 +226,6 @@
"parentGroupName": "988f7efa9070bd881428",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -277,160 +277,6 @@
}
]
}
},
{
"name": "1e30adc67051d7f3feb3",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_PackInfo"
}
},
"Property": "PROD_COD"
}
},
"type": "Categorical"
},
{
"name": "b54b95c7d980efa78a7d",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1"
}
},
"type": "Advanced"
},
{
"name": "d5e02eb124c363652853",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1 1"
}
},
"type": "Advanced"
},
{
"name": "d3499c61bb6f5895e885",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1 2"
}
},
"type": "Advanced"
},
{
"name": "6e36b5c4eb56ff085c1f",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1 2 1"
}
},
"type": "Advanced"
},
{
"name": "7522538d92ed8e25dd4f",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1 2 1 1"
}
},
"type": "Advanced"
},
{
"name": "016fb8785549ab736d2b",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "00.base.value"
}
},
"type": "Advanced"
},
{
"name": "8f08098d54b954e8c45d",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1 2 1 1 1"
}
},
"type": "Advanced"
},
{
"name": "2472632c05d2de2156bd",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1 2 1 1 1 1"
}
},
"type": "Advanced"
},
{
"name": "aa477d4e7fcd8b7579a0",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1 2 1 1 1 1 1"
}
},
"type": "Advanced"
},
{
"name": "81bd144e8685766dbfef",
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "00_KPI"
}
},
"Property": "chenwutest1 2 1 1 1 1 1 1"
}
},
"type": "Advanced"
}
]
}

View File

@@ -98,47 +98,6 @@
"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

@@ -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": "fd555d343b71f25376dd",
"position": {
"x": 0.35674880296443412,
@@ -226,79 +226,6 @@
"parentGroupName": "3b3370b6e0dc95695c77",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

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": "444d34e12e03161414a5",
"position": {
"x": 0.87143460607468626,
@@ -226,79 +226,6 @@
"parentGroupName": "6600ea75a73b80e32e42",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -98,47 +98,6 @@
"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

@@ -218,7 +218,7 @@
},
{
"Literal": {
"Value": "'''Dim_PackInfo''[PROD_DES_C]'"
"Value": "'''Dim_Market''[MARKET]'"
}
}
]
@@ -305,7 +305,7 @@
"1": [
{
"Literal": {
"Value": "'''Dim_PackInfo''[PROD_DES_C]'"
"Value": "'''Dim_Market''[MARKET]'"
}
}
]
@@ -350,7 +350,7 @@
},
{
"0": "Market & Product",
"1": "Brand CN"
"1": "Market"
}
]
}

View File

@@ -99,7 +99,7 @@
[
{
"Literal": {
"Value": "'CHPA'"
"Value": "'EC'"
}
}
]

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": "a6e7a2b7056f5490fb28",
"position": {
"x": 1.6849953401677542,
@@ -226,79 +226,6 @@
"parentGroupName": "593bbe336dc0bbdfd366",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -190,78 +190,6 @@
"Value": "'''Measure''[External.Sales.KPI]'"
}
}
],
[
{
"Literal": {
"Value": "'Sales'"
}
},
{
"Literal": {
"Value": "'''Measure''[External.Sales.KPI.Market]'"
}
}
],
[
{
"Literal": {
"Value": "'Sales'"
}
},
{
"Literal": {
"Value": "'''Measure''[External.Sales.KPI.Mol]'"
}
}
],
[
{
"Literal": {
"Value": "'Share'"
}
},
{
"Literal": {
"Value": "'''Measure''[External.MS%.KPI]'"
}
}
],
[
{
"Literal": {
"Value": "'Share'"
}
},
{
"Literal": {
"Value": "'''Measure''[External.△MS%.KPI]'"
}
}
],
[
{
"Literal": {
"Value": "'Growth'"
}
},
{
"Literal": {
"Value": "'''Measure''[External.Gr%.KPI]'"
}
}
],
[
{
"Literal": {
"Value": "'Growth'"
}
},
{
"Literal": {
"Value": "'''Measure''[External.EI.KPI]'"
}
}
]
]
}
@@ -311,126 +239,6 @@
}
]
}
],
[
{
"0": [
{
"Literal": {
"Value": "'Sales'"
}
}
]
},
{
"1": [
{
"Literal": {
"Value": "'''Measure''[External.Sales.KPI.Market]'"
}
}
]
}
],
[
{
"0": [
{
"Literal": {
"Value": "'Sales'"
}
}
]
},
{
"1": [
{
"Literal": {
"Value": "'''Measure''[External.Sales.KPI.Mol]'"
}
}
]
}
],
[
{
"0": [
{
"Literal": {
"Value": "'Share'"
}
}
]
},
{
"1": [
{
"Literal": {
"Value": "'''Measure''[External.MS%.KPI]'"
}
}
]
}
],
[
{
"0": [
{
"Literal": {
"Value": "'Share'"
}
}
]
},
{
"1": [
{
"Literal": {
"Value": "'''Measure''[External.△MS%.KPI]'"
}
}
]
}
],
[
{
"0": [
{
"Literal": {
"Value": "'Growth'"
}
}
]
},
{
"1": [
{
"Literal": {
"Value": "'''Measure''[External.Gr%.KPI]'"
}
}
]
}
],
[
{
"0": [
{
"Literal": {
"Value": "'Growth'"
}
}
]
},
{
"1": [
{
"Literal": {
"Value": "'''Measure''[External.EI.KPI]'"
}
}
]
}
]
],
"columns": [
@@ -464,30 +272,6 @@
{
"0": "Sales",
"1": "Sales"
},
{
"0": "Sales",
"1": "Market Size"
},
{
"0": "Sales",
"1": "Mole. Sales"
},
{
"0": "Share",
"1": "MS%"
},
{
"0": "Share",
"1": "ΔMS%"
},
{
"0": "Growth",
"1": "GR%"
},
{
"0": "Growth",
"1": "EI"
}
]
}

View File

@@ -98,85 +98,6 @@
"Value": "true"
}
}
},
"selfFilter": {
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Market",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Contains": {
"Left": {
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "MARKET"
}
},
"Right": {
"Literal": {
"Value": "'niad'"
}
}
}
},
"Annotations": {
"PowerBI.MParameterBehavior": 1
}
}
]
}
},
"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

@@ -50,15 +50,15 @@
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_PackInfo"
"Entity": "Dim_Market"
}
},
"Property": "PROD_DES_C"
"Property": "MARKET"
}
},
"queryRef": "Dim_PackInfo.PROD_DES_C",
"nativeQueryRef": "Brand CN",
"displayName": "Brand CN"
"queryRef": "Dim_Market.MARKET",
"nativeQueryRef": "Market",
"displayName": "Market"
},
{
"field": {
@@ -74,96 +74,6 @@
"queryRef": "Measure.External.Sales.KPI",
"nativeQueryRef": "Sales",
"displayName": "Sales"
},
{
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "Measure"
}
},
"Property": "External.Sales.KPI.Market"
}
},
"queryRef": "Measure.External.Sales.KPI.Market",
"nativeQueryRef": "Market Size",
"displayName": "Market Size"
},
{
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "Measure"
}
},
"Property": "External.Sales.KPI.Mol"
}
},
"queryRef": "Measure.External.Sales.KPI.Mol",
"nativeQueryRef": "Mole. Sales",
"displayName": "Mole. Sales"
},
{
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "Measure"
}
},
"Property": "External.MS%.KPI"
}
},
"queryRef": "Measure.External.MS%.KPI",
"nativeQueryRef": "MS%",
"displayName": "MS%"
},
{
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "Measure"
}
},
"Property": "External.△MS%.KPI"
}
},
"queryRef": "Measure.External.△MS%.KPI",
"nativeQueryRef": "ΔMS%",
"displayName": "ΔMS%"
},
{
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "Measure"
}
},
"Property": "External.Gr%.KPI"
}
},
"queryRef": "Measure.External.Gr%.KPI",
"nativeQueryRef": "GR%",
"displayName": "GR%"
},
{
"field": {
"Measure": {
"Expression": {
"SourceRef": {
"Entity": "Measure"
}
},
"Property": "External.EI.KPI"
}
},
"queryRef": "Measure.External.EI.KPI",
"nativeQueryRef": "EI",
"displayName": "EI"
}
],
"fieldParameters": [
@@ -179,8 +89,7 @@
}
},
"index": 1,
"length": 7,
"sortDirection": "Descending"
"length": 1
},
{
"parameterExpr": {
@@ -4858,6 +4767,20 @@
"selector": {
"metadata": "Measure.ForAI.Top1.ΔShareInClass.Value"
}
},
{
"properties": {
"value": {
"expr": {
"Literal": {
"Value": "136D"
}
}
}
},
"selector": {
"metadata": "Dim_KeyCompetitor.KEY_COMPETITOR"
}
}
],
"columnHeaders": [
@@ -5989,7 +5912,8 @@
"Property": "PROD_DES_C"
}
},
"type": "Advanced"
"type": "Advanced",
"howCreated": "User"
},
{
"name": "Filterbbdf344948810dcead93",
@@ -6004,7 +5928,8 @@
"Property": "External.Gr%.KPI"
}
},
"type": "Advanced"
"type": "Advanced",
"howCreated": "User"
},
{
"name": "Filtercb4486f283dd76850900",

View File

@@ -53,12 +53,12 @@
"Entity": "Dim_PackInfo"
}
},
"Property": "PROD_DES_C"
"Property": "PACK_COD"
}
},
"queryRef": "Dim_PackInfo.PROD_DES_C",
"nativeQueryRef": "Brand CN",
"displayName": "Brand CN"
"queryRef": "Dim_PackInfo.PACK_COD",
"nativeQueryRef": "Package Code",
"displayName": "Package Code"
},
{
"field": {
@@ -6116,7 +6116,8 @@
"Property": "PROD_DES_C"
}
},
"type": "Advanced"
"type": "Advanced",
"howCreated": "User"
},
{
"name": "Filterbbdf344948810dcead93",
@@ -6210,8 +6211,7 @@
"Property": "PACK_COD"
}
},
"type": "Categorical",
"howCreated": "User"
"type": "Categorical"
},
{
"name": "7dc9ecffc3dc14c1b1b9",

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": "4a2f472e93055801dbed",
"position": {
"x": 0.50514763766625492,
@@ -226,79 +226,6 @@
"parentGroupName": "dde9646e4b0b8bbb00c0",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

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": "95263e60b50b67007b0a",
"position": {
"x": 0,
@@ -191,7 +191,7 @@
},
{
"Literal": {
"Value": "'''Dim_PackInfo''[PROD_DES_C]'"
"Value": "'''Dim_PackInfo''[PACK_COD]'"
}
}
]
@@ -278,7 +278,7 @@
"1": [
{
"Literal": {
"Value": "'''Dim_PackInfo''[PROD_DES_C]'"
"Value": "'''Dim_PackInfo''[PACK_COD]'"
}
}
]
@@ -323,7 +323,7 @@
},
{
"0": "Market & Product",
"1": "Brand CN"
"1": "Package Code"
}
]
}

View File

@@ -98,47 +98,6 @@
"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

@@ -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": "429213bbdee4bbee6a71",
"position": {
"x": 0.35674880296443412,
@@ -226,79 +226,6 @@
"parentGroupName": "009e355cd8602004935c",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -98,47 +98,6 @@
"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

@@ -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": "3f82f46a40003bd99981",
"position": {
"x": 0,
@@ -234,7 +234,7 @@
"filterConfig": {
"filters": [
{
"name": "903f2e1e82ead530a45c",
"name": "dceb3cedae85e0273adc",
"ordinal": 0,
"field": {
"Column": {
@@ -247,39 +247,6 @@
}
},
"type": "Categorical",
"howCreated": "User"
},
{
"name": "d871ca00d0cd03d8c550",
"ordinal": 1,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar"
}
},
"Property": "HasData_AIA"
}
},
"type": "Categorical",
"howCreated": "User",
"isLockedInViewMode": true
},
{
"name": "6f3d9cd8c20c1c591b4a",
"ordinal": 2,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar"
}
},
"Property": "YEAR_EXTERNAL"
}
},
"type": "Advanced",
"filter": {
"Version": 2,
"From": [
@@ -294,23 +261,28 @@
"Condition": {
"Not": {
"Expression": {
"Comparison": {
"ComparisonKind": 0,
"Left": {
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "YYYYMM_EXTERNAL_AIA"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
},
"Property": "YEAR_EXTERNAL"
}
},
"Right": {
"Literal": {
"Value": "'2022'"
}
}
}
]
]
}
}
}
@@ -318,62 +290,21 @@
}
]
},
"howCreated": "User"
},
{
"name": "20989c17bb0665016d46",
"ordinal": 3,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar"
}
},
"Property": "YEAR_FLAG"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
"objects": {
"general": [
{
"Name": "d",
"Entity": "Dim_Calendar",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "YEAR_FLAG"
}
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
],
"Values": [
[
{
"Literal": {
"Value": "1L"
}
}
]
]
}
}
}
}
]
},
"howCreated": "User"
}
}
],
"filterSortOrder": "Custom"

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": "6e35df83a3041dd6713c",
"position": {
"x": 0,
@@ -279,38 +279,7 @@
"filterConfig": {
"filters": [
{
"name": "Filter962532dab34b2ab2a164",
"ordinal": 0,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_BrandDefaultMKT"
}
},
"Property": "BRAND_NAME"
}
},
"type": "Categorical"
},
{
"name": "Filter4bc039d60d2e20007a6a",
"ordinal": 1,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_BrandDefaultMKT"
}
},
"Property": "MARKET"
}
},
"type": "Categorical"
},
{
"name": "Filterc26252015507a5f83245",
"ordinal": 2,
"name": "Filter0b0ba353a32bdb988530",
"field": {
"Measure": {
"Expression": {
@@ -318,7 +287,7 @@
"Entity": "Measure"
}
},
"Property": "External.Sales.KPI"
"Property": "External.Sales.KPI.Filter"
}
},
"type": "Advanced",
@@ -345,7 +314,7 @@
"Source": "m"
}
},
"Property": "External.Sales.KPI"
"Property": "External.Sales.KPI.Filter"
}
},
"Right": {
@@ -361,6 +330,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
],
"filterSortOrder": "Custom"

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": "469d0518099c90b06597",
"position": {
"x": 6.5888812628689086,
@@ -296,21 +296,6 @@
"Property": "YYYYMM_EXTERNAL_AIA"
}
},
"type": "Categorical"
},
{
"name": "a8deb890c802a890e602",
"ordinal": 1,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar"
}
},
"Property": "HasData_AIA"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
@@ -324,89 +309,52 @@
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "YYYYMM_EXTERNAL_AIA"
}
},
"Property": "HasData_AIA"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "1L"
}
}
]
]
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User"
},
{
"name": "1488fe077c0b4a8bd6a4",
"ordinal": 2,
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Calendar"
}
},
"Property": "YEAR_FLAG"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
"objects": {
"general": [
{
"Name": "d",
"Entity": "Dim_Calendar",
"Type": 0
}
],
"Where": [
{
"Condition": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "YEAR_FLAG"
}
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
],
"Values": [
[
{
"Literal": {
"Value": "1L"
}
}
]
]
}
}
}
}
]
},
"howCreated": "User"
}
}
],
"filterSortOrder": "Custom"

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": "15e078bb43ab462ded44",
"position": {
"x": 0.35674880296443412,
@@ -226,79 +226,6 @@
"parentGroupName": "f46fee5ec340940b1ba4",
"filterConfig": {
"filters": [
{
"name": "Filter60b4eadebc9ab90ba007",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_MKTPackMapping"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "t",
"Entity": "Dim_MKTPackMapping",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "t"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "'-'"
}
}
]
]
}
}
}
}
}
]
},
"howCreated": "User",
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
},
{
"name": "Filter0b0ba353a32bdb988530",
"field": {
@@ -351,6 +278,78 @@
]
},
"howCreated": "User"
},
{
"name": "fc43b1037a9a5ee03de2",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Dim_Class"
}
},
"Property": "CLASS"
}
},
"type": "Categorical",
"filter": {
"Version": 2,
"From": [
{
"Name": "d",
"Entity": "Dim_Class",
"Type": 0
}
],
"Where": [
{
"Condition": {
"Not": {
"Expression": {
"In": {
"Expressions": [
{
"Column": {
"Expression": {
"SourceRef": {
"Source": "d"
}
},
"Property": "CLASS"
}
}
],
"Values": [
[
{
"Literal": {
"Value": "null"
}
}
]
]
}
}
}
}
}
]
},
"objects": {
"general": [
{
"properties": {
"isInvertedSelectionMode": {
"expr": {
"Literal": {
"Value": "true"
}
}
}
}
}
]
}
}
]
}

View File

@@ -98,47 +98,6 @@
"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

@@ -35,5 +35,5 @@
"57cfd40c66e1339a587b",
"9269d52ebd3a7f68b724"
],
"activePageName": "ReportSectioned71c491b41e12906de3"
"activePageName": "57cfd40c66e1339a587b"
}

View File

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

View File

@@ -1,7 +1,7 @@
{
"version": "1.0.0",
"tabOrder": [
"20251204"
"Script 1"
],
"defaultTab": "20251204"
"defaultTab": "Script 1"
}

View File

@@ -1,57 +0,0 @@
createOrReplace
table MQY
lineageTag: d1b1f83d-7eb1-4ff3-bfdb-4ef33a10fca8
calculationGroup
calculationItem MTH = SELECTEDMEASURE()
calculationItem QTD = CALCULATE(SELECTEDMEASURE(), DATESQTD(Dim_Calendar[Date]))
calculationItem YTD = CALCULATE(SELECTEDMEASURE(), DATESYTD(Dim_Calendar[Date]))
calculationItem QTDAvg = CALCULATE( AVERAGEX(VALUES(Dim_Calendar[YYYYMM]), SELECTEDMEASURE()+0 ),DATESQTD(Dim_Calendar[Date]) )
calculationItem HYTDAvg =
VAR Y = MAX(Dim_Calendar[Year])
VAR M = MAX(Dim_Calendar[MONTH])
VAR DT0 = IF(M<=6, DATE(Y,1,1), DATE(Y,7,1))
VAR DT1 = MAX(Dim_Calendar[Date])
RETURN CALCULATE(
AVERAGEX(VALUES(Dim_Calendar[YYYYMM]), SELECTEDMEASURE()+0),
DATESBETWEEN(Dim_Calendar[Date], DT0, DT1)
)
calculationItem RHYAvg =
VAR Y = MAX(Dim_Calendar[Year])
VAR M = MAX(Dim_Calendar[MONTH])
VAR DT = IF(M<=6, DATE(Y,1,1), DATE(Y,7,1))
VAR DT0 = DATE(YEAR(DT), MONTH(DT)-6,1)
VAR DT1 = DATE(YEAR(DT0), MONTH(DT0)+5,1)
RETURN CALCULATE(
AVERAGEX(VALUES(Dim_Calendar[YYYYMM]), SELECTEDMEASURE()+0),
DATESBETWEEN(Dim_Calendar[Date], DT0, DT1)
)
//return DT1
column Period
dataType: string
lineageTag: cd2f1dfe-55bd-4315-8569-5f3d985e5936
summarizeBy: none
sourceColumn: Name
sortByColumn: 序号
annotation SummarizationSetBy = Automatic
column 序号
dataType: int64
formatString: 0
lineageTag: e563ba22-724a-4b45-b545-567fcba9d094
summarizeBy: sum
sourceColumn: Ordinal
annotation SummarizationSetBy = Automatic

View File

@@ -140,7 +140,7 @@ expression Fact_Sales_SQL = ```
expression Fact_Sales_SQL_limit =
let
Source = "limit 0"
Source = "--limit 10"
in
Source
lineageTag: 0f84d4f0-a309-44e1-a495-ffd9a5fdc993

View File

@@ -66,7 +66,7 @@ queryGroup Dim
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_MKTPackMapping","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_MKTPackMapping_Total","Dim_PackInfo_Total","Dim_RegionType","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","Fact_Sales_NIAD","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_SQL","Fact_Sales_SQL_limit","Fact_Sales","Fact_AIA_DataQuality","DM_AUTH_EMAIL_NOTIFICATION","Config_EmailWarning","Dim_Remove_inst","Config_PageFlag_FreeReportNIAD","Config_VisualFlag","Fact_Sales_THC","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_MKTPackMapping_Total","Dim_PackInfo_Total","Dim_RegionType","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","Fact_Sales_NIAD","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_SQL","Fact_Sales_SQL_limit","Fact_Sales","Fact_AIA_DataQuality","DM_AUTH_EMAIL_NOTIFICATION","Config_EmailWarning","Dim_Remove_inst","Config_PageFlag_FreeReportNIAD","Config_VisualFlag","Fact_Sales_THC","00_KPI","Dim_KeyCompetitor","Dim_Store","Dim_HP_Level"]
annotation __TEdtr = 1
@@ -95,7 +95,6 @@ ref table Fields_TopPlayer
ref table 'Fields.Rows'
ref table 'Measures Val'
ref table Dim_MKTPackMapping_Total
ref table Dim_MKTPackMapping
ref table Fact_Sales
ref table Fields_Leader
ref table 'MarketGeo Val'

View File

@@ -117,32 +117,11 @@ relationship 2e91292f-ad43-9957-8b21-359df82e3e77
fromColumn: Fact_Sales_Total.REGION_TYPE
toColumn: Dim_RegionType.REGION_TYPE
relationship b921a09b-1c48-bcfc-28dd-b2f384f714dd
fromColumn: Fact_Sales.HP_SOURCE
toColumn: Dim_HPFlag.HP_SOURCE
relationship 39d7248b-e1f6-e8f4-9fb0-c0ef428c4c55
toCardinality: many
fromColumn: Fact_Sales.INST_SOURCE
toColumn: Dim_InsSalesType.INS_SOURCE
relationship b2d23a46-9d2a-6a0b-29de-3db6cc2ecce2
fromColumn: Fact_Sales.PLATFORM_TYPE_SOURCE
toColumn: Dim_PlatformMID.PLATFORM_TYPE_SOURCE
relationship 02ad8a9b-c132-0ab0-0a09-3037cef436a4
fromColumn: Fact_Sales.STORE_TYPE_SOURCE
toColumn: Dim_StoreTypeMID.STORE_TYPE_SOURCE
relationship 180235a4-7288-6615-7b0e-62ab25528bd7
toCardinality: many
fromColumn: Dim_Geo.AUDIT_KEY
toColumn: Dim_GeoGroup.AUDIT_KEY
relationship 025e31e4-4ff6-32d0-000d-0d690345aca4
fromColumn: Fact_Sales.DEPT_SOURCE
toColumn: Dim_Dept.DEPT_SOURCE
relationship 0c9a0b32-00eb-8ee9-69f0-73ab3491188d
fromColumn: Fact_EC.DATA_SOURCE
toColumn: Dim_DataSource.DATA_SOURCE
@@ -155,18 +134,6 @@ relationship 4bc612b3-ed74-b4ac-fd4a-77d3d0408fa4
fromColumn: Fact_Retail.AUDIT_KEY
toColumn: Dim_Geo.AUDIT_KEY
relationship 94d03aab-6386-35c6-0d96-22409cdde7e4
fromColumn: Fact_Sales.PRESCRIPTION_SOURCE
toColumn: Dim_PrescriptionSource.PRESCRIPTION_SOURCE
relationship 85d14b78-4e8c-16ba-ca85-909ee0ee3667
fromColumn: Fact_Sales.REIMBURSE_SOURCE
toColumn: Dim_Reimburse.REIMBURSE_SOURCE
relationship 9b2e831d-778e-29c0-7ebe-478ce836de67
fromColumn: Fact_Sales.REIMBURSETYPE_SOURCE
toColumn: Dim_ReimburseType.REIMBURSETYPE_SOURCE
relationship 22cd42ef-4616-0ab8-2cc5-6667a1fd6449
toCardinality: many
fromColumn: Dim_PackInfo.PACK_SOURCE
@@ -285,10 +252,6 @@ relationship 41fd0ee7-2e3d-af44-4605-f6de5a1309f2
fromColumn: Dim_RC.INS_MKT_SOURCE
toColumn: Dim_IsEagle_Bridge_AIASpecial.IS_EAGLE_FLAG_CODE
relationship 6b611437-19d2-fc60-0041-57cf1e0dbfe0
fromColumn: Fact_Sales.INST_SOURCE
toColumn: Dim_Institution.INST_SOURCE
relationship 7ea59699-18e2-61ed-4eb7-06f73472444d
crossFilteringBehavior: bothDirections
fromColumn: Dim_RC.AUDIT_SOURCE
@@ -302,10 +265,6 @@ relationship 39601d48-d1fe-a6df-11f1-0ab3185dc900
fromColumn: Fact_Sales_Total_AIA.DATE_KEY
toColumn: Dim_Calendar.DATE
relationship 466ab709-dc3b-bc7a-6f77-9483c14ac41e
fromColumn: Fact_Sales.DATA_SOURCE
toColumn: Dim_DataSource.DATA_SOURCE
relationship d2642643-8dee-0dcd-1213-e252b24ce99a
fromColumn: Fact_Retail.DATA_SOURCE
toColumn: Dim_DataSource.DATA_SOURCE
@@ -342,10 +301,6 @@ relationship 2724b646-60c1-d1d3-0343-6ffbe6c685cb
fromColumn: Fact_Retail_RawData.DATA_SOURCE
toColumn: Dim_DataSource_ForRLS.DATA_SOURCE
relationship ef237336-c5b5-5445-4e6a-4e9a3d4c1c64
fromColumn: Fact_Sales.DATA_SOURCE
toColumn: Dim_DataSource_ForRLS.DATA_SOURCE
relationship 1375fbc8-d685-530f-2d1e-434050110dee
fromColumn: Fact_Retail_Special.audit_key
toColumn: Dim_Geo.AUDIT_KEY
@@ -369,21 +324,6 @@ relationship 73477bd1-8615-2d4f-4a3d-99b57f53e812
fromColumn: Dim_BrandMKT.IS_HIDDEN_COUNTY
toColumn: Dim_RegionType.IS_HIDDEN_COUNTY
relationship 872d65d4-35d8-b990-c89a-0e5664af563d
isActive: false
fromColumn: Fact_Sales.MERGEDATA_FLAG
toColumn: Dim_MergeDataSource.DATA_SOURCE
relationship 471a07e5-fa4c-7716-c2d6-32ffa233c243
isActive: false
fromColumn: Fact_Sales.MERGEDATA_FLAG_MKT
toColumn: Dim_MergeDataSource.DATA_SOURCE
relationship b0a71e80-0399-5d9b-ae9b-334216033e0e
isActive: false
fromColumn: Fact_Sales.MERGEDATA_FLAG_CHAP_DTP_NOAIA
toColumn: Dim_MergeDataSource.DATA_SOURCE
relationship 8f295e0b-4761-0abb-e005-51d8d5d2448f
toCardinality: many
fromColumn: Fact_Retail_Special.rc_key
@@ -432,40 +372,104 @@ relationship 3776a832-506c-22f1-7eb5-264c76b6f2ba
fromColumn: Fact_Sales_NIAD.DATE_KEY
toColumn: Dim_Calendar.DATE
relationship b1912857-9b92-e923-e3d0-c866f9f8f24b
fromColumn: Fact_Sales.KEY_COMPETITOR
toColumn: Dim_KeyCompetitor.KEY_COMPETITOR
relationship 6a0314d7-11c1-43f0-e010-6197d9d952ae
fromColumn: Dim_KeyCompetitor.KEY_COMPETITOR_CN
toColumn: AIA_AdvanceAnalysis_Key_Competitor.KEY_COMPETITOR_CN
relationship 61f8ec4a-c47f-679c-9d86-1f6fccc66d16
fromColumn: Fact_Sales.DATE_KEY
toColumn: Dim_Calendar.DATE
relationship 6935ea45-0922-344b-9065-a708673725c1
fromColumn: Fact_Sales_THC.MARKET_KEY
toColumn: Dim_Market.MKT_SOURCE
relationship 02ad8a9b-c132-0ab0-0a09-3037cef436a4
fromColumn: Fact_Sales.STORE_TYPE_SOURCE
toColumn: Dim_StoreTypeMID.STORE_TYPE_SOURCE
relationship 9b2e831d-778e-29c0-7ebe-478ce836de67
fromColumn: Fact_Sales.REIMBURSETYPE_SOURCE
toColumn: Dim_ReimburseType.REIMBURSETYPE_SOURCE
relationship 85d14b78-4e8c-16ba-ca85-909ee0ee3667
fromColumn: Fact_Sales.REIMBURSE_SOURCE
toColumn: Dim_Reimburse.REIMBURSE_SOURCE
relationship 94d03aab-6386-35c6-0d96-22409cdde7e4
fromColumn: Fact_Sales.PRESCRIPTION_SOURCE
toColumn: Dim_PrescriptionSource.PRESCRIPTION_SOURCE
relationship b2d23a46-9d2a-6a0b-29de-3db6cc2ecce2
fromColumn: Fact_Sales.PLATFORM_TYPE_SOURCE
toColumn: Dim_PlatformMID.PLATFORM_TYPE_SOURCE
relationship 0659978d-9c7b-7574-57be-c7dcddae41b5
fromColumn: Fact_Sales.PACK_SOURCE
toColumn: Dim_PackInfo.PACK_SOURCE
relationship acf87217-1a59-35dc-7e91-7ca108b0012b
fromColumn: Fact_Sales.AUDIT_KEY
toColumn: Dim_Geo.AUDIT_KEY
relationship 471a07e5-fa4c-7716-c2d6-32ffa233c243
isActive: false
fromColumn: Fact_Sales.MERGEDATA_FLAG_MKT
toColumn: Dim_MergeDataSource.DATA_SOURCE
relationship dbb7344d-535c-f4b6-feeb-b53e5f20ee02
fromColumn: Fact_Sales.AUDIT_SOURCE
toColumn: Dim_GeoKey.AUDIT_SOURCE
relationship b0a71e80-0399-5d9b-ae9b-334216033e0e
isActive: false
fromColumn: Fact_Sales.MERGEDATA_FLAG_CHAP_DTP_NOAIA
toColumn: Dim_MergeDataSource.DATA_SOURCE
relationship 099e92f1-e155-0ce2-5d35-9036bfcb88e1
fromColumn: Fact_Sales.MARKET_KEY
toColumn: Dim_Market.MKT_SOURCE
relationship d3944838-fc11-1195-8d9c-c5a878df6e50
fromColumn: Fact_Sales.CLASS_KEY
toColumn: Dim_Class.CLASS_SOURCE
relationship 6a0314d7-11c1-43f0-e010-6197d9d952ae
fromColumn: Dim_KeyCompetitor.KEY_COMPETITOR_CN
toColumn: AIA_AdvanceAnalysis_Key_Competitor.KEY_COMPETITOR_CN
relationship 872d65d4-35d8-b990-c89a-0e5664af563d
isActive: false
fromColumn: Fact_Sales.MERGEDATA_FLAG
toColumn: Dim_MergeDataSource.DATA_SOURCE
relationship 6d09d05c-90dc-4b5b-c55f-a477aa98aacf
toCardinality: many
fromColumn: Fact_Sales.MARKET_KEY
toColumn: Dim_CoreDept.MKT_SOURCE
relationship 099e92f1-e155-0ce2-5d35-9036bfcb88e1
fromColumn: Fact_Sales.MARKET_KEY
toColumn: Dim_Market.MKT_SOURCE
relationship b1912857-9b92-e923-e3d0-c866f9f8f24b
fromColumn: Fact_Sales.KEY_COMPETITOR
toColumn: Dim_KeyCompetitor.KEY_COMPETITOR
relationship 39d7248b-e1f6-e8f4-9fb0-c0ef428c4c55
toCardinality: many
fromColumn: Fact_Sales.INST_SOURCE
toColumn: Dim_InsSalesType.INS_SOURCE
relationship 6b611437-19d2-fc60-0041-57cf1e0dbfe0
fromColumn: Fact_Sales.INST_SOURCE
toColumn: Dim_Institution.INST_SOURCE
relationship b921a09b-1c48-bcfc-28dd-b2f384f714dd
fromColumn: Fact_Sales.HP_SOURCE
toColumn: Dim_HPFlag.HP_SOURCE
relationship 025e31e4-4ff6-32d0-000d-0d690345aca4
fromColumn: Fact_Sales.DEPT_SOURCE
toColumn: Dim_Dept.DEPT_SOURCE
relationship 61f8ec4a-c47f-679c-9d86-1f6fccc66d16
fromColumn: Fact_Sales.DATE_KEY
toColumn: Dim_Calendar.DATE
relationship ef237336-c5b5-5445-4e6a-4e9a3d4c1c64
fromColumn: Fact_Sales.DATA_SOURCE
toColumn: Dim_DataSource_ForRLS.DATA_SOURCE
relationship 466ab709-dc3b-bc7a-6f77-9483c14ac41e
fromColumn: Fact_Sales.DATA_SOURCE
toColumn: Dim_DataSource.DATA_SOURCE
relationship d3944838-fc11-1195-8d9c-c5a878df6e50
fromColumn: Fact_Sales.CLASS_KEY
toColumn: Dim_Class.CLASS_SOURCE
relationship dbb7344d-535c-f4b6-feeb-b53e5f20ee02
fromColumn: Fact_Sales.AUDIT_SOURCE
toColumn: Dim_GeoKey.AUDIT_SOURCE
relationship acf87217-1a59-35dc-7e91-7ca108b0012b
fromColumn: Fact_Sales.AUDIT_KEY
toColumn: Dim_Geo.AUDIT_KEY

View File

@@ -7,20 +7,6 @@ table 00_KPI
```
lineageTag: 327243a7-d1c4-4efa-bec8-96f85ad40cec
measure 'chenwutest1 1' = ```
SUM ( Fact_Sales_Main_AIA[SALES_VALUE_CAL] )
```
lineageTag: e759d580-5e15-4390-b0c0-68f39e297318
measure 'chenwutest1 2' = ```
SUM ( Fact_Sales_Main_CHPA[SALES_VALUE_CAL] )
```
lineageTag: f42d8fd3-3a36-4646-8e70-020072dd89d5
measure '00.base.cu' =
SUM ( Fact_Sales[CONUTING_UNIT] )
//+ SUM ( Fact_Sales_Main_AIA[CONUTING_UNIT] )
@@ -396,25 +382,25 @@ table 00_KPI
VAR _count_TA = [00.base.if.countTA]
RETURN
SWITCH (
TRUE ( ),
( ISFILTERED ( Dim_RC ) || ISFILTERED ( Dim_Org )
TRUE ( )
, ( ISFILTERED ( Dim_RC ) || ISFILTERED ( Dim_Org )
|| ISFILTERED ( Dim_IsTarget_AIASpecial )
|| ISFILTERED ( Dim_HP_Potential_AIA ) )
|| _count,
CALCULATE (
[00.base.value.ly],
TREATAS (
[00.base.value.ly]
, TREATAS (
VALUES ( Dim_Market[MKT_SOURCE] ),
Dim_RC[MKT_SOURCE]
),
'0_Measure_CalGroup'[for_measure] = "_not_allmkt"
),
_count_TA,
)
, '0_Measure_CalGroup'[for_measure] = "_not_allmkt"
)
, _count_TA,
CALCULATE (
[00.base.value.ly],
'0_Measure_CalGroup'[for_measure] = "_allmkt_TA"
),
CALCULATE (
)
, CALCULATE (
[00.base.value.ly],
'0_Measure_CalGroup'[for_measure] = "_allmkt"
)
@@ -900,44 +886,6 @@ table 00_KPI
annotation PBI_FormatHint = {"isGeneralNumber":true}
measure 'chenwutest1 2 1' = ```
SUM ( Fact_Sales_Main_COUNTY[SALES_VALUE_CAL] )
```
lineageTag: e9b9624d-3817-4f5d-b446-2e2e062b7472
measure 'chenwutest1 2 1 1' = ```
SUM ( Fact_Sales_Main_CHC[SALES_VALUE_CAL] )
```
lineageTag: ffb5cf59-edcc-45ed-8358-826015e6bdf7
measure 'chenwutest1 2 1 1 1' = ```
SUM ( Fact_Sales_Main_DTP[SALES_VALUE_CAL] )
```
lineageTag: e7a0ea7a-23e9-4160-8d48-ddddcc057a2e
measure 'chenwutest1 2 1 1 1 1' = ```
SUM ( Fact_Sales_Main_Retail[SALES_VALUE_CAL] )
```
lineageTag: ef6de3f7-ee99-457a-bcf2-a56cf781d8c2
measure 'chenwutest1 2 1 1 1 1 1' = ```
SUM ( Fact_Sales_Main_EC[SALES_VALUE_CAL] )
```
lineageTag: 7484c5d0-f2d7-4135-b161-265dc6b9f6e0
measure 'chenwutest1 2 1 1 1 1 1 1' = SUM ( Fact_Sales_Main_XH[SALES_VALUE_CAL] )
lineageTag: ae2b39a3-19c9-41d4-adfc-e322d32f65d0
measure 'External.Prescription.LY.MTH' =
VAR MKT =
VALUES ( Dim_Market[MKT_SOURCE] )

View File

@@ -1445,7 +1445,7 @@ table 'AIA.Measures'
displayFolder: 01.General\02.1.TOPN
lineageTag: f65f9380-1600-48d9-9a66-e4b9f395090f
measure YM_HasData_AIA = CALCULATE(FORMAT(MAX(Fact_Sales_Main_AIA[DATE_KEY]), "yyyyMM"), ALL(Fact_Sales),Fact_Sales[DATA_SOURCE] = "AIA(Monthly)" )
measure YM_HasData_AIA = CALCULATE(FORMAT(MAX(FACT_SALES[DATE_KEY]), "yyyyMM"), ALL(Fact_Sales),Fact_Sales[DATA_SOURCE] = "AIA(Monthly)" )
displayFolder: 03.Others
lineageTag: f67a9f31-848b-4f84-8453-5e11486e9749

View File

@@ -115,7 +115,8 @@ table Dim_BrandDefaultMKT
'Anti-HER2 Market',
'Anti-HER2 mBC Market',
'Fasenra Market',
'Severe Asthma'
'Severe Asthma',
'DAPA Market'
)
THEN
1
@@ -155,7 +156,7 @@ table Dim_BrandDefaultMKT
changedProperty = IsHidden
annotation PBI_ResultType = Table
annotation PBI_ResultType = Exception
annotation PBI_NavigationStepName = Navigation

View File

@@ -169,22 +169,6 @@ table Dim_Calendar
annotation SummarizationSetBy = Automatic
column HasData_AIA =
VAR _end = [YM_HasData_AIA]
VAR _start =
( INT ( LEFT ( _end, 4 ) ) - 1 ) & "01"
RETURN
IF ( [YYYYMM] >= _start && [YYYYMM] <= _end, 1, 0 )
/*
用于AIA Dashboard的年月筛选。AIA只展示两年数据
*/
formatString: 0
lineageTag: 28ea1db3-35a3-4be5-a6c9-30999ccd9232
summarizeBy: sum
annotation SummarizationSetBy = Automatic
column YYYYMM_EXTERNAL_AIA
dataType: string
lineageTag: 3d2b5b4e-57fd-496e-adf6-16b066dd8908

View File

@@ -141,15 +141,6 @@ table Dim_Calendar_Alt
annotation SummarizationSetBy = Automatic
column HasData_AIA
formatString: 0
lineageTag: d91ed9d4-8636-4e0e-9d9d-63ea67ed0bca
summarizeBy: sum
isNameInferred
sourceColumn: Dim_Calendar[HasData_AIA]
annotation SummarizationSetBy = Automatic
column YYYYMM_EXTERNAL_AIA
lineageTag: 9a658880-79f1-4b7a-af50-10f383d01c94
summarizeBy: none

View File

@@ -51,7 +51,7 @@ table Dim_HP_Level
annotation PBI_NavigationStepName = Navigation
annotation PBI_ResultType = Exception
annotation PBI_ResultType = Table
annotation TabularEditor_TableGroup = 04_DimTable

View File

@@ -19,7 +19,7 @@ table Dim_KeyCompetitor
partition Dim_KeyCompetitor = m
mode: import
queryGroup: OLD
queryGroup: Dim
source = ```
let
Source = Value.NativeQuery(

View File

@@ -1,246 +0,0 @@
table Dim_MKTPackMapping
lineageTag: 4faa718f-9d72-42fd-b611-ae3456efb818
column PACK_COD
dataType: string
lineageTag: f929b590-3327-45cc-9bdd-3e36fb798a43
summarizeBy: none
sourceColumn: PACK_COD
annotation SummarizationSetBy = Automatic
column PROD_DES
dataType: string
lineageTag: 39cca25f-cf41-44b3-bf88-1060c058728e
summarizeBy: none
sourceColumn: PROD_DES
annotation SummarizationSetBy = Automatic
column PROD_DES_C
dataType: string
lineageTag: f5a2d4f4-ef98-472c-a8c5-e10d4157861b
summarizeBy: none
sourceColumn: PROD_DES_C
annotation SummarizationSetBy = Automatic
column MARKET
dataType: string
lineageTag: 236ff874-0645-4a1b-a952-a4584bbe3b90
summarizeBy: none
sourceColumn: MARKET
annotation SummarizationSetBy = Automatic
column CLASS
dataType: string
lineageTag: a9af738b-c6a7-45bf-aaa1-457f6c190515
summarizeBy: none
sourceColumn: CLASS
annotation SummarizationSetBy = Automatic
column VALUE_MARKET_RATIO
dataType: double
lineageTag: ed9c1da4-f249-48ec-9a22-35fa2aec2850
summarizeBy: sum
sourceColumn: VALUE_MARKET_RATIO
annotation SummarizationSetBy = Automatic
annotation PBI_FormatHint = {"isGeneralNumber":true}
column UNIT_MARKET_RATIO
dataType: double
lineageTag: 3aa2947e-e094-4d49-a034-c0d2db024515
summarizeBy: sum
sourceColumn: UNIT_MARKET_RATIO
annotation SummarizationSetBy = Automatic
annotation PBI_FormatHint = {"isGeneralNumber":true}
column COUNTINGUNIT_MARKET_RATIO
dataType: double
lineageTag: c7debf53-3444-481a-9f21-5e3c5710b2c0
summarizeBy: sum
sourceColumn: COUNTINGUNIT_MARKET_RATIO
annotation SummarizationSetBy = Automatic
annotation PBI_FormatHint = {"isGeneralNumber":true}
column DATA_SOURCE
dataType: string
lineageTag: 68d2c6a9-3b5f-4c1b-8e10-bea75569a878
summarizeBy: none
sourceColumn: DATA_SOURCE
annotation SummarizationSetBy = Automatic
column MKT_SOURCE = [MARKET] & [DATA_SOURCE]
lineageTag: 3831b652-2df2-4a51-bafc-021966147422
summarizeBy: none
annotation SummarizationSetBy = Automatic
column CLASS_SOURCE = [MARKET] & [CLASS] & [DATA_SOURCE]
lineageTag: 24a198f0-9134-4367-aa72-b975194438a1
summarizeBy: none
annotation SummarizationSetBy = Automatic
column PDOT_MARKET_RATIO
dataType: double
lineageTag: a1e06cb5-6f0c-4e69-8c96-286c90adfe28
summarizeBy: sum
sourceColumn: PDOT_MARKET_RATIO
annotation SummarizationSetBy = Automatic
annotation PBI_FormatHint = {"isGeneralNumber":true}
column CLASS_DES = [CLASS]
lineageTag: 8773177c-36be-440f-b0bf-5b64d1d4141e
summarizeBy: none
changedProperty = SortByColumn
annotation SummarizationSetBy = Automatic
column PACK_SOURCE = [PACK_COD] & [DATA_SOURCE] & [new_code]
lineageTag: 893f7007-fe3e-404e-a05d-eceab4cc7571
summarizeBy: none
annotation SummarizationSetBy = Automatic
column KEY_COMPETITOR
dataType: string
lineageTag: 609d6b37-69a6-43ab-9b56-71cfdbfa60a0
summarizeBy: none
sourceColumn: KEY_COMPETITOR
annotation SummarizationSetBy = Automatic
column NEW_CODE
dataType: string
lineageTag: 75a3a5f0-6b3e-4001-9623-c7fa4ac45f53
summarizeBy: none
sourceColumn: NEW_CODE
annotation SummarizationSetBy = Automatic
column CMPS_DES =
RELATED(Dim_PackInfo[CMPS_DES])
// LOOKUPVALUE(Dim_PackInfo[CMPS_DES],Dim_PackInfo[PACK_SOURCE],[PACK_SOURCE])
lineageTag: 63d4ad34-76a2-4200-b785-b22d45447d9c
summarizeBy: none
annotation SummarizationSetBy = Automatic
column MOLECULE_SOURCE = [CMPS_DES] & [DATA_SOURCE]
lineageTag: 4ebdb8a9-984b-43cb-9326-46d0a83c33f0
summarizeBy: none
annotation SummarizationSetBy = Automatic
column KEY_COMPETITOR_CN
dataType: string
lineageTag: 3b7b1fd2-727c-4357-958c-60a9c0b21edb
summarizeBy: none
sourceColumn: KEY_COMPETITOR_CN
annotation SummarizationSetBy = Automatic
column PDOT_TEXT = "counting unit"
lineageTag: c9c27571-87a3-4ca2-9039-5b480a80c43d
summarizeBy: none
annotation SummarizationSetBy = Automatic
column PDOT_MARKET_RATIO_LEVEL = LOOKUPVALUE(Config_MarketRatio[brandratio_countingunit_level],Config_MarketRatio[MARKET],[MARKET],Config_MarketRatio[PACK_COD],[PACK_COD])
lineageTag: 4538708d-0b3c-4676-8ba5-8c3c948fb07a
summarizeBy: none
annotation SummarizationSetBy = Automatic
column AIA_Remove
dataType: int64
formatString: 0
lineageTag: 7f57ca04-d157-4e79-b8ef-c31fb5f2b36e
summarizeBy: sum
sourceColumn: AIA_Remove
annotation SummarizationSetBy = Automatic
partition Dim_MKTPackMapping = m
mode: import
queryGroup: OLD\非首页
source = ```
let
Source =
Value.NativeQuery(
Databricks.Catalogs(
ServerAddress, HttpPath, [
Catalog = CatalogName,
Database = null,
EnableAutomaticProxyDiscovery = null,EnableQueryResultDownload="0"
]
){
[Name = CatalogName, Kind = "Database"]
}[Data],
"
SELECT DISTINCT
A.PACK_COD,
A.PROD_DES,
A.PROD_DES_C,
A.MARKET,CLASS,
CAST(VALUE_MARKET_RATIO AS DECIMAL(38, 20)) VALUE_MARKET_RATIO,
CAST(UNIT_MARKET_RATIO AS DECIMAL(38, 20)) UNIT_MARKET_RATIO,
CAST(COUNTINGUNIT_MARKET_RATIO AS DECIMAL(38, 20)) COUNTINGUNIT_MARKET_RATIO,
CAST(PDOT_MARKET_RATIO AS DECIMAL(38, 20)) PDOT_MARKET_RATIO,
A.DATA_SOURCE,
A.KEY_COMPETITOR,A.KEY_COMPETITOR_CN,A.NEW_CODE,
CASE WHEN B.hidden_market is not null THEN 0 ELSE 1 END AS AIA_Remove
FROM
DM.DM_TD_EXTERNAL_MARKET_PACK_MAPPING A
left join (
select distinct
hidden_market
from dwd.dwd_gnd_ims_hidden_market
where data_source = 'AIA') B
on A.DATA_SOURCE = 'AIA(Monthly)' AND A.MARKET = B.hidden_market
UNION ALL
select
'DTPOTHERS' as PACK_COD
,'DTPOTHERS' as PROD_DES
,'DTPOTHERS' as PROD_DES_C
,'EGFR TKI Market' as MARKET
,'Others' as CLASS
,1 as VALUE_MARKET_RATIO
,1 as UNIT_MARKET_RATIO
,1 as COUNTINGUNIT_MARKET_RATIO
,1 as PDOT_MARKET_RATIO
,'DTP(Quarterly)' as DATA_SOURCE
,'OTHERS' as KEY_COMPETITOR
,'OTHERS' as KEY_COMPETITOR_CN
,'' as NEW_CODE
, 1
"
& UsingLimit,
null,
[
EnableFolding = true
]
)
in
Source
```
annotation PBI_ResultType = Exception
annotation PBI_NavigationStepName = Navigation
annotation TabularEditor_TableGroup = 04_DimTable

View File

@@ -67,7 +67,7 @@ table Dim_Platform
Source
```
annotation PBI_ResultType = Exception
annotation PBI_ResultType = Table
annotation PBI_NavigationStepName = Navigation

View File

@@ -186,24 +186,6 @@ table Fact_Sales
annotation SummarizationSetBy = Automatic
column STORE_TYPE_SOURCE = [STORE_TYPE] & [DATA_SOURCE]
lineageTag: 1152f877-9d11-4ad8-a4e9-e56b2d9ae477
summarizeBy: none
annotation SummarizationSetBy = Automatic
column PLATFORM_TYPE_SOURCE = [PLATFORM_TYPE] & [DATA_SOURCE]
lineageTag: 3799fa82-b187-48de-9085-e7eb56137e2d
summarizeBy: none
annotation SummarizationSetBy = Automatic
column STORE_PLATFORM = [STORE_TYPE] & " - " & [PLATFORM_TYPE]
lineageTag: 8b9050d4-c7f6-4a0e-9d00-1aff75be6332
summarizeBy: none
annotation SummarizationSetBy = Automatic
column CMPS_FLAG
dataType: int64
formatString: 0
@@ -233,12 +215,6 @@ table Fact_Sales
annotation PBI_FormatHint = {"isGeneralNumber":true}
column DEPT_SOURCE = [dept_name] & [DATA_SOURCE]
lineageTag: d633ff86-610c-4194-9637-0943ed386d75
summarizeBy: none
annotation SummarizationSetBy = Automatic
column DEPT_NAME
dataType: string
lineageTag: 55ee1c72-c8d5-4bfc-8e89-bfec08ada73c
@@ -272,18 +248,6 @@ table Fact_Sales
annotation SummarizationSetBy = Automatic
column HP_SOURCE = [AIA_HP_FLAG] & [DATA_SOURCE]
lineageTag: 70317408-2faf-4425-a64c-912904705571
summarizeBy: none
annotation SummarizationSetBy = Automatic
column INST_SOURCE = [INST_CODE] & [DATA_SOURCE]
lineageTag: a4bfd8bf-f30f-4d48-9d28-6e3d6fb2023f
summarizeBy: none
annotation SummarizationSetBy = Automatic
column H_LEVEL
dataType: int64
lineageTag: 93973569-c447-41e6-b741-672a6539d97f
@@ -310,24 +274,6 @@ table Fact_Sales
annotation SummarizationSetBy = Automatic
column PRESCRIPTION_SOURCE = [PRESCRIPTION_TYPE] & [DATA_SOURCE]
lineageTag: f7a5c002-152a-4f10-b177-ef6b5cc21719
summarizeBy: none
annotation SummarizationSetBy = Automatic
column REIMBURSETYPE_SOURCE = [REIMBURSE_TYPE] & [DATA_SOURCE]
lineageTag: beb9f5b1-422d-4432-9d52-5083dad9f0db
summarizeBy: none
annotation SummarizationSetBy = Automatic
column REIMBURSE_SOURCE = [REIMBURSE] & [DATA_SOURCE]
lineageTag: 02bac298-0bb2-44d6-9c74-9bf37f75af03
summarizeBy: none
annotation SummarizationSetBy = Automatic
column PRESCRIPTION_TYPE
dataType: string
lineageTag: 45ea0f30-12b1-4e20-93ea-e5cb2d06828a
@@ -564,6 +510,78 @@ table Fact_Sales
annotation SummarizationSetBy = Automatic
column STORE_TYPE_SOURCE
dataType: string
lineageTag: 430d4e99-08f2-4ded-a21c-4e52d19caf84
summarizeBy: none
sourceColumn: STORE_TYPE_SOURCE
annotation SummarizationSetBy = Automatic
column STORE_PLATFORM
dataType: string
lineageTag: 757ab79c-ffaa-40b9-a2db-44a977ff1b41
summarizeBy: none
sourceColumn: STORE_PLATFORM
annotation SummarizationSetBy = Automatic
column REIMBURSETYPE_SOURCE
dataType: string
lineageTag: ce0f0ae2-6cf9-4ecb-876e-720b5d09bfed
summarizeBy: none
sourceColumn: REIMBURSETYPE_SOURCE
annotation SummarizationSetBy = Automatic
column REIMBURSE_SOURCE
dataType: string
lineageTag: 95c84fd0-f40c-4473-9bae-95e405df3c53
summarizeBy: none
sourceColumn: REIMBURSE_SOURCE
annotation SummarizationSetBy = Automatic
column PRESCRIPTION_SOURCE
dataType: string
lineageTag: e04b9537-3b7f-4ec8-aedc-07c077e73269
summarizeBy: none
sourceColumn: PRESCRIPTION_SOURCE
annotation SummarizationSetBy = Automatic
column PLATFORM_TYPE_SOURCE
dataType: string
lineageTag: 9c2d6c1c-e17c-4f94-aaa6-41e9d5065656
summarizeBy: none
sourceColumn: PLATFORM_TYPE_SOURCE
annotation SummarizationSetBy = Automatic
column DEPT_SOURCE
dataType: string
lineageTag: 2e332296-d864-4799-b97c-3d6fb4066702
summarizeBy: none
sourceColumn: DEPT_SOURCE
annotation SummarizationSetBy = Automatic
column INST_SOURCE
dataType: string
lineageTag: 3c319b8d-3dfe-4a24-981e-d5810532af61
summarizeBy: none
sourceColumn: INST_SOURCE
annotation SummarizationSetBy = Automatic
column HP_SOURCE
dataType: string
lineageTag: 5c652aa6-ab3e-4bca-982d-9d38f6bef113
summarizeBy: none
sourceColumn: HP_SOURCE
annotation SummarizationSetBy = Automatic
partition Fact_Sales = m
mode: import
queryGroup: Fact_Sales
@@ -610,6 +628,16 @@ table Fact_Sales
CONCAT(AUDIT_COD,DATA_SOURCE) AS AUDIT_SOURCE,
CONCAT(AUDIT_COD,DATA_SOURCE,'' ) AS AUDIT_KEY,
CONCAT(MARKET,CLASS,DATA_SOURCE) AS CLASS_KEY,
CONCAT(STORE_TYPE,DATA_SOURCE) AS STORE_TYPE_SOURCE,
CONCAT(STORE_TYPE,'-',PLATFORM_TYPE) AS STORE_PLATFORM,
CONCAT(REIMBURSE_TYPE,DATA_SOURCE) AS REIMBURSETYPE_SOURCE,
CONCAT(REIMBURSE,DATA_SOURCE) AS REIMBURSE_SOURCE,
CONCAT(PRESCRIPTION_TYPE,DATA_SOURCE) AS PRESCRIPTION_SOURCE,
CONCAT(PLATFORM_TYPE,DATA_SOURCE) AS PLATFORM_TYPE_SOURCE,
CONCAT(dept_name,DATA_SOURCE) AS DEPT_SOURCE,
CONCAT(INST_CODE,DATA_SOURCE) AS INST_SOURCE,
CONCAT(AIA_HP_FLAG,DATA_SOURCE) AS HP_SOURCE,
-------------------------------------
--Retail藏数逻辑标签------------------
PACK_FLAG,
@@ -645,13 +673,10 @@ table Fact_Sales
MERGED_DATA_DTP_OTHERS,
EGFR_FLAG,
-------------------------------------
CORP_COD
NULL AS CORP_COD
from
DM.DM_TF_EXT_UNIONALL_SALES_MAPPING
--where
--DATA_SOURCE = 'THC(Quarterly)'
--and yyyymm >= 202501
"
"& Fact_Sales_SQL_limit
& UsingLimit,
null,
[

View File

@@ -209,30 +209,6 @@ table Fact_Sales_THC
annotation SummarizationSetBy = Automatic
column PACK_CODE
dataType: string
lineageTag: 1aca511a-879e-45c6-b8fb-9684c9e51a2f
summarizeBy: none
sourceColumn: PACK_CODE
annotation SummarizationSetBy = Automatic
column CORP_CODE
dataType: string
lineageTag: 188469e1-d875-4fcb-9c55-e86cb6badfc8
summarizeBy: none
sourceColumn: CORP_CODE
annotation SummarizationSetBy = Automatic
column AUDIT_CODE
dataType: string
lineageTag: 5fbae632-435b-48a2-8f93-e23eb7afd177
summarizeBy: none
sourceColumn: AUDIT_CODE
annotation SummarizationSetBy = Automatic
column CMPS_FLAG
dataType: string
lineageTag: 565b34fe-1d3d-4708-92b1-75f283e405ff
@@ -385,24 +361,6 @@ table Fact_Sales_THC
annotation PBI_FormatHint = {"isGeneralNumber":true}
column ETL_INSERT_DT
dataType: dateTime
formatString: General Date
lineageTag: 8f45d181-1858-4c13-a9f7-0cb2ca77c429
summarizeBy: none
sourceColumn: ETL_INSERT_DT
annotation SummarizationSetBy = Automatic
column ETL_UPDATE_DT
dataType: dateTime
formatString: General Date
lineageTag: 16b492ce-7b45-47da-9f75-f7a092cde75b
summarizeBy: none
sourceColumn: ETL_UPDATE_DT
annotation SummarizationSetBy = Automatic
column MARKET_KEY
dataType: string
lineageTag: 7827470a-6fd4-49c7-b432-75d6ce8986cb
@@ -411,6 +369,30 @@ table Fact_Sales_THC
annotation SummarizationSetBy = Automatic
column PACK_COD
dataType: string
lineageTag: fe7d5135-41de-4f1a-af98-22b14a760dfa
summarizeBy: none
sourceColumn: PACK_COD
annotation SummarizationSetBy = Automatic
column CORP_COD
dataType: string
lineageTag: 57a11780-70d7-4454-a8e7-ba7fae398261
summarizeBy: none
sourceColumn: CORP_COD
annotation SummarizationSetBy = Automatic
column AUDIT_COD
dataType: string
lineageTag: b4cf1c2e-9d9a-4101-b09c-988725796e51
summarizeBy: none
sourceColumn: AUDIT_COD
annotation SummarizationSetBy = Automatic
partition Fact_Sales_THC = m
mode: import
queryGroup: Fact_Sales
@@ -428,7 +410,48 @@ table Fact_Sales_THC
]
){[Name = CatalogName, Kind = "Database"]}[Data],
"
SELECT *,CONCAT(MARKET,DATA_SOURCE) MARKET_KEY FROM DM.dm_tf_ext_thc_market_sales_cht
SELECT
MARKET,
KEY_COMPETITOR,
CLASS,
YYYYMM,
PACK_CODE AS PACK_COD,
CORP_CODE AS CORP_COD,
AUDIT_CODE AS AUDIT_COD,
PLATFORM_TYPE,
STORE_NAME,
STORE_TYPE,
REGION_TYPE,
DATA_SOURCE,
PACK_FLAG,
PROD_FLAG,
DTP_FLAG,
CMPS_FLAG,
NEW_CODE,
INST_CODE,
AIA_HP_FLAG,
DEPT_NAME,
H_LEVEL,
REIMBURSE,
REIMBURSE_TYPE,
PRESCRIPTION_TYPE,
PRESCRIPTION,
PRESCRIPTION_LY,
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,
CONCAT(MARKET, DATA_SOURCE) MARKET_KEY
FROM
DM.dm_tf_ext_thc_market_sales_cht
"
& UsingLimit,
null,
@@ -440,7 +463,7 @@ table Fact_Sales_THC
annotation PBI_NavigationStepName = 导航
annotation PBI_ResultType = Exception
annotation PBI_ResultType = Table
annotation TabularEditor_TableGroup = 05_FactTable

View File

@@ -539,133 +539,7 @@ table 'Measure THC'
displayFolder: 01.Sales
lineageTag: 0816b80a-c02d-4d15-853d-1abb961b1488
measure 'External.Sales.MTH.MID_THC5' = ```
VAR DS = SELECTEDVALUE ( Dim_DataSource[SOURCENAME] )
VAR DS1 = SELECTEDVALUE(Dim_DataSource[DATA_SOURCE])
VAR MKT_FLAG =
SWITCH(TRUE(),
ISFILTERED(Dim_Market),
MAX(Dim_Market[MKT_FLAG]),
ISFILTERED(Dim_BrandDefaultMKT),
CALCULATE(MAX(Dim_BrandDefaultMKT[MKT_FLAG]),Dim_BrandDefaultMKT[DATA_SOURCE] = DS1),
0)
VAR PROD_FLAG =
SWITCH(TRUE(),
ISFILTERED(Dim_Market),
MAX(Dim_Market[PRD_FLAG]),
ISFILTERED(Dim_BrandDefaultMKT),
CALCULATE(MAX(Dim_BrandDefaultMKT[PRD_FLAG]),Dim_BrandDefaultMKT[DATA_SOURCE] = DS1),
0)
RETURN
SWITCH (
TRUE (),
//若选择Molecule,选择地理,且市场是品牌报告里面的市场
--ISFILTERED(Dim_IsTarget) &&
// NOT ISFILTERED(Dim_Market) && NOT ISFILTERED(Dim_BrandDefaultMKT),BLANK(),
ISFILTERED(Dim_CoreDept) && NOT ISFILTERED(Dim_Market) && NOT ISFILTERED(Dim_BrandDefaultMKT),BLANK(),
DS IN {"Retail","EC"} && MKT_FLAG = 1
&& NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_PACK] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& ISFILTERED(Dim_Geo) && ( ISFILTERED ( Dim_PackInfo[MOLECULE_CODE_DESC] )
|| ISFILTERED ( Dim_PackInfo[MOLECULE_DES_C] ) ||ISFILTERED ( Dim_PackInfo[CMPS_COD] )
|| ISFILTERED ( Dim_PackInfo[CMPS_DES] ) || ISFILTERED ( Dim_PackInfo[CMPS_DES_C] )),
[External.Sales.MTH_THC_4],
//除开特定市场外其余的retail针对于class选择地理或org维度值为空
DS = "Retail" && (ISFILTERED(Dim_Geo) || ISFILTERED(Dim_Org)) && ISFILTERED(Dim_Class)
&& (ISFILTERED(Dim_Market) || ISFILTERED(Dim_BrandDefaultMKT)) && MKT_FLAG = 0,BLANK(),
//选择市场,只出现品牌报告里面的有市场;
DS = "Retail" && (ISFILTERED(Dim_Geo) || ISFILTERED(Dim_Org))
&& (ISFILTERED(Dim_Market) || ISFILTERED(Dim_BrandDefaultMKT)) && PROD_FLAG = 0,BLANK(),
--若不选pack用于计算class相关KPI
DS IN {"Retail","EC"}
&& (ISFILTERED ( Dim_Geo ) || ISFILTERED ( Dim_Org ))
&& NOT ISFILTERED(Dim_PackInfo),
[External.Sales.MTH_THC_4],
//若选择Molecule,没选择地理
DS IN {"Retail","EC"} && NOT ISFILTERED(Dim_Geo) && NOT ISFILTERED(Dim_Org)
&& NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_PACK] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& ( ISFILTERED ( Dim_PackInfo[MOLECULE_CODE_DESC] )
|| ISFILTERED ( Dim_PackInfo[MOLECULE_DES_C] ) ||ISFILTERED ( Dim_PackInfo[CMPS_COD] )
|| ISFILTERED ( Dim_PackInfo[CMPS_DES] ) || ISFILTERED ( Dim_PackInfo[CMPS_DES_C] )),
[External.Sales.MTH_THC_4],
//若选择Molecule,选择地理
DS IN {"Retail","EC"}
&& NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_PACK] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& ( ISFILTERED ( Dim_PackInfo[MOLECULE_CODE_DESC] )
|| ISFILTERED ( Dim_PackInfo[MOLECULE_DES_C] ) ||ISFILTERED ( Dim_PackInfo[CMPS_COD] )
|| ISFILTERED ( Dim_PackInfo[CMPS_DES] ) || ISFILTERED ( Dim_PackInfo[CMPS_DES_C] )),
CALCULATE (
[External.Sales.MTH_THC_4]
// ,
// Fact_Sales_THC[CMPS_FLAG] = 1
),
//若选择BRAND,没有选择地理
DS IN {"Retail","EC"}
&& NOT ISFILTERED ( Dim_Geo ) && NOT ISFILTERED ( Dim_Org )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& (ISFILTERED ( Dim_PackInfo[PROD_COD] ) || ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
|| ISFILTERED ( Dim_PackInfo[PROD_DES] ) || ISFILTERED ( Dim_PackInfo[PROD_DES_C] )),
CALCULATE (
[External.Sales.MTH_THC_4],
Fact_Sales_THC[PROD_FLAG] IN {1, 2}
),
//若选择BRAND,选择地理
DS IN {"Retail","EC"}
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& (ISFILTERED ( Dim_PackInfo[PROD_COD] ) || ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
|| ISFILTERED ( Dim_PackInfo[PROD_DES] ) || ISFILTERED ( Dim_PackInfo[PROD_DES_C] )),
CALCULATE (
[External.Sales.MTH_THC_4]
// ,
// Fact_Sales_THC[GEO_FLAG] = 1
),
//若选择PACKAGE,不选择地理维度1表示pack+省份数据2表示pack+全国的数据
DS IN {"Retail","EC"} && NOT ISFILTERED ( Dim_Org ) && NOT ISFILTERED ( Dim_Geo )
&& (ISFILTERED ( Dim_PackInfo[PACK_DES] ) || ISFILTERED ( Dim_PackInfo[PACK_LCH] )
|| ISFILTERED ( Dim_PackInfo[PACK_COD] ) || ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] )),
CALCULATE (
[External.Sales.MTH_THC_4]
// ,
// Fact_Sales_THC[PACK_FLAG] IN { 1, 2 }
),
//若选择PACKAGE,且省份维度不是全国
DS IN {"Retail","EC"}
&& (ISFILTERED ( Dim_PackInfo[PACK_DES] ) || ISFILTERED ( Dim_PackInfo[PACK_LCH] )
|| ISFILTERED ( Dim_PackInfo[PACK_COD] ) || ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] )),
CALCULATE (
[External.Sales.MTH_THC_4]
// ,
// Fact_Sales_THC[PACK_FLAG] = 1
),
[External.Sales.MTH_THC_4]
)
```
measure 'External.Sales.MTH.MID_THC5' = [External.Sales.MTH_THC_4]
displayFolder: 01.Sales
lineageTag: 8de3068e-0b94-4eb3-b1cc-c063a3368d7e
@@ -1080,129 +954,7 @@ table 'Measure THC'
displayFolder: 02.Sales LY
lineageTag: 1795081a-b035-42ff-85d9-b667f1a563ab
measure 'External.Sales.LY.MTH.MID_THC5' = ```
VAR DS = SELECTEDVALUE ( Dim_DataSource[SOURCENAME] )
VAR DS1 = SELECTEDVALUE(Dim_DataSource[DATA_SOURCE])
VAR MKT_FLAG =
SWITCH(TRUE(),
ISFILTERED(Dim_Market),
MAX(Dim_Market[MKT_FLAG]),
ISFILTERED(Dim_BrandDefaultMKT),
CALCULATE(MAX(Dim_BrandDefaultMKT[MKT_FLAG]),Dim_BrandDefaultMKT[DATA_SOURCE] = DS1),
0)
VAR PROD_FLAG =
SWITCH(TRUE(),
ISFILTERED(Dim_Market),
MAX(Dim_Market[PRD_FLAG]),
ISFILTERED(Dim_BrandDefaultMKT),
CALCULATE(MAX(Dim_BrandDefaultMKT[PRD_FLAG]),Dim_BrandDefaultMKT[DATA_SOURCE] = DS1),
0)
RETURN
SWITCH (
TRUE (),
// ISFILTERED(Dim_IsTarget) && NOT ISFILTERED(Dim_Market) && NOT ISFILTERED(Dim_BrandDefaultMKT),BLANK(),
ISFILTERED(Dim_CoreDept) && NOT ISFILTERED(Dim_Market) && NOT ISFILTERED(Dim_BrandDefaultMKT),BLANK(),
//若选择地理,且省份维度不是全国
DS IN {"Retail","EC"} && MKT_FLAG = 1
&& NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_PACK] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& ISFILTERED(Dim_Geo) && ( ISFILTERED ( Dim_PackInfo[MOLECULE_CODE_DESC] )
|| ISFILTERED ( Dim_PackInfo[MOLECULE_DES_C] ) ||ISFILTERED ( Dim_PackInfo[CMPS_COD] )
|| ISFILTERED ( Dim_PackInfo[CMPS_DES] ) || ISFILTERED ( Dim_PackInfo[CMPS_DES_C] )),
[External.Sales.LY.MTH_THC4],
//除开特定市场外其余的retail针对于class选择地理或org维度值为空
DS = "Retail" && (ISFILTERED(Dim_Geo) || ISFILTERED(Dim_Org)) && ISFILTERED(Dim_Class)
&& (ISFILTERED(Dim_Market) || ISFILTERED(Dim_BrandDefaultMKT)) && MKT_FLAG = 0,BLANK(),
//选择市场,只出现品牌报告里面的有市场;
DS = "Retail" && (ISFILTERED(Dim_Geo) || ISFILTERED(Dim_Org))
&& (ISFILTERED(Dim_Market) || ISFILTERED(Dim_BrandDefaultMKT)) && PROD_FLAG = 0,BLANK(),
--若不选pack用于计算class相关KPI
DS IN {"Retail","EC"}
&& (ISFILTERED ( Dim_Geo ) || ISFILTERED ( Dim_Org ))
&& NOT ISFILTERED(Dim_PackInfo),
[External.Sales.LY.MTH_THC4],
//若选择Molecule,没选择地理
DS IN {"Retail","EC"} && NOT ISFILTERED(Dim_Geo) && NOT ISFILTERED(Dim_Org)
&& NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_PACK] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& ( ISFILTERED ( Dim_PackInfo[MOLECULE_CODE_DESC] )
|| ISFILTERED ( Dim_PackInfo[MOLECULE_DES_C] ) ||ISFILTERED ( Dim_PackInfo[CMPS_COD] )
|| ISFILTERED ( Dim_PackInfo[CMPS_DES] ) || ISFILTERED ( Dim_PackInfo[CMPS_DES_C] )),
[External.Sales.LY.MTH_THC4],
//若选择Molecule,选择地理
DS IN {"Retail","EC"}
&& NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_PACK] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& ( ISFILTERED ( Dim_PackInfo[MOLECULE_CODE_DESC] )
|| ISFILTERED ( Dim_PackInfo[MOLECULE_DES_C] ) ||ISFILTERED ( Dim_PackInfo[CMPS_COD] )
|| ISFILTERED ( Dim_PackInfo[CMPS_DES] ) || ISFILTERED ( Dim_PackInfo[CMPS_DES_C] )),
CALCULATE (
[External.Sales.LY.MTH_THC4],
Fact_Sales[CMPS_FLAG] = 1
),
//若选择BRAND,没有选择地理
DS IN {"Retail","EC"}
&& NOT ISFILTERED ( Dim_Geo ) && NOT ISFILTERED ( Dim_Org )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] ) && NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& (ISFILTERED ( Dim_PackInfo[PROD_COD] ) || ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
|| ISFILTERED ( Dim_PackInfo[PROD_DES] ) || ISFILTERED ( Dim_PackInfo[PROD_DES_C] )),
CALCULATE (
[External.Sales.LY.MTH_THC4],
Fact_Sales[PROD_FLAG] IN {1, 2}
),
//若选择BRAND,选择地理
DS IN {"Retail","EC"}
&& NOT ISFILTERED ( Dim_PackInfo[PACK_COD] )
&& NOT ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_DES] )
&& NOT ISFILTERED ( Dim_PackInfo[PACK_LCH] )
&& (ISFILTERED ( Dim_PackInfo[PROD_COD] ) || ISFILTERED ( Dim_PackInfo[PROD_CORP_C] )
|| ISFILTERED ( Dim_PackInfo[PROD_DES] ) || ISFILTERED ( Dim_PackInfo[PROD_DES_C] )),
CALCULATE (
[External.Sales.LY.MTH_THC4],
Fact_Sales[GEO_FLAG] = 1
),
//若选择PACKAGE,不选择地理维度1表示pack+省份数据2表示pack+全国的数据
DS IN {"Retail","EC"} && NOT ISFILTERED ( Dim_Org ) && NOT ISFILTERED ( Dim_Geo )
&& (ISFILTERED ( Dim_PackInfo[PACK_DES] ) || ISFILTERED ( Dim_PackInfo[PACK_LCH] )
|| ISFILTERED ( Dim_PackInfo[PACK_COD] ) || ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] )),
CALCULATE (
[External.Sales.LY.MTH_THC4],
Fact_Sales[PACK_FLAG] IN { 1, 2 }
),
//若选择PACKAGE,且省份维度不是全国
DS IN {"Retail","EC"}
&& (ISFILTERED ( Dim_PackInfo[PACK_DES] ) || ISFILTERED ( Dim_PackInfo[PACK_LCH] )
|| ISFILTERED ( Dim_PackInfo[PACK_COD] ) || ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] )),
CALCULATE (
[External.Sales.LY.MTH_THC4],
Fact_Sales[PACK_FLAG] = 1
),
[External.Sales.LY.MTH_THC4]
)
```
measure 'External.Sales.LY.MTH.MID_THC5' = [External.Sales.LY.MTH_THC4]
displayFolder: 02.Sales LY
lineageTag: 633605a2-7fd6-416a-979d-2cfef8156e53

View File

@@ -918,26 +918,13 @@
"ordinal": 1,
"scrollPosition": {
"x": 0,
"y": 373.33516069697043
"y": 0
},
"nodes": [
{
"location": {
"x": 1616.2918499734515,
"y": 784.61189978282664
},
"nodeIndex": "Fact_Sales_NIAD",
"nodeLineageTag": "5ce66265-a4ef-457b-9400-e0d76042498d",
"size": {
"height": 300,
"width": 234
},
"zIndex": 19
},
{
"location": {
"x": 1175.6292145416671,
"y": 419.86884221163768
"x": 1193.6470799771166,
"y": 612.00909991030812
},
"nodeIndex": "Dim_DataSource",
"nodeLineageTag": "8a47e04a-d7ca-4a96-bf05-10c9cff59288",
@@ -945,56 +932,15 @@
"height": 176,
"width": 234
},
"zIndex": 12
"zIndex": 10
},
{
"location": {
"x": 1572.4075590597267,
"y": 483.61689253212558
"x": 749.23438869196207,
"y": -50
},
"nodeIndex": "Dim_PackInfo",
"nodeLineageTag": "f420be02-8dc1-467f-8e0e-a8231e8b72e6",
"size": {
"height": 176,
"width": 234
},
"zIndex": 20,
"expandedHeight": 300
},
{
"location": {
"x": 924.20948938446168,
"y": 850.85137630243
},
"nodeIndex": "Fact_Sales",
"nodeLineageTag": "c6bdcb23-6f0c-4bd2-98b6-b3fd012d5ba6",
"size": {
"height": 512,
"width": 234
},
"zIndex": 18,
"expandedHeight": 300
},
{
"location": {
"x": 646.55835289432753,
"y": 459.78008771345662
},
"nodeIndex": "Dim_Geo",
"nodeLineageTag": "aeec8d5d-c86c-4957-8592-3a153f08c3a8",
"size": {
"height": 300,
"width": 234
},
"zIndex": 15
},
{
"location": {
"x": 0,
"y": 546.49338518049808
},
"nodeIndex": "Dim_Calendar",
"nodeLineageTag": "b54e7974-59f5-4b19-b987-f439b32f640d",
"size": {
"height": 300,
"width": 234
@@ -1003,8 +949,47 @@
},
{
"location": {
"x": 302.00962555210663,
"y": 1074.5197583343238
"x": 622.80488712282977,
"y": 529.837077125478
},
"nodeIndex": "Fact_Sales",
"nodeLineageTag": "c6bdcb23-6f0c-4bd2-98b6-b3fd012d5ba6",
"size": {
"height": 300,
"width": 234
},
"zIndex": 18
},
{
"location": {
"x": 1273.5318996557298,
"y": 259.3339814607607
},
"nodeIndex": "Dim_Geo",
"nodeLineageTag": "aeec8d5d-c86c-4957-8592-3a153f08c3a8",
"size": {
"height": 300,
"width": 234
},
"zIndex": 13
},
{
"location": {
"x": 50,
"y": 816.007468034567
},
"nodeIndex": "Dim_Calendar",
"nodeLineageTag": "b54e7974-59f5-4b19-b987-f439b32f640d",
"size": {
"height": 300,
"width": 234
},
"zIndex": 15
},
{
"location": {
"x": 919.4086061629705,
"y": 1277.7320027702353
},
"nodeIndex": "Dim_HPFlag",
"nodeLineageTag": "e281e266-d03f-45f7-9f2f-9ff74984c501",
@@ -1016,8 +1001,8 @@
},
{
"location": {
"x": 382.4664552674783,
"y": 1385.5805600379983
"x": 1630.3080435161082,
"y": 338.0240705621186
},
"nodeIndex": "Dim_InsSalesType",
"nodeLineageTag": "a283b30f-6bf9-4841-8c06-8b4b27572f51",
@@ -1029,8 +1014,8 @@
},
{
"location": {
"x": 75.533104487331457,
"y": 1171.3101753546034
"x": 919.40258989628694,
"y": 1073.77427739801
},
"nodeIndex": "Dim_PlatformMID",
"nodeLineageTag": "1cd2fd49-62d1-49ca-ac98-218be929baae",
@@ -1042,8 +1027,8 @@
},
{
"location": {
"x": 451.7573005244758,
"y": 1124
"x": 336.97245492727438,
"y": 702.77552127739159
},
"nodeIndex": "Dim_StoreTypeMID",
"nodeLineageTag": "d6ca2686-554d-4d78-a475-7787f1325ec0",
@@ -1051,12 +1036,12 @@
"height": 152,
"width": 234
},
"zIndex": 5
"zIndex": 4
},
{
"location": {
"x": 225.18788268546086,
"y": 1278.5311514897637
"x": 50.697016225196421,
"y": 534.24456287105033
},
"nodeIndex": "Dim_Dept",
"nodeLineageTag": "d4fade06-0fa3-4c36-ac23-2abf52ad9f5e",
@@ -1064,12 +1049,12 @@
"height": 200,
"width": 234
},
"zIndex": 6
"zIndex": 5
},
{
"location": {
"x": 1849.2436007193912,
"y": 1498.6292049878475
"x": 1206.4659127349657,
"y": 1141.4258732573708
},
"nodeIndex": "Dim_PrescriptionSource",
"nodeLineageTag": "953c3d2a-0eeb-4153-8348-907f82bf6413",
@@ -1077,12 +1062,12 @@
"height": 152,
"width": 234
},
"zIndex": 14
"zIndex": 12
},
{
"location": {
"x": 1831.3935552678761,
"y": 1393.194532216427
"x": 247.78764562480046,
"y": 1168.971301646538
},
"nodeIndex": "Dim_Reimburse",
"nodeLineageTag": "12b7ce8a-0cd1-49b2-8dc4-bdc0b7ff9a7d",
@@ -1090,12 +1075,12 @@
"height": 152,
"width": 234
},
"zIndex": 8
"zIndex": 6
},
{
"location": {
"x": 857.30605373144476,
"y": 1406.1750892344508
"x": 462.21440909434796,
"y": 131.13832893982135
},
"nodeIndex": "Dim_ReimburseType",
"nodeLineageTag": "d90fa524-ebdf-41f4-a2c3-b79657f2e782",
@@ -1103,12 +1088,12 @@
"height": 152,
"width": 234
},
"zIndex": 9
"zIndex": 7
},
{
"location": {
"x": 1416.5026133230358,
"y": 1270.5643585526873
"x": 1455.7008253958209,
"y": 840.76540031593527
},
"nodeIndex": "Dim_Institution",
"nodeLineageTag": "c0020314-ede0-4bf5-af71-1f63368ac6aa",
@@ -1116,12 +1101,12 @@
"height": 248,
"width": 234
},
"zIndex": 10
"zIndex": 8
},
{
"location": {
"x": 316.49389327834888,
"y": 454.945782112678
"x": 1557.8246228832991,
"y": 588.10442727846089
},
"nodeIndex": "Dim_GeoKey",
"nodeLineageTag": "88fbe5ba-558f-4580-8d08-19e6a3e5be6a",
@@ -1129,12 +1114,12 @@
"height": 200,
"width": 234
},
"zIndex": 16
"zIndex": 14
},
{
"location": {
"x": 1590.0847885580431,
"y": 1592.7799765145969
"x": 749.23275432433547,
"y": 302.15186530339724
},
"nodeIndex": "Dim_DataSource_ForRLS",
"nodeLineageTag": "8a0dec48-e4ca-410e-bfb9-022ad263205c",
@@ -1142,12 +1127,12 @@
"height": 176,
"width": 234
},
"zIndex": 11
"zIndex": 9
},
{
"location": {
"x": 1225.6802147471844,
"y": 1476.0064281397408
"x": 908.398488250178,
"y": 613.14005982127651
},
"nodeIndex": "Dim_MergeDataSource",
"nodeLineageTag": "b9ec943e-c3e6-4334-a98c-527f4e55ccd6",
@@ -1155,11 +1140,11 @@
"height": 104,
"width": 234
},
"zIndex": 13
"zIndex": 11
}
],
"name": "Fact_Sales_NIAD",
"zoomValue": 79.553182037699813,
"zoomValue": 74.126497275900064,
"pinKeyFieldsToTop": false,
"showExtraHeaderInfo": false,
"hideKeyFieldsWhenCollapsed": false,
@@ -1653,7 +1638,7 @@
"ordinal": 4,
"scrollPosition": {
"x": 0,
"y": 0
"y": 200
},
"nodes": [
{
@@ -1667,7 +1652,7 @@
"height": 300,
"width": 234
},
"zIndex": 11
"zIndex": 10
},
{
"location": {
@@ -1697,8 +1682,8 @@
},
{
"location": {
"x": 823.093692643455,
"y": 774.72961318474665
"x": 877.093692643455,
"y": 933.72961318474665
},
"nodeIndex": "Dim_PackInfo",
"nodeLineageTag": "f420be02-8dc1-467f-8e0e-a8231e8b72e6",
@@ -1788,8 +1773,8 @@
},
{
"location": {
"x": 820,
"y": 894
"x": 1255,
"y": 813
},
"nodeIndex": "Dim_Market",
"nodeLineageTag": "e93174e2-bfca-4d29-bee7-23d72512e194",
@@ -1797,7 +1782,7 @@
"height": 296,
"width": 234
},
"zIndex": 10
"zIndex": 11
}
],
"name": "Fact_Sales_THC",
@@ -1806,62 +1791,8 @@
"showExtraHeaderInfo": false,
"hideKeyFieldsWhenCollapsed": false,
"tablesLocked": false
},
{
"ordinal": 5,
"scrollPosition": {
"x": 0,
"y": 0
},
"nodes": [
{
"location": {
"x": 348,
"y": 492
},
"nodeIndex": "Dim_CoreDept",
"nodeLineageTag": "440f02af-03a6-4cd9-b5ab-4b46774f48a9",
"size": {
"height": 224,
"width": 234
},
"zIndex": 2
},
{
"location": {
"x": 50,
"y": -50
},
"nodeIndex": "Dim_Market",
"nodeLineageTag": "e93174e2-bfca-4d29-bee7-23d72512e194",
"size": {
"height": 296,
"width": 234
},
"zIndex": 1
},
{
"location": {
"x": 49,
"y": 575
},
"nodeIndex": "Fact_Sales",
"nodeLineageTag": "c6bdcb23-6f0c-4bd2-98b6-b3fd012d5ba6",
"size": {
"height": 300,
"width": 234
},
"zIndex": 3
}
],
"name": "Layout 1",
"zoomValue": 100,
"pinKeyFieldsToTop": false,
"showExtraHeaderInfo": false,
"hideKeyFieldsWhenCollapsed": false,
"tablesLocked": false
}
],
"selectedDiagram": "Layout 1",
"selectedDiagram": "Fact_Sales_NIAD",
"defaultDiagram": "All tables"
}