44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
table AIA_Merged_Data_opt
|
|
lineageTag: 4e60a050-beac-4658-927a-1adaa68698d0
|
|
|
|
calculationGroup
|
|
precedence: 10
|
|
|
|
calculationItem AIA_Merged_Data_opt =
|
|
IF (
|
|
HASONEVALUE ( Dim_Market[MARKET] ),
|
|
SWITCH (
|
|
TRUE (),
|
|
VALUES ( Dim_Market[MARKET] ) = "egfr tki market",
|
|
CALCULATE (
|
|
SELECTEDMEASURE (),
|
|
KEEPFILTERS ( TREATAS ( { "CHPA", "AIA" }, Fact_Sales[MERGEDATA_FLAG_MKT] ) )
|
|
),
|
|
CALCULATE (
|
|
SELECTEDMEASURE (),
|
|
KEEPFILTERS ( NOT Fact_Sales[MERGEDATA_FLAG_MKT] IN { "normal" } )
|
|
)
|
|
)
|
|
)
|
|
|
|
column AIA_Merged_Data_5_1
|
|
dataType: string
|
|
lineageTag: f8ea23fe-2e5c-461c-bbc8-ea7f143cd534
|
|
summarizeBy: none
|
|
sourceColumn: Name
|
|
sortByColumn: Ordinal
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
column Ordinal
|
|
dataType: int64
|
|
formatString: 0
|
|
lineageTag: e6eab474-3b2f-48b2-ba56-05d7ce5ddcd7
|
|
summarizeBy: sum
|
|
sourceColumn: Ordinal
|
|
|
|
annotation SummarizationSetBy = Automatic
|
|
|
|
annotation TabularEditor_TableGroup = 02_CalGroup
|
|
|