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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi all,
I am showing % difference in a matrix table.
How can I sort top 5 Products based on another measure, see below?
Thank you in advance.
Can anyone help with this please?
Hope this helps:
Add the measure diff to tooltips and then click on the ellipsis and select descending and diff
This video illustrates that
it doesn't work for Tables and Matrix unfortunately.
Here's an excerpt from a Microsoft document on TOPN() wherein it is stated that the result is not sorted in any order. So apparently, sorting has to be done manually : https://learn.microsoft.com/en-us/dax/topn-function-dax
I think you have to built a calculated column with a RANKX and use it to order. But you have to pay attention to the circular dependency. If i have time a try to help you in the next day.
@lucadelicio thanks, please see if you can help with this one. As i am not sure how to do this.
Can anyone help please?
@lucadelicio No my friend. Please read the instruction in the PBIX
The Accuracy % table should show SKU in this order:
Thanks.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 56 | |
| 43 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |