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! Get ahead of the game and start preparing now! Learn more
Hi All,
I have some difficulties in sorting based on two columns, Region and Sales region in a slicer. In a table view I can do this. I can sort based on Region. But need to sort based two columns. Need inputs. thanks in advance.
Current Sort.
Solved! Go to Solution.
I did add the sort number sales region and tried to sort in the table view.I got the below error.
It worked after creating a new table Sales Region Sort.
Thanks
Hi @Varshi288 , We are happy to hear that you have found the cause and resolved the issue. Thanks for sharing the details here. Please mark your insights 'Accept as solution' to help others with similar problems find it easily.
Thank you.
You can add a extra column that you define interger that represent the custom sort order of a to sort each column
You can can a calculated column like this
Switch(
Table[country],
"north Europe", 1
"Central Europe", 2
...
)
The Docs describe how to apply the new sorting column
I did add the sort number sales region and tried to sort in the table view.I got the below error.
A single region should not be represented by multiple numbers and a different number should be used per each region
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |