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
Anonymous
Not applicable

Multi Gradient Condition for map bubbles

Hi, In my report i have 2 visuals , one map and on slicer. The slicer is year slicer like ,2020,2021 and 2022. The map is the default one , my question is can i have multi conditional formarting base on gradient?
My scenario is like when i select a year, the bubbles in the map will show a color base on total sales for that year.

yellow_old_5_0-1688733422204.png

in the condional formating , i want set different gradient color for diffrent year but i can't find that add more rules.

yellow_old_5_2-1688733628068.png

is there any workaround?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Unfortunately, the current version does not support this feature.
You can use the Azure Map visual object to place the year column in the legend field. It can distinguish the bubble color for each year. You can customize the color for each year in [Format your visual]->[Bubble layer]->[Color], but the gradient color is not supported at the moment.

vtangjiemsft_0-1688976001493.pngvtangjiemsft_1-1688976034224.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. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data.  

vtangjiemsft_0-1688953995125.png

(2) We can create a measure. 

color = SWITCH(TRUE(),
SELECTEDVALUE('Table'[year])="2020","red",
SELECTEDVALUE('Table'[year])="2021","pink",
SELECTEDVALUE('Table'[year])="2022","grey")

(3) Set the conditional format and then the result is as follows.

vtangjiemsft_1-1688954771556.pngvtangjiemsft_2-1688954785762.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. 

Anonymous
Not applicable

Thank you for your reply but that is not what i mean, I wonder if possible to have multi conditions for gradiant, for diffrent location different year? I want in the map with help of the bubbles show me gradient color for diffrent year

Anonymous
Not applicable

Hi @Anonymous ,

 

Unfortunately, the current version does not support this feature.
You can use the Azure Map visual object to place the year column in the legend field. It can distinguish the bubble color for each year. You can customize the color for each year in [Format your visual]->[Bubble layer]->[Color], but the gradient color is not supported at the moment.

vtangjiemsft_0-1688976001493.pngvtangjiemsft_1-1688976034224.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. 

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.