This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello,
I have this shape Map visual with color saturation based on category that I have created via calculated column. (Please see the image below).
But my legends which is my category are not in order or sorted in Descending/Ascending order.
I want the order like 100% or more, 75-100%, 50-75%, 25-50%, less than 25%.
Solved! Go to Solution.
Hey,
to provide a defined order to column values you have to create an additional column "sort column" that just contains a simple integer value. You have to make sure that for example for each value of "100% and more" the value in the new column equals 1 ...
This is described in this article:
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Hopefully, this is what you are looking for.
If the article doesn't help to solve your requirement, please provide a pbix file with sample data, upload the file to onedrive or dropbox and share the link.
Regards,
Tom
Hey,
to provide a defined order to column values you have to create an additional column "sort column" that just contains a simple integer value. You have to make sure that for example for each value of "100% and more" the value in the new column equals 1 ...
This is described in this article:
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Hopefully, this is what you are looking for.
If the article doesn't help to solve your requirement, please provide a pbix file with sample data, upload the file to onedrive or dropbox and share the link.
Regards,
Tom
Thank you so much for quick reply. I tried using creating sort order column but I dont see any sorting option from three dots on top right corner of Map visual.(Please see the image below)
Hey,
the sort order column is applied in the data model and described in the article, please read the article.
Regards,
Tom
Thanks for the help. I got one error initially(Please see image 1). But I know the solution for that. I create one column using query editor. It solved the issue.
Thank you for your help again.
Perfect!
Hey,
please excuse, I just realized that the document has been changed - I'm sorry about that.
Please search for this section in the document;
Regards,
Tom
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 25 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 28 | |
| 23 | |
| 23 |