Forum Discussion
dannyh246
8 years agoRegular Visitor
Multiple Grouping & Sorting With Slicer
I have a fact table called FactAccumulation, which contains appox 500million records. I have a dimension table called dimZone with about 50 records. Both are defined as follows. [FactAc...
v-jiascu-msft
8 years agoMicrosoft Employee
Hi dannyh246,
Please check out the demo here.
1. Create a calculated table as MiddleTable.
MiddleTable =
SUMMARIZE (
'FactAccumulation',
DimZone[Zone Key],
FactAccumulation[Event ID],
FactAccumulation[Year],
"Total", SUM ( FactAccumulation[Loss USD] )
)2. Create a measure for row numbers.
RowNumEqually =
RANKX (
ALL ( 'MiddleTable'[Year] ),
CALCULATE ( MAX ( 'MiddleTable'[Total] ) )
)3. Create a table visual. The choose calculation type Maximum for column "Total".
Best Regards,
Dale