重构单表定版

This commit is contained in:
2026-03-30 16:12:55 +08:00
parent 4c32d8d654
commit 9d79643487
32 changed files with 1087 additions and 5096 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": "9d44769b03f96bdc39c2",
"position": {
"x": 1.6666666666666679,
@@ -98,6 +98,47 @@
"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": "080847717410eb2a2e0c",
"position": {
"x": 0.87143460607468626,
@@ -98,6 +98,47 @@
"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": "e84cf6079793e3a10cac",
"position": {
"x": 0.35674880296443234,
@@ -98,6 +98,47 @@
"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": "d746c32deb9d66197e31",
"position": {
"x": 0.50514763766625315,
@@ -136,6 +136,47 @@
}
]
}
},
"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": "feb9f5082699c47020e7",
"position": {
"x": 0,
@@ -116,6 +116,13 @@
"Value": "true"
}
}
},
"strictSingleSelect": {
"expr": {
"Literal": {
"Value": "false"
}
}
}
}
}

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": "fbdf2823001d522a2db4",
"position": {
"x": 0.35674880296443234,
@@ -98,6 +98,47 @@
"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": "dc0d4b2f6bdd7343352a",
"position": {
"x": 0,
@@ -116,6 +116,13 @@
"Value": "true"
}
}
},
"strictSingleSelect": {
"expr": {
"Literal": {
"Value": "false"
}
}
}
}
}

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": "5bcb92300403b3088670",
"position": {
"x": 0.87143460607468626,
@@ -98,6 +98,47 @@
"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": "510e3dc5e875611a56ac",
"position": {
"x": 0.35674880296443234,
@@ -98,6 +98,47 @@
"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,6 +98,47 @@
"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

@@ -105,7 +105,7 @@
[
{
"Literal": {
"Value": "'R'"
"Value": "'202512'"
}
}
]
@@ -133,7 +133,7 @@
"0": [
{
"Literal": {
"Value": "'R'"
"Value": "'202512'"
}
}
]
@@ -157,7 +157,7 @@
},
"valueMap": [
{
"0": "R"
"0": "202512"
}
]
}

View File

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

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": "d8c0212c7746abecd29d",
"position": {
"x": 0,
@@ -190,6 +190,78 @@
"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]'"
}
}
]
]
}
@@ -239,6 +311,126 @@
}
]
}
],
[
{
"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": [
@@ -272,6 +464,30 @@
{
"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,6 +98,85 @@
"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

@@ -74,6 +74,96 @@
"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": [
@@ -89,7 +179,8 @@
}
},
"index": 1,
"length": 1
"length": 7,
"sortDirection": "Descending"
},
{
"parameterExpr": {
@@ -5913,8 +6004,7 @@
"Property": "External.Gr%.KPI"
}
},
"type": "Advanced",
"howCreated": "User"
"type": "Advanced"
},
{
"name": "Filtercb4486f283dd76850900",

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": "ecda1eaf985757b8a795",
"position": {
"x": 0.50514763766625315,
@@ -98,6 +98,47 @@
"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": "484a5ebe70b03e070103",
"position": {
"x": 0.35674880296443234,
@@ -98,6 +98,47 @@
"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": "23e50359e7ae900d1964",
"position": {
"x": 0.35674880296443234,
@@ -98,6 +98,47 @@
"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'"
}
}
]
]
}
}
}
]
}
}
}
}