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 guys,
Is there any way we can sort pivot table horizontally similar to we have in Excel pivot tables? Where we can sort values based on columns instead of having columns in alphabetical order.
Cheers
Solved! Go to Solution.
Hi @Anonymous,
The Pivot table you mentioned above is called Matrix visual in Power BI, right? Currently, it is not possible to sort matrix by column headers. We can see there are only two oprions: sort by row, sort by value.
"Where we can sort values based on columns instead of having columns in alphabetical order. " For this requirement, you can refer to Matrix Column Head Order
Best regards,
Yuliana Gu
There is custom visual called TablerSorter and its very helpful in such scenarios. or Visit this link for detailed information http://blog.pragmaticworks.com/power-bi-custom-visuals-table-sorter
Hi @Anonymous,
The Pivot table you mentioned above is called Matrix visual in Power BI, right? Currently, it is not possible to sort matrix by column headers. We can see there are only two oprions: sort by row, sort by value.
"Where we can sort values based on columns instead of having columns in alphabetical order. " For this requirement, you can refer to Matrix Column Head Order
Best regards,
Yuliana Gu
Thank you so much for your help. I wil ltry indexing the columns and change the order.
Cheers
Shruti
There is custom visual called TablerSorter and its very helpful in such scenarios. or Visit this link for detailed information http://blog.pragmaticworks.com/power-bi-custom-visuals-table-sorter
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 |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 20 |
| User | Count |
|---|---|
| 142 | |
| 105 | |
| 63 | |
| 36 | |
| 35 |