Forum Discussion
Anonymous
1 year agoNot applicable
Create ranking horizontally
Hi,
I would like to create a measure in pbi to get the ranking horizontally.
For Example, the below are the sales.
I would like to create a meausure to get the ranking for country.
Thanks in advance everyone.
Anonymous , Try using
Country Sales Rank =
RANKX(
ALL('Sales'[Country]),
CALCULATE(SUM('Sales'[SalesAmount])),
,
DESC,
Dense
)
1 Reply
- bhanu_gautamSuper User
Anonymous , Try using
Country Sales Rank =
RANKX(
ALL('Sales'[Country]),
CALCULATE(SUM('Sales'[SalesAmount])),
,
DESC,
Dense
)