Forum Discussion
Can the Column Sequence within a Matrix visual be sorted using the column Total
- 2 years ago
Hmmm. Interesting. I haven't tested this, but here's what I'm thinking. You know how Power BI default sort is alphabetically, which presents a problem with Month Names, so in our date table we create a sort column. I'm wondering if you can create a calculated column using RANKX to rank your Companies by Total Profit. Then in your company table, sort your company name by the rank column. Then in your visual, sort by Company ASC. Give that a go and let us know if it works.
**edit: on further thought, I don't think an X function will work as a calculated column. You may need to create a calculated table with SUMMARIZECOLUMNS and RANKX as your expression. Use this output as a dimension of your company table. Then use the company name value from this calculated table as your axis value in your visual.
Hi,
I'll try my best:
Open the filters pane with the visualization selected. On the top of that pane where the visualizaton is selected, you can click the three dots and then sort Asc/desc from there.
Hope that helps,
Cam