Forum Discussion
rampsaladi
8 years agoFrequent Visitor
Dynamically Calculating Rank based on Slicer
I have the following sample Dataset and I need to be able to rank the SKU based on the $ Amount for a specific time period and product combination. The user wants to see ranks for multiple time perio...
- 8 years ago
Rank = RANKX ( ALLSELECTED ( TableName ), CALCULATE ( SUM ( TableName[$ Amount] ) ), , DESC, DENSE )
Rfranca
8 years agoResolver IV
hi, rampsaladi
rankn = RANKX(ALL(tabela[Time Period];tabela[Products];tabela[SKU]);[TT_Amount];;ASC;Dense)
Zubair_Muhammad
8 years agoCommunity Champion
Rank =
RANKX (
ALLSELECTED ( TableName ),
CALCULATE ( SUM ( TableName[$ Amount] ) ),
,
DESC,
DENSE
)- rampsaladi8 years agoFrequent Visitor
Thank you this helps