cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Bar Graph colors Changing randomly

I have created a bar graph in which I have chosen the colors purple and light purple for two different types of data as seen in the screenshot of the legend below.

jlac_0-1695374442415.png

However, when I update the source data the colors for these particular items randomly change to blue (as seen below)

jlac_1-1695374506114.png

Is there some sort way that I can permanently set the color of the bar graph to my prefered colors and prevent them from changing when the source data is updated?

 

Status: Investigating

Hi  @jlac 

You can fix the colors by creating DAX or conditional formattings . I found a document , you can refer to it .

https://learn.microsoft.com/en-us/power-bi/visuals/service-tips-and-tricks-for-color-formatting?tabs... 

How to control colors with DAX Expressions in Power BI | by Salvatore Cagliari | Towards Data Scienc...

 

Best Regards,
Community Support Team _ Ailsa Tao

Comments
v-yetao1-msft
Community Support
Status changed to: Investigating

Hi  @jlac 

You can fix the colors by creating DAX or conditional formattings . I found a document , you can refer to it .

https://learn.microsoft.com/en-us/power-bi/visuals/service-tips-and-tricks-for-color-formatting?tabs... 

How to control colors with DAX Expressions in Power BI | by Salvatore Cagliari | Towards Data Scienc...

 

Best Regards,
Community Support Team _ Ailsa Tao