Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Saad-Younus
Frequent Visitor

Azure Map Legend Sort changes when Size Attribute is added

Hi
I am facing this issue. When I don't include Sales as size of bubble, the legend is sorted (as required)

SaadYounus_4-1704756151620.png

When I add sum of sales (or sales) in the size attribute in the format tab, the legend sort changes but I want to keep the original sort

SaadYounus_5-1704756195162.png

 

Here is the table I am using to build the visual (dummy data)

SaadYounus_3-1704756017679.png

Appreciate any help

P.S. I've tried adding another sort table but of no use.

4 REPLIES 4
Anonymous
Not applicable

Hi @Saad-Younus ,

 

This seems to be a design behavior that defaults to sorting the legnd by size.

You can post your idea to Ideas .  https://ideas.powerbi.com/ideas/


Or you can use the map visual object.

Sort [category] in ascending order in power query and then add a index column.

vtangjiemsft_0-1704782824668.png

Check the [category] column to sort by index column.

vtangjiemsft_1-1704783104863.png

Then the result is as follows.

vtangjiemsft_2-1704783365556.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Hi @Anonymous 
Thanks for that (for map object solution), that could work, but I am using referecne layer (some boundaries) with the azure map, that's not possible with the map visual. 

Anonymous
Not applicable

Hi @Saad-Younus ,

 

If you would like to suggest  feature improvements, you may vote the idea and comment here to improve this feature. It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

amitchandak
Super User
Super User

@Saad-Younus , In Power BI, once you start using legend, we can not use conditional formatting. So I doubt you can control the colors of choice in case you are using legend, as of now

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.