This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I have the below matrix but I am having issues sorting it the way that the user has required.
I want the matrix to show the 6 months of revenue first then the 6 months of billing rather than side by side so I know I need to sort on something other than month.
The solution should look similar the pivot table below, but instead of having 'HRS weighted' & 'HRS', I would have Revenue & Billing. Does anyone know how to do this in Power BI? I have briefly tried calculation groups already but can't seem to work it out yet.
MATRIX:
PIVOT TABLE:
Any help would be greatly appreciated.
Thanks,
Shaun
Solved! Go to Solution.
Hi,
you'll need to create a new table with the sorting order for you columns and then use sort by in the column tools to adjust it to that order. I wrote a blog which includes how to do this, check out: https://github.com/DOLEARY85/Power-BI-Replicate-Excel-Table
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Hi,
you'll need to create a new table with the sorting order for you columns and then use sort by in the column tools to adjust it to that order. I wrote a blog which includes how to do this, check out: https://github.com/DOLEARY85/Power-BI-Replicate-Excel-Table
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Thanks so much, I didn't actually need to do anything with the sorting. Duplicating & Unpivoting did the trick by itself.
Great Blog Post 🙂
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 19 | |
| 19 |