Forum Discussion
kandre123
6 years agoAdvocate I
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 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
6 years agoCommunity Support
Could you please share some sample data and give the expected result?
Regards,
Jimmy Tao
- kandre1236 years agoAdvocate 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
- parry2k6 years agoSuper 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 agoAdvocate I
thanks. That worked out