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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Helper III
Helper III

Custom color of the legend values



I have a question about the visual scatter plot.


I have been asked to set the colors for each value of the legend.


The colors are provided to me in table which has two columns: 


VALUE                COLOR

ITALY                  #c791c7

GERMANY         #ecf3fd

POLAND            #05390a


I checked all the features of the scatter plot but I haven't seen the option to custom the color of the values. I know there is an option with the visual matrix but I'm not sure about other types of visual.


Do you have any idea? Is it possible?

Thank you

Super User
Super User

@MCacc , if country is legend, then you have manually color using color option in Marker


If there are only values, and no legend, You can create a color measure and use that in the conditional formatting of the marker using the field value option


Switch(Max(Table[Country]) ,

"ITALY", " #c791c7",




How to do conditional formatting by measure and apply it on pie?



Thank you for confirming! 

Helpful resources


Fabric certifications survey

Certification feedback opportunity for the community.


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.