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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon โ€“ Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save โ‚ฌ200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors