Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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 @Anonymous 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 @Anonymous 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 @Anonymous
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! 😀
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
56 | |
38 | |
34 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |