Forum Discussion
Ranking
I have this table which has Body Grouping in BodyPart table and Cause Grouping in InjuryCuase table. Count of Total Gross Incurred is in LossRun.
How do create a Ranking measure that will show me with the Top 3 Body Grouping by Count of Total Gross Incurred and and rank Top 3 Cause Grouping for each Body Grouping?
5 Replies
- Greg_DecklerCommunity Champion
bdehning This might help. To *Bleep* with RANKX! - Microsoft Fabric Community Otherwise...
Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.- bdehningPost Prodigy
Greg,
Thanks for the sample file. Regarding using ToHellWithRankXDescMeasure3
Not all Measures and columns are in same table.
Group for me is Body Grouping in BodyPart.
Item is Cause Grouping in InjuryCauseValue is measure Count of Total Gross Incurred in LossRun.
How do I modify ToHellWithRankXDescMeasure3 to fit my model?- Greg_DecklerCommunity Champion
bdehning Hence why I need sample data to test with.