Forum Discussion
Srikanth5923
3 years agoRegular Visitor
Need a DAX query help
Hi All,
I am new to PowerBI I have an excel file in below format need to calc league rank based on rank and multiply the 15% to get AOE Points. Can someone share DAX query for it.
TIA
Sri
2 Replies
- mlsx4Memorable Member
Hi Srikanth5923 !
You can do this to calculate the league rank:
League Rank = RANKX(ALL('Table'[Site]),CALCULATE(SUM('Table'[Rank]),ALLEXCEPT('Table','Table'[Site])),,ASC)And then,
AOE Points = SUMX(VALUES('Table'[Site]),0.15*[League Rank])Hope it works!
- Srikanth5923Regular Visitor
Thanks for the follow-up. I'll try and get notified.