Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need to give a table wich contains top 10 error % over the last year. So I understood I need a ranking. But can't get it to work:
The average is in column 'Avg Error %' and is now sorted. In the column after I need the rank.
I used:
RANK Avg Error % =
RANKX( ALLSELECTED(ErrorTotalsDay[DtKey_Checkdate]); CALCULATE(AVERAGE(ErrorTotalsDay[Error % Day]));;ASC)
Solved! Go to Solution.
Hey @Wisselaar Create these measures
Avg error = Avg(error)
Rank Avg Error = rankx(allselected(rulekey),[Avg error],,desc
Post this, drag this measure in table and in the filter pane just apply a filter that this measure should be less than 11, and it will always show top 10 records.
Hey @Wisselaar Create these measures
Avg error = Avg(error)
Rank Avg Error = rankx(allselected(rulekey),[Avg error],,desc
Post this, drag this measure in table and in the filter pane just apply a filter that this measure should be less than 11, and it will always show top 10 records.
The TOP N Filter option isn't there.
Hi @Wisselaar
You don't need to create a Rank measure. You can use the filter panel and add a condition to show only TOP 10 values based on the Avg. Error % measure.
_______________
If I helped, please accept the solution and give kudos! 😀
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
65 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |