diff --git a/External All Channel.Report/definition/pages/0c6bf6c9118eec051860/visuals/49575c00277ab9299a5d/visual.json b/External All Channel.Report/definition/pages/0c6bf6c9118eec051860/visuals/49575c00277ab9299a5d/visual.json index ff25f8b..991c203 100644 --- a/External All Channel.Report/definition/pages/0c6bf6c9118eec051860/visuals/49575c00277ab9299a5d/visual.json +++ b/External All Channel.Report/definition/pages/0c6bf6c9118eec051860/visuals/49575c00277ab9299a5d/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/30535de172a250d5ba99/visual.json b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/30535de172a250d5ba99/visual.json index 5e35b22..78fe45d 100644 --- a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/30535de172a250d5ba99/visual.json +++ b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/30535de172a250d5ba99/visual.json @@ -60,6 +60,66 @@ "nativeQueryRef": "Market", "displayName": "Market" }, + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "Dim_KeyCompetitor" + } + }, + "Property": "KEY_COMPETITOR" + } + }, + "queryRef": "Dim_KeyCompetitor.KEY_COMPETITOR", + "nativeQueryRef": "Key Brand", + "displayName": "Key Brand" + }, + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "Dim_Org" + } + }, + "Property": "rc_name_en" + } + }, + "queryRef": "Dim_Org.rc_name_en", + "nativeQueryRef": "RC", + "displayName": "RC" + }, + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "Dim_Org" + } + }, + "Property": "RC_NAME" + } + }, + "queryRef": "Dim_Org.RC_NAME", + "nativeQueryRef": "RSD Name", + "displayName": "RSD Name" + }, + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "Dim_Org" + } + }, + "Property": "rsd_kcode" + } + }, + "queryRef": "Dim_Org.rsd_kcode", + "nativeQueryRef": "RSD KCODE", + "displayName": "RSD KCODE" + }, { "field": { "Measure": { @@ -74,21 +134,6 @@ "queryRef": "Measure.External.Sales.KPI", "nativeQueryRef": "External.Sales.KPI", "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" } ], "fieldParameters": [ @@ -104,7 +149,7 @@ } }, "index": 0, - "length": 3 + "length": 7 }, { "parameterExpr": { @@ -118,7 +163,7 @@ } }, "index": 1, - "length": 2, + "length": 1, "sortDirection": "Descending" } ] @@ -3035,8 +3080,7 @@ "Property": "rc_name_en" } }, - "type": "Categorical", - "howCreated": "User" + "type": "Categorical" }, { "name": "384b97042614741ab0a0", @@ -3067,8 +3111,7 @@ "Property": "RC_NAME" } }, - "type": "Categorical", - "howCreated": "User" + "type": "Categorical" }, { "name": "e36644f5136c805c8566", @@ -3163,7 +3206,8 @@ "Property": "External.Sales.KPI.Market" } }, - "type": "Advanced" + "type": "Advanced", + "howCreated": "User" }, { "name": "25cd60310c6749d1dc01", diff --git a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/3cc314e98e25cae825c4/visual.json b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/3cc314e98e25cae825c4/visual.json index eb7cad4..54623aa 100644 --- a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/3cc314e98e25cae825c4/visual.json +++ b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/3cc314e98e25cae825c4/visual.json @@ -110,7 +110,7 @@ [ { "Literal": { - "Value": "'M PDOT'" + "Value": "'PDOT'" } } ] diff --git a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/8f5073a45ae26a934c25/visual.json b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/8f5073a45ae26a934c25/visual.json index 86da62a..ad2ec32 100644 --- a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/8f5073a45ae26a934c25/visual.json +++ b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/8f5073a45ae26a934c25/visual.json @@ -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": "8f5073a45ae26a934c25", "position": { "x": 267.5, @@ -190,18 +190,6 @@ "Value": "'''Measure''[External.Sales.KPI]'" } } - ], - [ - { - "Literal": { - "Value": "'Sales'" - } - }, - { - "Literal": { - "Value": "'''Measure''[External.Sales.KPI.Market]'" - } - } ] ] } @@ -251,26 +239,6 @@ } ] } - ], - [ - { - "0": [ - { - "Literal": { - "Value": "'Sales'" - } - } - ] - }, - { - "1": [ - { - "Literal": { - "Value": "'''Measure''[External.Sales.KPI.Market]'" - } - } - ] - } ] ], "columns": [ @@ -304,10 +272,6 @@ { "0": "Sales", "1": "Sales" - }, - { - "0": "Sales", - "1": "Market Size" } ] } diff --git a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/bea9f909e8ea3287974b/visual.json b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/bea9f909e8ea3287974b/visual.json index 33ac4d6..5dcea3f 100644 --- a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/bea9f909e8ea3287974b/visual.json +++ b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/bea9f909e8ea3287974b/visual.json @@ -251,6 +251,54 @@ "Value": "'''Dim_Market''[MARKET]'" } } + ], + [ + { + "Literal": { + "Value": "'Market & Product'" + } + }, + { + "Literal": { + "Value": "'''Dim_KeyCompetitor''[KEY_COMPETITOR]'" + } + } + ], + [ + { + "Literal": { + "Value": "'Organization'" + } + }, + { + "Literal": { + "Value": "'''Dim_Org''[rc_name_en]'" + } + } + ], + [ + { + "Literal": { + "Value": "'Organization'" + } + }, + { + "Literal": { + "Value": "'''Dim_Org''[RC_NAME]'" + } + } + ], + [ + { + "Literal": { + "Value": "'Organization'" + } + }, + { + "Literal": { + "Value": "'''Dim_Org''[rsd_kcode]'" + } + } ] ] } @@ -340,6 +388,86 @@ } ] } + ], + [ + { + "0": [ + { + "Literal": { + "Value": "'Market & Product'" + } + } + ] + }, + { + "1": [ + { + "Literal": { + "Value": "'''Dim_KeyCompetitor''[KEY_COMPETITOR]'" + } + } + ] + } + ], + [ + { + "0": [ + { + "Literal": { + "Value": "'Organization'" + } + } + ] + }, + { + "1": [ + { + "Literal": { + "Value": "'''Dim_Org''[rc_name_en]'" + } + } + ] + } + ], + [ + { + "0": [ + { + "Literal": { + "Value": "'Organization'" + } + } + ] + }, + { + "1": [ + { + "Literal": { + "Value": "'''Dim_Org''[RC_NAME]'" + } + } + ] + } + ], + [ + { + "0": [ + { + "Literal": { + "Value": "'Organization'" + } + } + ] + }, + { + "1": [ + { + "Literal": { + "Value": "'''Dim_Org''[rsd_kcode]'" + } + } + ] + } ] ], "columns": [ @@ -381,6 +509,22 @@ { "0": "Market & Product", "1": "Market" + }, + { + "0": "Market & Product", + "1": "Key Brand" + }, + { + "0": "Organization", + "1": "RC" + }, + { + "0": "Organization", + "1": "RSD Name" + }, + { + "0": "Organization", + "1": "RSD KCODE" } ] } diff --git a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/c1e6daad5ad813ce6bc3/visual.json b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/c1e6daad5ad813ce6bc3/visual.json index ce111b9..2470bd0 100644 --- a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/c1e6daad5ad813ce6bc3/visual.json +++ b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/c1e6daad5ad813ce6bc3/visual.json @@ -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": "c1e6daad5ad813ce6bc3", "position": { "x": 0, @@ -23,11 +23,11 @@ "Entity": "Dim_Calendar" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } }, - "queryRef": "Dim_Calendar.YYYYMM_EXTERNAL", - "nativeQueryRef": "YYYYMM_EXTERNAL" + "queryRef": "Dim_Calendar.YYYYMM_MERGED_DATA", + "nativeQueryRef": "YYYYMM_MERGED_DATA" } ] } @@ -80,7 +80,7 @@ "Source": "d" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } } ], @@ -105,7 +105,7 @@ "Entity": "Dim_Calendar" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } } ], @@ -132,7 +132,7 @@ "Entity": "Dim_Calendar" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } } } @@ -284,8 +284,7 @@ "filterConfig": { "filters": [ { - "name": "6f3d9cd8c20c1c591b4a", - "ordinal": 0, + "name": "d0dc195ea90cddea5bda", "field": { "Column": { "Expression": { @@ -293,76 +292,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_MERGED_DATA" } }, "type": "Categorical", @@ -389,7 +319,7 @@ "Source": "d" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } } ], @@ -397,7 +327,7 @@ [ { "Literal": { - "Value": "'202512'" + "Value": "null" } } ] diff --git a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/dd91211439944323088e/visual.json b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/dd91211439944323088e/visual.json index 591ef1b..0ff590f 100644 --- a/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/dd91211439944323088e/visual.json +++ b/External All Channel.Report/definition/pages/0e3823b90d3901e5c7ca/visuals/dd91211439944323088e/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/533895fc7e570101ad8f/visuals/ef7203939e1cc4b56139/visual.json b/External All Channel.Report/definition/pages/533895fc7e570101ad8f/visuals/ef7203939e1cc4b56139/visual.json index ba37333..e918187 100644 --- a/External All Channel.Report/definition/pages/533895fc7e570101ad8f/visuals/ef7203939e1cc4b56139/visual.json +++ b/External All Channel.Report/definition/pages/533895fc7e570101ad8f/visuals/ef7203939e1cc4b56139/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/6434aeb15d5a156c32a0/visuals/1ca69827e71b623cc350/visual.json b/External All Channel.Report/definition/pages/6434aeb15d5a156c32a0/visuals/1ca69827e71b623cc350/visual.json index 0407466..d3e0f9e 100644 --- a/External All Channel.Report/definition/pages/6434aeb15d5a156c32a0/visuals/1ca69827e71b623cc350/visual.json +++ b/External All Channel.Report/definition/pages/6434aeb15d5a156c32a0/visuals/1ca69827e71b623cc350/visual.json @@ -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": "1ca69827e71b623cc350", "position": { "x": 0, @@ -23,11 +23,11 @@ "Entity": "Dim_Calendar" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } }, - "queryRef": "Dim_Calendar.YYYYMM_EXTERNAL", - "nativeQueryRef": "YYYYMM_EXTERNAL" + "queryRef": "Dim_Calendar.YYYYMM_MERGED_DATA", + "nativeQueryRef": "YYYYMM_MERGED_DATA" } ] } @@ -80,7 +80,7 @@ "Source": "d" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } } ], @@ -105,7 +105,7 @@ "Entity": "Dim_Calendar" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } } ], @@ -132,7 +132,7 @@ "Entity": "Dim_Calendar" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } } } @@ -284,8 +284,7 @@ "filterConfig": { "filters": [ { - "name": "6f3d9cd8c20c1c591b4a", - "ordinal": 0, + "name": "d0dc195ea90cddea5bda", "field": { "Column": { "Expression": { @@ -293,76 +292,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_MERGED_DATA" } }, "type": "Categorical", @@ -389,7 +319,7 @@ "Source": "d" } }, - "Property": "YYYYMM_EXTERNAL" + "Property": "YYYYMM_MERGED_DATA" } } ], @@ -397,42 +327,7 @@ [ { "Literal": { - "Value": "'202508'" - } - } - ], - [ - { - "Literal": { - "Value": "'202509'" - } - } - ], - [ - { - "Literal": { - "Value": "'202510'" - } - } - ], - [ - { - "Literal": { - "Value": "'202511'" - } - } - ], - [ - { - "Literal": { - "Value": "'202512'" - } - } - ], - [ - { - "Literal": { - "Value": "'202507'" + "Value": "null" } } ] diff --git a/External All Channel.Report/definition/pages/6434aeb15d5a156c32a0/visuals/f54a6882bf13701d8214/visual.json b/External All Channel.Report/definition/pages/6434aeb15d5a156c32a0/visuals/f54a6882bf13701d8214/visual.json index cf13715..57fdc39 100644 --- a/External All Channel.Report/definition/pages/6434aeb15d5a156c32a0/visuals/f54a6882bf13701d8214/visual.json +++ b/External All Channel.Report/definition/pages/6434aeb15d5a156c32a0/visuals/f54a6882bf13701d8214/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/72d86b23a3c9e4d9b1c6/visuals/a52bfe0a9fb6e3bae980/visual.json b/External All Channel.Report/definition/pages/72d86b23a3c9e4d9b1c6/visuals/a52bfe0a9fb6e3bae980/visual.json index 0b16efd..27c6fde 100644 --- a/External All Channel.Report/definition/pages/72d86b23a3c9e4d9b1c6/visuals/a52bfe0a9fb6e3bae980/visual.json +++ b/External All Channel.Report/definition/pages/72d86b23a3c9e4d9b1c6/visuals/a52bfe0a9fb6e3bae980/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/7901063b99ba6dd20a76/visuals/bfdaccb23c397530615a/visual.json b/External All Channel.Report/definition/pages/7901063b99ba6dd20a76/visuals/bfdaccb23c397530615a/visual.json index 2b7ba20..ded7e40 100644 --- a/External All Channel.Report/definition/pages/7901063b99ba6dd20a76/visuals/bfdaccb23c397530615a/visual.json +++ b/External All Channel.Report/definition/pages/7901063b99ba6dd20a76/visuals/bfdaccb23c397530615a/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/ReportSection3e9b78a99de7939003a0/visuals/ad588a7aa210c3e9d2dd/visual.json b/External All Channel.Report/definition/pages/ReportSection3e9b78a99de7939003a0/visuals/ad588a7aa210c3e9d2dd/visual.json index 806740f..1c4d379 100644 --- a/External All Channel.Report/definition/pages/ReportSection3e9b78a99de7939003a0/visuals/ad588a7aa210c3e9d2dd/visual.json +++ b/External All Channel.Report/definition/pages/ReportSection3e9b78a99de7939003a0/visuals/ad588a7aa210c3e9d2dd/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/ReportSection7c203e32de7071898401/visuals/849249c56d30d7095539/visual.json b/External All Channel.Report/definition/pages/ReportSection7c203e32de7071898401/visuals/849249c56d30d7095539/visual.json index 6453690..1347ae7 100644 --- a/External All Channel.Report/definition/pages/ReportSection7c203e32de7071898401/visuals/849249c56d30d7095539/visual.json +++ b/External All Channel.Report/definition/pages/ReportSection7c203e32de7071898401/visuals/849249c56d30d7095539/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/ReportSectioneb7f7ada5bac80ed00c1/visuals/2fa69179be0d53c0590a/visual.json b/External All Channel.Report/definition/pages/ReportSectioneb7f7ada5bac80ed00c1/visuals/2fa69179be0d53c0590a/visual.json index be117ec..49f2c6b 100644 --- a/External All Channel.Report/definition/pages/ReportSectioneb7f7ada5bac80ed00c1/visuals/2fa69179be0d53c0590a/visual.json +++ b/External All Channel.Report/definition/pages/ReportSectioneb7f7ada5bac80ed00c1/visuals/2fa69179be0d53c0590a/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/10b4afd023a970d9d100/visual.json b/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/10b4afd023a970d9d100/visual.json index c26c618..973972a 100644 --- a/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/10b4afd023a970d9d100/visual.json +++ b/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/10b4afd023a970d9d100/visual.json @@ -225,24 +225,24 @@ [ { "Literal": { - "Value": "'Market & Product'" + "Value": "'Organization'" } }, { "Literal": { - "Value": "'''Dim_PackInfo''[PROD_DES_C]'" + "Value": "'''Dim_Org''[rc_name_en]'" } } ], [ { "Literal": { - "Value": "'Market & Product'" + "Value": "'Organization'" } }, { "Literal": { - "Value": "'''Dim_PackInfo''[PACK_COD]'" + "Value": "'''Dim_Org''[RC_NAME]'" } } ] @@ -340,7 +340,7 @@ "0": [ { "Literal": { - "Value": "'Market & Product'" + "Value": "'Organization'" } } ] @@ -349,7 +349,7 @@ "1": [ { "Literal": { - "Value": "'''Dim_PackInfo''[PROD_DES_C]'" + "Value": "'''Dim_Org''[rc_name_en]'" } } ] @@ -360,7 +360,7 @@ "0": [ { "Literal": { - "Value": "'Market & Product'" + "Value": "'Organization'" } } ] @@ -369,7 +369,7 @@ "1": [ { "Literal": { - "Value": "'''Dim_PackInfo''[PACK_COD]'" + "Value": "'''Dim_Org''[RC_NAME]'" } } ] @@ -417,12 +417,12 @@ "1": "Market" }, { - "0": "Market & Product", - "1": "Brand CN" + "0": "Organization", + "1": "RC" }, { - "0": "Market & Product", - "1": "Package Code" + "0": "Organization", + "1": "RSD Name" } ] } diff --git a/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/8eecdf971487c06d8850/visual.json b/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/8eecdf971487c06d8850/visual.json index c522d0c..d69528f 100644 --- a/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/8eecdf971487c06d8850/visual.json +++ b/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/8eecdf971487c06d8850/visual.json @@ -105,7 +105,7 @@ [ { "Literal": { - "Value": "'R'" + "Value": "'202601'" } } ] @@ -133,7 +133,7 @@ "0": [ { "Literal": { - "Value": "'R'" + "Value": "'202601'" } } ] @@ -157,7 +157,7 @@ }, "valueMap": [ { - "0": "R" + "0": "202601" } ] } diff --git a/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/d8c0212c7746abecd29d/visual.json b/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/d8c0212c7746abecd29d/visual.json index 81a1749..485b357 100644 --- a/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/d8c0212c7746abecd29d/visual.json +++ b/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/d8c0212c7746abecd29d/visual.json @@ -202,18 +202,6 @@ "Value": "'''Measure''[External.Sales.KPI.Market]'" } } - ], - [ - { - "Literal": { - "Value": "'Growth'" - } - }, - { - "Literal": { - "Value": "'''Measure''[External.Gr%.KPI]'" - } - } ] ] } @@ -283,26 +271,6 @@ } ] } - ], - [ - { - "0": [ - { - "Literal": { - "Value": "'Growth'" - } - } - ] - }, - { - "1": [ - { - "Literal": { - "Value": "'''Measure''[External.Gr%.KPI]'" - } - } - ] - } ] ], "columns": [ @@ -340,10 +308,6 @@ { "0": "Sales", "1": "Market Size" - }, - { - "0": "Growth", - "1": "GR%" } ] } diff --git a/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/e540378da57667468e92/visual.json b/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/e540378da57667468e92/visual.json index c05ce30..d4eff26 100644 --- a/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/e540378da57667468e92/visual.json +++ b/External All Channel.Report/definition/pages/ReportSectioned71c491b41e12906de3/visuals/e540378da57667468e92/visual.json @@ -65,30 +65,30 @@ "Column": { "Expression": { "SourceRef": { - "Entity": "Dim_PackInfo" + "Entity": "Dim_Org" } }, - "Property": "PROD_DES_C" + "Property": "rc_name_en" } }, - "queryRef": "Dim_PackInfo.PROD_DES_C", - "nativeQueryRef": "Brand CN", - "displayName": "Brand CN" + "queryRef": "Dim_Org.rc_name_en", + "nativeQueryRef": "RC", + "displayName": "RC" }, { "field": { "Column": { "Expression": { "SourceRef": { - "Entity": "Dim_PackInfo" + "Entity": "Dim_Org" } }, - "Property": "PACK_COD" + "Property": "RC_NAME" } }, - "queryRef": "Dim_PackInfo.PACK_COD", - "nativeQueryRef": "Package Code", - "displayName": "Package Code" + "queryRef": "Dim_Org.RC_NAME", + "nativeQueryRef": "RSD Name", + "displayName": "RSD Name" }, { "field": { @@ -119,21 +119,6 @@ "queryRef": "Measure.External.Sales.KPI.Market", "nativeQueryRef": "Market Size", "displayName": "Market Size" - }, - { - "field": { - "Measure": { - "Expression": { - "SourceRef": { - "Entity": "Measure" - } - }, - "Property": "External.Gr%.KPI" - } - }, - "queryRef": "Measure.External.Gr%.KPI", - "nativeQueryRef": "GR%", - "displayName": "GR%" } ], "fieldParameters": [ @@ -149,7 +134,7 @@ } }, "index": 1, - "length": 3 + "length": 2 }, { "parameterExpr": { @@ -5956,7 +5941,8 @@ "Property": "PROD_DES_C" } }, - "type": "Advanced" + "type": "Advanced", + "howCreated": "User" }, { "name": "Filterbbdf344948810dcead93", @@ -5971,7 +5957,8 @@ "Property": "External.Gr%.KPI" } }, - "type": "Advanced" + "type": "Advanced", + "howCreated": "User" }, { "name": "Filtercb4486f283dd76850900", @@ -6049,7 +6036,8 @@ "Property": "PACK_COD" } }, - "type": "Categorical" + "type": "Categorical", + "howCreated": "User" }, { "name": "5eb96d5460100c235c96", @@ -6158,6 +6146,34 @@ } }, "type": "Advanced" + }, + { + "name": "a968e9fd548936aa1bd0", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "Dim_Org" + } + }, + "Property": "rc_name_en" + } + }, + "type": "Categorical" + }, + { + "name": "f1b5cb345c500becc6b9", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "Dim_Org" + } + }, + "Property": "RC_NAME" + } + }, + "type": "Categorical" } ], "filterSortOrder": "Custom" diff --git a/External All Channel.Report/definition/pages/db03a629b7e27dacc7b6/visuals/e8b9891710b6938405c3/visual.json b/External All Channel.Report/definition/pages/db03a629b7e27dacc7b6/visuals/e8b9891710b6938405c3/visual.json index 2b96e91..4829ed6 100644 --- a/External All Channel.Report/definition/pages/db03a629b7e27dacc7b6/visuals/e8b9891710b6938405c3/visual.json +++ b/External All Channel.Report/definition/pages/db03a629b7e27dacc7b6/visuals/e8b9891710b6938405c3/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/e9a27bd30a51c0733673/visuals/54c21817ded556596a53/visual.json b/External All Channel.Report/definition/pages/e9a27bd30a51c0733673/visuals/54c21817ded556596a53/visual.json index e58c2ee..8038202 100644 --- a/External All Channel.Report/definition/pages/e9a27bd30a51c0733673/visuals/54c21817ded556596a53/visual.json +++ b/External All Channel.Report/definition/pages/e9a27bd30a51c0733673/visuals/54c21817ded556596a53/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.Report/definition/pages/ecb4c3d9dd5480470c2b/visuals/64e0cd2f7ce0471a8775/visual.json b/External All Channel.Report/definition/pages/ecb4c3d9dd5480470c2b/visuals/64e0cd2f7ce0471a8775/visual.json index b298357..034124f 100644 --- a/External All Channel.Report/definition/pages/ecb4c3d9dd5480470c2b/visuals/64e0cd2f7ce0471a8775/visual.json +++ b/External All Channel.Report/definition/pages/ecb4c3d9dd5480470c2b/visuals/64e0cd2f7ce0471a8775/visual.json @@ -67,7 +67,7 @@ [ { "Literal": { - "Value": "'MTH'" + "Value": "'YTD'" } } ] diff --git a/External All Channel.SemanticModel/definition/cultures/zh-CN.tmdl b/External All Channel.SemanticModel/definition/cultures/zh-CN.tmdl index 991f1f0..af580b2 100644 --- a/External All Channel.SemanticModel/definition/cultures/zh-CN.tmdl +++ b/External All Channel.SemanticModel/definition/cultures/zh-CN.tmdl @@ -41403,16 +41403,6 @@ cultureInfo zh-CN "State": "Generated", "Weight": 0.99 } - }, - { - "Brand": { - "State": "Suggested", - "Source": { - "Type": "External", - "Agent": "PowerBI.VisualColumnRename" - }, - "Weight": 0.9 - } } ] }, @@ -41729,6 +41719,16 @@ cultureInfo zh-CN "State": "Generated", "Weight": 0.99 } + }, + { + "Key Brand": { + "State": "Suggested", + "Source": { + "Type": "External", + "Agent": "PowerBI.VisualColumnRename" + }, + "Weight": 0.9 + } } ] }, diff --git a/External All Channel.SemanticModel/definition/tables/00_KPI.tmdl b/External All Channel.SemanticModel/definition/tables/00_KPI.tmdl index e204b2a..5ea6af3 100644 --- a/External All Channel.SemanticModel/definition/tables/00_KPI.tmdl +++ b/External All Channel.SemanticModel/definition/tables/00_KPI.tmdl @@ -1010,7 +1010,9 @@ table 00_KPI RETURN SWITCH ( TRUE ( ) - , ISFILTERED ( Dim_Org ) && NOT ISFILTERED ( Dim_Market ) + , + //若选择Molecule,选择地理,且市场是品牌报告里面的市场 + ISFILTERED ( Dim_Org ) && NOT ISFILTERED ( Dim_Market ) && NOT ISFILTERED ( Dim_BrandDefaultMKT ), --BLANK(), IF ( [Fix_Is_AIA.MID.MID], [External.Sales.LY.MTH] ) , ISFILTERED ( Dim_IsTarget_AIASpecial ) @@ -1025,20 +1027,15 @@ table 00_KPI && NOT ISFILTERED ( Dim_BrandDefaultMKT ), BLANK ( ) , - // 隐藏HTN Market 和 Respules Market OR ( DS = "Retail", MGDS = "dtp" ) && ( ISFILTERED ( Dim_Geo ) || ISFILTERED ( Dim_Org ) ) && MKT_FLAG = 2, BLANK ( ) - , DS = "Retail" && MKT_FLAG = 0 - && province_flag + , DS = "Retail" && MKT_FLAG = 0 && province_flag && OR ( period_flag, AND ( NOT period_flag, NOT mm_flag ) ), BLANK ( ) - , - - //若选择地理,且省份维度不是全国 - OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) && MKT_FLAG = 1 + , OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) && MKT_FLAG = 1 && NOT SELECTEDVALUE ( Dim_Market[MARKET] ) = "egfr tki market" && NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] ) @@ -1073,8 +1070,17 @@ table 00_KPI && ( ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ) ) && PROD_FLAG = 0, BLANK ( ) + , MGDS = "dtp" && province_flag, + CALCULATE ( + [External.Sales.LY.MTH], + KEEPFILTERS ( + Dim_GeoKey[AUDIT_SOURCE] <> "ROCDTP(Quarterly)" + ) + , KEEPFILTERS ( + Dim_GeoKey[AUDIT_SOURCE] <> "ROCIQVIA-CHPA(Monthly)" + ) + ) , - --若不选pack,用于计算class相关KPI OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) && ( ISFILTERED ( Dim_Geo ) || ISFILTERED ( Dim_Org ) ) @@ -1088,8 +1094,7 @@ table 00_KPI , //若选择Molecule,没选择地理 - OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) - && NOT ISFILTERED ( Dim_Geo ) + DS IN { "Retail", "EC", "DTP" } && NOT ISFILTERED ( Dim_Geo ) && NOT ISFILTERED ( Dim_Org ) && NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] ) @@ -1125,12 +1130,8 @@ table 00_KPI || ISFILTERED ( Dim_PackInfo[CMPS_COD] ) || ISFILTERED ( Dim_PackInfo[CMPS_DES] ) || ISFILTERED ( Dim_PackInfo[CMPS_DES_C] ) ), - CALCULATE ( - [External.Sales.LY.MTH], - Fact_Sales[CMPS_FLAG] = 1 - ) + CALCULATE ( [External.Sales.LY.MTH], Fact_Sales[CMPS_FLAG] = 1 ) , - //若选择BRAND,没有选择地理 OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) && NOT ISFILTERED ( Dim_Geo ) @@ -1159,14 +1160,11 @@ table 00_KPI || ISFILTERED ( Dim_PackInfo[PROD_CORP_C] ) || ISFILTERED ( Dim_PackInfo[PROD_DES] ) || ISFILTERED ( Dim_PackInfo[PROD_DES_C] ) ), - CALCULATE ( - [External.Sales.LY.MTH], - Fact_Sales[GEO_FLAG] = 1 - ) + CALCULATE ( [External.Sales.LY.MTH], Fact_Sales[GEO_FLAG] = 1 ) , - //若选择PACKAGE,不选择地理维度,1表示pack+省份数据;2表示pack+全国的数据 - DS IN { "Retail", "EC", "DTP" } && NOT ISFILTERED ( Dim_Org ) + OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) + && NOT ISFILTERED ( Dim_Org ) && NOT ISFILTERED ( Dim_Geo ) && ( ISFILTERED ( Dim_PackInfo[PACK_DES] ) || ISFILTERED ( Dim_PackInfo[PACK_LCH] ) @@ -1178,7 +1176,6 @@ table 00_KPI ) , - //若选择PACKAGE,且省份维度不是全国 OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) && ( ISFILTERED ( Dim_PackInfo[PACK_DES] ) @@ -1187,42 +1184,20 @@ table 00_KPI || ISFILTERED ( Dim_PackInfo[PROD_PACK_CORP] ) ), IF ( SELECTEDVALUE ( Dim_Market[MARKET] ) <> "EGFR TKI Market" - , CALCULATE ( - [External.Sales.LY.MTH], - Fact_Sales[PACK_FLAG] = 1 - ) - , CALCULATE ( - [External.Sales.LY.MTH], - Fact_Sales[GEO_FLAG] = 1 - ) + , CALCULATE ( [External.Sales.LY.MTH], Fact_Sales[PACK_FLAG] = 1 ) + , CALCULATE ( [External.Sales.LY.MTH], Fact_Sales[GEO_FLAG] = 1 ) ) , //chap选择地理,隐藏ROC - DS IN { "CHPA" } && ( ISFILTERED ( Dim_Geo ) || ISFILTERED ( Dim_Org ) ), + DS IN { "CHPA" } && province_flag, CALCULATE ( [External.Sales.LY.MTH], KEEPFILTERS ( - Fact_Sales[AUDIT_SOURCE] <> "ROCIQVIA-CHPA(Monthly)" + Dim_GeoKey[AUDIT_SOURCE] <> "ROCIQVIA-CHPA(Monthly)" ) ) , [External.Sales.LY.MTH] ) - /*---------------------------------KPI描述------------------------------------ - ------创建者:zhouxin - ------邮箱:kmls393@astrazeneca.net - ------KPI名字:PDOT - ------KPI公式:1、若TA是ONCO且是Retail,需要取DTP_FLAG为1的数据; - 2、若选择PACKAGE,且外部渠道是Retail,不选择地理维度,展示PACK_FLAG是1和2的数据(1:pack+省份数据;2:pack+全国的数据); - 3、若选择PACKAGE,且外部渠道是Retail,且选择了具体的某个省份(非全国),展示PACK_FLAG是1的数据; - 4、若选择PROD,且外部渠道是Retail,展示Prod_FLAG是1的数据; - 5、若选择地理维度,且外部渠道是Retail,展示PACK_FLAG是1和2的数据; - 6、其余渠道,取原来的PDOT kpi。 - ------备注:1、DTP的数据不参与retail总计计算,其余外部渠道数据默认是0; - 2、1:pack+省份数据,意思是提供的原始数据就是Pack+省份的数据;2:pack+全国的数据,意思是提供的原始数据是pack+全国数据,只是因为倒减,在底表中显示的是pack+省份。 - ------创建时间:2024.5.15 - ------修改时间:2024.6.10 - ------修改内容:添加Retail的特殊逻辑处理 - ----------------------------------------------------------------------------*/ displayFolder: Normal\05 lineageTag: 0726ecc2-0bf6-43de-a635-c0089856d494 @@ -1356,14 +1331,12 @@ table 00_KPI && NOT ISFILTERED ( Dim_BrandDefaultMKT ), BLANK ( ) , - // 隐藏HTN Market 和 Respules Market OR ( DS = "Retail", MGDS = "dtp" ) && ( ISFILTERED ( Dim_Geo ) || ISFILTERED ( Dim_Org ) ) && MKT_FLAG = 2, BLANK ( ) - , DS = "Retail" && MKT_FLAG = 0 - && province_flag + , DS = "Retail" && MKT_FLAG = 0 && province_flag && OR ( period_flag, AND ( NOT period_flag, NOT mm_flag ) ), BLANK ( ) , OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) && MKT_FLAG = 1 @@ -1401,8 +1374,17 @@ table 00_KPI && ( ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ) ) && PROD_FLAG = 0, BLANK ( ) + , MGDS IN { "dtp", "chpa" } && province_flag, + CALCULATE ( + [External.Sales.MTH] + , KEEPFILTERS ( + Dim_GeoKey[AUDIT_SOURCE] <> "ROCDTP(Quarterly)" + ) + , KEEPFILTERS ( + Dim_GeoKey[AUDIT_SOURCE] <> "ROCIQVIA-CHPA(Monthly)" + ) + ) , - --若不选pack,用于计算class相关KPI OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) && ( ISFILTERED ( Dim_Geo ) || ISFILTERED ( Dim_Org ) ) @@ -1416,8 +1398,7 @@ table 00_KPI , //若选择Molecule,没选择地理 - OR ( DS IN { "Retail", "EC", "DTP" }, MGDS = "dtp" ) - && NOT ISFILTERED ( Dim_Geo ) + DS IN { "Retail", "EC", "DTP" } && NOT ISFILTERED ( Dim_Geo ) && NOT ISFILTERED ( Dim_Org ) && NOT ISFILTERED ( Dim_PackInfo[PROD_COD] ) && NOT ISFILTERED ( Dim_PackInfo[PROD_DES_C] ) @@ -1512,11 +1493,11 @@ table 00_KPI ) , //chap选择地理,隐藏ROC - DS IN { "CHPA" } && ( ISFILTERED ( Dim_Geo ) || ISFILTERED ( Dim_Org ) ), + DS IN { "CHPA" } && province_flag, CALCULATE ( [External.Sales.MTH], KEEPFILTERS ( - Fact_Sales[AUDIT_SOURCE] <> "ROCIQVIA-CHPA(Monthly)" + Dim_GeoKey[AUDIT_SOURCE] <> "ROCIQVIA-CHPA(Monthly)" ) ) , [External.Sales.MTH] diff --git a/External All Channel.SemanticModel/definition/tables/Dim_Class.tmdl b/External All Channel.SemanticModel/definition/tables/Dim_Class.tmdl index 78bf8fe..61d06bb 100644 --- a/External All Channel.SemanticModel/definition/tables/Dim_Class.tmdl +++ b/External All Channel.SemanticModel/definition/tables/Dim_Class.tmdl @@ -42,7 +42,7 @@ table Dim_Class partition Dim_Class = m mode: import - queryGroup: OLD\非首页 + queryGroup: Dim source = ``` let Source = @@ -56,7 +56,8 @@ table Dim_Class ){ [Name = CatalogName, Kind = "Database"] }[Data], - "WITH class_sales AS ( + " + WITH class_sales AS ( -- 第一步:聚合,得到每个 class 的总销售额 SELECT class, @@ -73,6 +74,7 @@ table Dim_Class FROM class_sales ) SELECT /*+ BROADCAST(R) */ + DISTINCT L.MARKET, L.CLASS, L.DATASOURCE AS DATA_SOURCE, @@ -80,7 +82,7 @@ table Dim_Class FROM dm.dm_td_ext_unionall_market_pack_mapping L LEFT JOIN class_rn R ON L.CLASS = R.CLASS - " + " & UsingLimit, null, [ diff --git a/External All Channel.SemanticModel/definition/tables/Measure.tmdl b/External All Channel.SemanticModel/definition/tables/Measure.tmdl index 30c2455..f23c2a3 100644 --- a/External All Channel.SemanticModel/definition/tables/Measure.tmdl +++ b/External All Channel.SemanticModel/definition/tables/Measure.tmdl @@ -17109,378 +17109,6 @@ table Measure annotation PBI_FormatHint = {"isGeneralNumber":true} - measure 'External.ClassShare' = - //CALCULATE( - DIVIDE ( - [External.Sales.KPI.Class], - [External.Sales.KPI.Market] - ) - //, - //MQY[Period] = "QTD" - //) - displayFolder: OLD\ForAI - lineageTag: af4a9c37-76b7-4a7d-8cc8-13495041c5d5 - - measure 'External.ClassShare.FirstQ' = - CALCULATE( - DIVIDE( - [External.Sales.KPI.Class], - [External.Sales.KPI.Market] - ), - MQY[Period] = "First_QTD" - ) - displayFolder: OLD\ForAI - lineageTag: f73456ac-fce5-4055-aece-b09470827231 - - measure 'External.ClassShare.LastQ' = - CALCULATE( - DIVIDE( - [External.Sales.KPI.Class], - [External.Sales.KPI.Market] - ), - MQY[Period] = "Previous_QTD" - ) - displayFolder: OLD\ForAI - lineageTag: 08380c7a-37c9-468f-8114-d2b53c3d44ed - - measure 'External.ClassShare.LHY' = - CALCULATE( - DIVIDE( - [External.Sales.KPI.Class], - [External.Sales.KPI.Market] - ), - MQY[Period] = "Previous_HTD" - ) - displayFolder: OLD\ForAI - lineageTag: f2b09f5d-2b44-4c7b-8b87-b781bd98c9a8 - - measure 'External.ClassShare.LY' = - //CALCULATE( - DIVIDE ( - [External.Sales.LY.KPI.Class], - [External.Sales.LY.KPI.Market] - ) - //, - // MQY[Period] = "QTD" - //) - displayFolder: OLD\ForAI - lineageTag: 47551bc8-9c8c-4a69-a91d-7742da405334 - - measure 'External.ClassShare.Δ.FQ.Name' = - VAR _sumtable = - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_Class[CLASS] ), - TREATAS( - VALUES( Dim_Market[MARKET] ), - Dim_Class[MARKET] - ), - ALLSELECTED( Dim_Class[CLASS] ) - ), - "@delatclass", - CALCULATE( - [External.ClassShare] - [External.ClassShare.FirstQ] - ) - ), - [@delatclass], DESC - ) - RETURN - IF( - ISBLANK( [External.Sales.KPI.Market] ) - || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), - BLANK( ), - CONCATENATEX( _sumtable, Dim_Class[CLASS], ) - ) - displayFolder: OLD\ForAI - lineageTag: ad9ca2da-93c5-4c8a-9b52-bc121e804c9b - - measure 'External.ClassShare.Δ.FQ.Value' = - VAR _sumtable = - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_Class[CLASS] ), - TREATAS( - VALUES( Dim_Market[MARKET] ), - Dim_Class[MARKET] - ), - ALLSELECTED( Dim_Class[CLASS] ) - ), - "@delatclass", - CALCULATE( - [External.ClassShare] - [External.ClassShare.FirstQ] - ) - ), - [@delatclass], DESC - ) - RETURN - IF( - ISBLANK( [External.Sales.KPI.Market] ) - || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), - BLANK( ), - CONCATENATEX( _sumtable, FORMAT( [@delatclass], "#0.0%" ), ) - ) - displayFolder: OLD\ForAI - lineageTag: c5853528-087a-4f55-888b-e577a60de923 - - measure 'External.ClassShare.Δ.LHY.Name' = - VAR _sumtable = - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_Class[CLASS] ), - TREATAS( - VALUES( Dim_Market[MARKET] ), - Dim_Class[MARKET] - ), - ALLSELECTED( Dim_Class[CLASS] ) - ), - "@delatclass", - CALCULATE( - [External.ClassShare] - [External.ClassShare.LHY] - ) - ), - [@delatclass], DESC - ) - RETURN - IF( - ISBLANK( [External.Sales.KPI.Market] ) - || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), - BLANK( ), - CONCATENATEX( _sumtable, Dim_Class[CLASS], ) - ) - displayFolder: OLD\ForAI - lineageTag: 99491f33-4643-4124-9184-4e50c582ca5f - - measure 'External.ClassShare.Δ.LHY.Value' = - VAR _sumtable = - TOPN ( - 1, - ADDCOLUMNS ( - CALCULATETABLE ( - VALUES ( Dim_Class[CLASS] ), - TREATAS ( - VALUES ( Dim_Market[MARKET] ), - Dim_Class[MARKET] - ), - ALLSELECTED ( Dim_Class[CLASS] ) - ), - "@delatclass", - CALCULATE ( - [External.ClassShare] - [External.ClassShare.LHY] - ) - ), - [@delatclass], DESC - ) - RETURN - IF ( - ISBLANK ( [External.Sales.KPI.Market] ) - || NOT ( ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ) ), - BLANK ( ), - CONCATENATEX ( _sumtable, FORMAT ( [@delatclass], "#0.0%" ), ) - ) - displayFolder: OLD\ForAI - lineageTag: b2831f5c-cc56-423c-9cd1-f5da1ae9a4b4 - - measure 'External.ClassShare.Δ.LQ.Name' = - VAR _sumtable = - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_Class[CLASS] ), - TREATAS( - VALUES( Dim_Market[MARKET] ), - Dim_Class[MARKET] - ), - ALLSELECTED( Dim_Class[CLASS] ) - ), - "@delatclass", - CALCULATE( - [External.ClassShare] - [External.ClassShare.LastQ] - ) - ), - [@delatclass], DESC - ) - RETURN - IF( - ISBLANK( [External.Sales.KPI.Market] ) - || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), - BLANK( ), - CONCATENATEX( _sumtable, Dim_Class[CLASS], ) - ) - displayFolder: OLD\ForAI - lineageTag: 38b15b3b-ff5f-43d4-bd63-ad1f7dff43d2 - - measure 'External.ClassShare.Δ.LQ.Value' = - VAR _sumtable = - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_Class[CLASS] ), - TREATAS( - VALUES( Dim_Market[MARKET] ), - Dim_Class[MARKET] - ), - ALLSELECTED( Dim_Class[CLASS] ) - ), - "@delatclass", - CALCULATE( - [External.ClassShare] - [External.ClassShare.LastQ] - ) - ), - [@delatclass], DESC - ) - RETURN - IF( - ISBLANK( [External.Sales.KPI.Market] ) - || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), - BLANK( ), - CONCATENATEX( _sumtable, FORMAT( [@delatclass], "#0.0%" ), ) - ) - displayFolder: OLD\ForAI - lineageTag: 3a1e7203-b613-46da-82f3-3528b9d4e119 - - measure 'External.ClassShare.Δ.LY.Name' = - VAR _sumtable = - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_Class[CLASS] ), - TREATAS( - VALUES( Dim_Market[MARKET] ), - Dim_Class[MARKET] - ), - ALLSELECTED( Dim_Class[CLASS] ) - ), - "@delatclass", - CALCULATE( - [External.ClassShare] - [External.ClassShare.LY] - ) - ), - [@delatclass], DESC - ) - RETURN - IF( - ISBLANK( [External.Sales.KPI.Market] ) - || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), - BLANK( ), - CONCATENATEX( _sumtable, Dim_Class[CLASS], ) - ) - displayFolder: OLD\ForAI - lineageTag: ba2be078-8cd2-4b25-a5bf-1fc5249d24c6 - - measure 'External.ClassShare.Δ.LY.Value' = - VAR _sumtable = - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_Class[CLASS] ), - TREATAS( - VALUES( Dim_Market[MARKET] ), - Dim_Class[MARKET] - ), - ALLSELECTED( Dim_Class[CLASS] ) - ), - "@delatclass", - CALCULATE( - [External.ClassShare] - [External.ClassShare.LY] - ) - ), - [@delatclass], DESC - ) - RETURN - IF( - ISBLANK( [External.Sales.KPI.Market] ) - || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), - BLANK( ), - CONCATENATEX( _sumtable, FORMAT( [@delatclass], "#0.0%" ), ) - ) - displayFolder: OLD\ForAI - lineageTag: f2aa6de8-a785-4f16-8951-9f6ed4eca8fa - - measure 'ForAI.Top1.ShareInClass.Name' = - IF ( - AND ( - ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ), - NOT ISBLANK ( [External.Sales.KPI] ) - ), - MAXX ( - TOPN ( - 1, - ADDCOLUMNS ( - CALCULATETABLE ( - VALUES ( Dim_PackInfo[PROD_DES_C] ), - KEEPFILTERS ( Dim_PackInfo[CORP_COD] <> "a5z" ) - ), - "@v", [External.△MS%.KPI.Class] - ), - [@v], DESC - ), - Dim_PackInfo[PROD_DES_C] - ) - ) - displayFolder: OLD\ForAI - lineageTag: eaaa95e5-eb42-42f7-bbce-fa718bc12faa - - measure 'ForAI.Top1.ShareInClass.Value' = - IF( - AND ( - ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ), - NOT ISBLANK ( [External.Sales.KPI] ) - ), - MAXX( - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_PackInfo[PROD_DES_C] ), - KEEPFILTERS( Dim_PackInfo[CORP_COD] <> "a5z" ) - ), - "@v", [External.△MS%.KPI.Class], - "@result",[External.MS%.KPI.Class] - ), - [@v], DESC - ), - [@result] - ) - ) - formatString: #,##0.0 % - displayFolder: OLD\ForAI - lineageTag: 413b895e-77dd-4ab9-bdd0-ecaf463346f2 - - measure 'ForAI.Top1.ΔShareInClass.Value' = - IF( - AND ( - ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ), - NOT ISBLANK ( [External.Sales.KPI] ) - ), - MAXX( - TOPN( - 1, - ADDCOLUMNS( - CALCULATETABLE( - VALUES( Dim_PackInfo[PROD_DES_C] ), - KEEPFILTERS( Dim_PackInfo[CORP_COD] <> "a5z" ) - ), - "@v", [External.△MS%.KPI.Class] - ), - [@v], DESC - ), - [@v] - ) - ) - formatString: #,##0.0 % - displayFolder: OLD\ForAI - lineageTag: ef44ef79-7921-416c-8ec0-a2d4ac11bf37 - measure 'External.4.1.Text.Retail.NIAD.Text' = VAR R = "NIAD市场月度明细(仅Retail/EC)" VAR EC = "NIAD市场月度明细(仅Retail/EC)" @@ -17551,6 +17179,537 @@ table Measure annotation PBI_FormatHint = {"isGeneralNumber":true} + measure 'ForAI.Top1.ΔShareInClass.Value' = + IF( + AND ( + ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ), + NOT ISBLANK ( [External.Sales.KPI] ) + ), + MAXX( + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_PackInfo[PROD_DES_C] ), + KEEPFILTERS( Dim_PackInfo[CORP_COD] <> "a5z" ) + ), + "@v", [External.△MS%.KPI.Class] + ), + [@v], DESC + ), + [@v] + ) + ) + formatString: #,##0.0 % + displayFolder: OLD\ForAI + lineageTag: e8e65ec3-1b90-42a7-9288-f0076af6803f + + measure 'ForAI.Top1.ΔMS%.Brand.Value' = + IF( + AND ( + ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ), + NOT ISBLANK ( [External.Sales.KPI] ) + ), + MAXX( + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_PackInfo[PROD_DES_C] ), + KEEPFILTERS( Dim_PackInfo[CORP_COD] <> "a5z" ) + ), + "@v", [External.△MS%.KPI], + "@result",[External.MS%.KPI] + ), + [@v], DESC + ), + [@result] + ) + ) + formatString: #,##0.0 % + displayFolder: OLD\ForAI + lineageTag: 8e83e22b-47d4-4d7c-aa2b-d6ba63dd5123 + + measure 'ForAI.Top1.ΔMS%.Brand.Name' = + IF ( + AND ( + ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ), + NOT ISBLANK ( [External.Sales.KPI] ) + ), + MAXX ( + TOPN ( + 1, + ADDCOLUMNS ( + CALCULATETABLE ( + VALUES ( Dim_PackInfo[PROD_DES_C] ), + KEEPFILTERS ( Dim_PackInfo[CORP_COD] <> "a5z" ) + ), + "@v", [External.△MS%.KPI] + ), + [@v], DESC + ), + Dim_PackInfo[PROD_DES_C] + ) + ) + displayFolder: OLD\ForAI + lineageTag: 263e94e7-7dad-4db8-8345-a48916c081dc + + measure 'ForAI.Top1.ShareInClass.Value' = + IF( + AND ( + ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ), + NOT ISBLANK ( [External.Sales.KPI] ) + ), + MAXX( + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_PackInfo[PROD_DES_C] ), + KEEPFILTERS( Dim_PackInfo[CORP_COD] <> "a5z" ) + ), + "@v", [External.△MS%.KPI.Class], + "@result",[External.MS%.KPI.Class] + ), + [@v], DESC + ), + [@result] + ) + ) + formatString: #,##0.0 % + displayFolder: OLD\ForAI + lineageTag: 91b1a10d-4c36-433a-a28d-097eaf36b4b3 + + measure 'ForAI.Top1.ShareInClass.Name' = + IF ( + AND ( + ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ), + NOT ISBLANK ( [External.Sales.KPI] ) + ), + MAXX ( + TOPN ( + 1, + ADDCOLUMNS ( + CALCULATETABLE ( + VALUES ( Dim_PackInfo[PROD_DES_C] ), + KEEPFILTERS ( Dim_PackInfo[CORP_COD] <> "a5z" ) + ), + "@v", [External.△MS%.KPI.Class] + ), + [@v], DESC + ), + Dim_PackInfo[PROD_DES_C] + ) + ) + displayFolder: OLD\ForAI + lineageTag: 85f35fbe-59ed-438c-8965-3d8be5e47345 + + measure 'ForAI.R3MvsLastR3M.ΔMS%' = ``` + VAR _cm_ym = MAX ( Dim_Calendar[DATE] ) + VAR _r3m_ym = + CALCULATE ( + MAX ( Dim_Calendar[DATE] ), + DATEADD ( Dim_Calendar[DATE], -3, MONTH ) + ) + VAR _cm_value = + CALCULATE ( + [External.MS%.KPI], + DATESINPERIOD ( Dim_Calendar[DATE], _cm_ym, -3, MONTH ) + ) + VAR _r3m_value = + CALCULATE ( + [External.MS%.KPI], + DATESINPERIOD ( Dim_Calendar[DATE], _r3m_ym, -3, MONTH ) + ) + RETURN + _cm_value - _r3m_value + + ``` + formatString: #,##0.0 % + displayFolder: OLD\ForAI + lineageTag: 64b0726d-b05e-4636-81f3-0199cabb7266 + + measure 'ForAI.R3MvsLastR3M.GR%' = ``` + VAR _cm_ym = MAX ( Dim_Calendar[DATE] ) + VAR _r3m_ym = + CALCULATE ( + MAX ( Dim_Calendar[DATE] ), + DATEADD ( Dim_Calendar[DATE], -3, MONTH ) + ) + VAR _cm_value = + CALCULATE ( + [External.Sales.KPI], + DATESINPERIOD ( Dim_Calendar[DATE], _cm_ym, -3, MONTH ) + ) + VAR _r3m_value = + CALCULATE ( + [External.Sales.KPI], + DATESINPERIOD ( Dim_Calendar[DATE], _r3m_ym, -3, MONTH ) + ) + RETURN + DIVIDE ( _cm_value - _r3m_value, _r3m_value ) + + ``` + formatString: #,##0.0 % + displayFolder: OLD\ForAI + lineageTag: 9e1680d6-b515-41d2-bad3-db7709f3c981 + + measure 'ForAI.R3M.MS%' = + CALCULATE ( + [External.MS%.KPI], + DATESINPERIOD ( + Dim_Calendar[DATE], + MAX ( Dim_Calendar[DATE] ), + -3, + MONTH + ) + ) + formatString: #,##0.0 % + displayFolder: OLD\ForAI + lineageTag: efbd4c1e-eb14-46e7-bb94-b7d9b2d0f732 + + measure 'ForAI.MS%.Rank' = + VAR _brand = + RANK ( + DENSE, CALCULATETABLE ( + ALLSELECTED ( Dim_PackInfo[PROD_DES_C] ) + ), + ORDERBY ( [External.MS%.KPI], DESC ), + LAST + ) + VAR _brand_en = + RANK ( + DENSE, CALCULATETABLE ( + ALLSELECTED ( Dim_PackInfo[PROD_DES] ) + ), + ORDERBY ( [External.MS%.KPI], DESC ), + LAST + ) + VAR _geo = + RANK ( + DENSE, + ALLSELECTED ( Dim_Geo[PROVINCE_C] ), + ORDERBY ( [External.MS%.KPI], DESC ), + LAST + ) + VAR _inst = + RANK ( + DENSE, + ALLSELECTED ( Dim_Institution[INST_NAME] ), + ORDERBY ( [External.MS%.KPI], DESC ), + LAST + ) + RETURN + SWITCH ( + TRUE ( ), + ISINSCOPE ( Dim_PackInfo[PROD_DES_C] ), _brand, + ISINSCOPE ( Dim_PackInfo[PROD_DES] ), _brand_en, + ISINSCOPE ( Dim_Geo[PROVINCE_C] ), _geo, + ISINSCOPE ( Dim_Institution[INST_NAME] ), _inst, + ISINSCOPE ( Dim_Institution[INST_CODE] ), _inst, + BLANK ( ) + ) + formatString: #,##0 + displayFolder: OLD\ForAI + lineageTag: 887b315c-86d8-4a54-a3b7-090c8fe76ff9 + + measure 'External.ClassShare.Δ.LY.Value' = + VAR _sumtable = + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_Class[CLASS] ), + TREATAS( + VALUES( FACT_SALES[MARKET] ), + Dim_Class[MARKET] + ), + ALLSELECTED( Dim_Class[CLASS] ) + ), + "@delatclass", + CALCULATE( + [External.ClassShare] - [External.ClassShare.LY] + ) + ), + [@delatclass], DESC + ) + RETURN + IF( + ISBLANK( [External.Sales.KPI.Market] ) + || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), + BLANK( ), + CONCATENATEX( _sumtable, FORMAT( [@delatclass], "#0.0%" ), ) + ) + displayFolder: OLD\ForAI + lineageTag: 1af10f94-ddbf-45a8-8b79-a6d018ba8305 + + measure 'External.ClassShare.Δ.LY.Name' = + VAR _sumtable = + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_Class[CLASS] ), + TREATAS( + VALUES( FACT_SALES[MARKET] ), + Dim_Class[MARKET] + ), + ALLSELECTED( Dim_Class[CLASS] ) + ), + "@delatclass", + CALCULATE( + [External.ClassShare] - [External.ClassShare.LY] + ) + ), + [@delatclass], DESC + ) + RETURN + IF( + ISBLANK( [External.Sales.KPI.Market] ) + || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), + BLANK( ), + CONCATENATEX( _sumtable, Dim_Class[CLASS], ) + ) + displayFolder: OLD\ForAI + lineageTag: fd57a855-6a2a-4c5d-93f8-b774ae62d8f5 + + measure 'External.ClassShare.Δ.LQ.Value' = + VAR _sumtable = + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_Class[CLASS] ), + TREATAS( + VALUES( FACT_SALES[MARKET] ), + Dim_Class[MARKET] + ), + ALLSELECTED( Dim_Class[CLASS] ) + ), + "@delatclass", + CALCULATE( + [External.ClassShare] - [External.ClassShare.LastQ] + ) + ), + [@delatclass], DESC + ) + RETURN + IF( + ISBLANK( [External.Sales.KPI.Market] ) + || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), + BLANK( ), + CONCATENATEX( _sumtable, FORMAT( [@delatclass], "#0.0%" ), ) + ) + displayFolder: OLD\ForAI + lineageTag: a9ac55de-0fa6-4a3a-ba26-ad91238c1fea + + measure 'External.ClassShare.Δ.LQ.Name' = + VAR _sumtable = + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_Class[CLASS] ), + TREATAS( + VALUES( FACT_SALES[MARKET] ), + Dim_Class[MARKET] + ), + ALLSELECTED( Dim_Class[CLASS] ) + ), + "@delatclass", + CALCULATE( + [External.ClassShare] - [External.ClassShare.LastQ] + ) + ), + [@delatclass], DESC + ) + RETURN + IF( + ISBLANK( [External.Sales.KPI.Market] ) + || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), + BLANK( ), + CONCATENATEX( _sumtable, Dim_Class[CLASS], ) + ) + displayFolder: OLD\ForAI + lineageTag: 0e83c3f9-1c82-42e2-ac70-458ea9b70cff + + measure 'External.ClassShare.Δ.LHY.Value' = + VAR _sumtable = + TOPN ( + 1, + ADDCOLUMNS ( + CALCULATETABLE ( + VALUES ( Dim_Class[CLASS] ), + TREATAS ( + VALUES ( FACT_SALES[MARKET] ), + Dim_Class[MARKET] + ), + ALLSELECTED ( Dim_Class[CLASS] ) + ), + "@delatclass", + CALCULATE ( + [External.ClassShare] - [External.ClassShare.LHY] + ) + ), + [@delatclass], DESC + ) + RETURN + IF ( + ISBLANK ( [External.Sales.KPI.Market] ) + || NOT ( ISFILTERED ( Dim_Market ) || ISFILTERED ( Dim_BrandDefaultMKT ) ), + BLANK ( ), + CONCATENATEX ( _sumtable, FORMAT ( [@delatclass], "#0.0%" ), ) + ) + displayFolder: OLD\ForAI + lineageTag: 67e26417-07fa-4136-aaca-868b932b6788 + + measure 'External.ClassShare.Δ.LHY.Name' = + VAR _sumtable = + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_Class[CLASS] ), + TREATAS( + VALUES( FACT_SALES[MARKET] ), + Dim_Class[MARKET] + ), + ALLSELECTED( Dim_Class[CLASS] ) + ), + "@delatclass", + CALCULATE( + [External.ClassShare] - [External.ClassShare.LHY] + ) + ), + [@delatclass], DESC + ) + RETURN + IF( + ISBLANK( [External.Sales.KPI.Market] ) + || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), + BLANK( ), + CONCATENATEX( _sumtable, Dim_Class[CLASS], ) + ) + displayFolder: OLD\ForAI + lineageTag: e2db3e60-0c3e-4da4-a565-0b832321d5da + + measure 'External.ClassShare.Δ.FQ.Value' = + VAR _sumtable = + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_Class[CLASS] ), + TREATAS( + VALUES( FACT_SALES[MARKET] ), + Dim_Class[MARKET] + ), + ALLSELECTED( Dim_Class[CLASS] ) + ), + "@delatclass", + CALCULATE( + [External.ClassShare] - [External.ClassShare.FirstQ] + ) + ), + [@delatclass], DESC + ) + RETURN + IF( + ISBLANK( [External.Sales.KPI.Market] ) + || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), + BLANK( ), + CONCATENATEX( _sumtable, FORMAT( [@delatclass], "#0.0%" ), ) + ) + displayFolder: OLD\ForAI + lineageTag: bbb840db-b923-415d-937d-440a7101152d + + measure 'External.ClassShare.Δ.FQ.Name' = + VAR _sumtable = + TOPN( + 1, + ADDCOLUMNS( + CALCULATETABLE( + VALUES( Dim_Class[CLASS] ), + TREATAS( + VALUES( FACT_SALES[MARKET] ), + Dim_Class[MARKET] + ), + ALLSELECTED( Dim_Class[CLASS] ) + ), + "@delatclass", + CALCULATE( + [External.ClassShare] - [External.ClassShare.FirstQ] + ) + ), + [@delatclass], DESC + ) + RETURN + IF( + ISBLANK( [External.Sales.KPI.Market] ) + || NOT ( ISFILTERED( Dim_Market ) || ISFILTERED( Dim_BrandDefaultMKT ) ), + BLANK( ), + CONCATENATEX( _sumtable, Dim_Class[CLASS], ) + ) + displayFolder: OLD\ForAI + lineageTag: 84667098-e49c-4583-8147-073b8cd05ea4 + + measure 'External.ClassShare.LY' = + //CALCULATE( + DIVIDE ( + [External.Sales.LY.KPI.Class], + [External.Sales.LY.KPI.Market] + ) + //, + // MQY[Period] = "QTD" + //) + displayFolder: OLD\ForAI + lineageTag: c787db6f-8283-43d8-b584-9e794e050e3f + + measure 'External.ClassShare.LHY' = + CALCULATE( + DIVIDE( + [External.Sales.KPI.Class], + [External.Sales.KPI.Market] + ), + MQY[Period] = "Previous_HTD" + ) + displayFolder: OLD\ForAI + lineageTag: a55de55f-077f-4804-88a6-5c1e5fae3a63 + + measure 'External.ClassShare.LastQ' = + CALCULATE( + DIVIDE( + [External.Sales.KPI.Class], + [External.Sales.KPI.Market] + ), + MQY[Period] = "Previous_QTD" + ) + displayFolder: OLD\ForAI + lineageTag: 307c81d9-53c9-47dd-98c2-84b13bd47aad + + measure 'External.ClassShare.FirstQ' = + CALCULATE( + DIVIDE( + [External.Sales.KPI.Class], + [External.Sales.KPI.Market] + ), + MQY[Period] = "First_QTD" + ) + displayFolder: OLD\ForAI + lineageTag: 763fff03-1656-4ff9-b5ce-0172cc4869fa + + measure 'External.ClassShare' = + //CALCULATE( + DIVIDE ( + [External.Sales.KPI.Class], + [External.Sales.KPI.Market] + ) + //, + //MQY[Period] = "QTD" + //) + displayFolder: OLD\ForAI + lineageTag: 542d74b2-82c6-4eb4-883a-1e9a81b1d103 + column CreatedBy lineageTag: 74ce729e-edbc-46d1-8445-3279ab9bf147 summarizeBy: none diff --git a/External All Channel.SemanticModel/diagramLayout.json b/External All Channel.SemanticModel/diagramLayout.json index 7ea5642..74db5e1 100644 --- a/External All Channel.SemanticModel/diagramLayout.json +++ b/External All Channel.SemanticModel/diagramLayout.json @@ -1680,7 +1680,7 @@ "ordinal": 5, "scrollPosition": { "x": 0, - "y": 55.200000762939453 + "y": 55 }, "nodes": [ {