Forum Discussion
Ranking
Hi all,
I am trying to do a combined ranking based on two calculated measures: EBITDA margin and CAGR. where 1 is the combined highest score of both. Problem is that i can't use measures in a RANKX function or at least i do not know how to do it.
I'm also struggling with how to evaluate correctly who should be on top. Would a good idea be to make a calculated table,scoring each measure from highest to lowest, and them up and rank them from a virtual table?
kandre123 you RANK measure should be either use ALLSELECTED(DimSelskaper[Juridisk selskapsnavn]) because you are using column in the table or you should do ALLSELECTED( DimSelskaper )
RankX EBITDA Margin = RANKX( ALLSELECTED(DimSelskaper[Juridisk selskapsnavn]), CALCULATE([EBITDA Margin]),, DESC, Dense )
6 Replies
- amitchandakSuper User
Not sure if This can help. Create 2 rank columns and then either do a sum or Multiple these and use that column as you rank column.
- v-yuta-msftCommunity Support
Could you please share some sample data and give the expected result?
Regards,
Jimmy Tao
- kandre123Advocate I
this is how i'd like the data to show up. Attached is the pbix file
https://www.dropbox.com/sh/cp8p5lwtrrct9pc/AAD5lgcQHhPlB-pySumiTEn1a?dl=0
- parry2kSuper User
kandre123 you RANK measure should be either use ALLSELECTED(DimSelskaper[Juridisk selskapsnavn]) because you are using column in the table or you should do ALLSELECTED( DimSelskaper )
RankX EBITDA Margin = RANKX( ALLSELECTED(DimSelskaper[Juridisk selskapsnavn]), CALCULATE([EBITDA Margin]),, DESC, Dense )