Forum Discussion
kandre123
Advocate I
6 years agoRanking
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 RAN...
- 6 years ago
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 )
v-yuta-msft
Community Support
6 years ago
Could you please share some sample data and give the expected result?
Regards,
Jimmy Tao
kandre123
Advocate I
6 years agothis 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
- parry2k6 years ago
Super 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 )- kandre1236 years ago
Advocate I
thanks. That worked out