Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi
I have to create a page for each of our top production losses. In other words, rank the losses from 1 to 5 and then use the ranking to filter at page level. For example, if filtered on rank 1, all the info for the top loss will show. I can't use a measure for this (measures nog allowed in page level filter). Please assist with the formula for a calculated column to rank the production losses . Thanks in advance.
| Reason | Qty |
| Bubbles | 3 |
| Bad breakout | 15 |
| Bright spot | 12 |
| Fracture test | 2 |
| Hole damage | 47 |
| Bad breakout | 20 |
| Bright spot | 5 |
| Fracture test | 1 |
| Hole damage | 7 |
| Fracture test | 16 |
| Hole damage | 13 |
| Bad breakout | 3 |
| Bright spot | 48 |
| Fracture test | 21 |
| Hole damage | 6 |
| Row Labels | Sum of Qty | Rank |
| Hole damage | 73 | 1 |
| Bright spot | 65 | 2 |
| Fracture test | 40 | 3 |
| Bad breakout | 38 | 4 |
| Bubbles | 3 | 5 |
Solved! Go to Solution.
@vicpg that is actually easy to do. go to power bi desktop query editor -> Group by Reason column -> Sort by descending -> Add index column which will be your rank column.
Thank you very much! (I took me weeks and many complicated formulas, and I could not get to this result.)
Thank you ! ![]()
@vicpg that is actually easy to do. go to power bi desktop query editor -> Group by Reason column -> Sort by descending -> Add index column which will be your rank column.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 46 | |
| 36 | |
| 27 | |
| 23 |
| User | Count |
|---|---|
| 134 | |
| 120 | |
| 58 | |
| 38 | |
| 32 |