chore: update report visuals, semantic model definitions, and cleanup legacy queries

This commit is contained in:
2026-05-14 10:11:41 +08:00
parent 7118b73c5b
commit 84ae943bdb
50 changed files with 1949 additions and 902 deletions

View File

@@ -87,6 +87,31 @@ table 0_Measure_CalGroup
)
)
calculationItem _allmkt_thc =
CALCULATE (
SELECTEDMEASURE ( ),
KEEPFILTERS ( VALUES ( Fact_Sales_thc[PACK_COD] ) ),
REMOVEFILTERS ( Dim_Market[MARKET] ),
REMOVEFILTERS ( Dim_MarketTA ),
Fact_Sales_thc[MARKET] = "all market"
)
calculationItem _not_allmkt_thc = CALCULATE( SELECTEDMEASURE( ), KEEPFILTERS( Fact_Sales_thc[MARKET] <> "all market" ) )
calculationItem _allmkt_TA_thc =
CALCULATE (
SELECTEDMEASURE ( ),
KEEPFILTERS (
CALCULATETABLE (
VALUES ( Fact_Sales_thc[PACK_COD] ),
Fact_Sales_thc[MARKET] <> "all market"
)
),
REMOVEFILTERS ( Dim_Market[MARKET] ),
REMOVEFILTERS ( Dim_MarketTA[TA] ),
Fact_Sales_thc[MARKET] = "all market"
)
column for_measure
dataType: string
lineageTag: daa1dfa2-573f-47cb-9ad6-1985b05ce72e