Forum Discussion

UlisesCiccola's avatar
5 years ago

Replicate Color in all visuals

Hello Community

 

I am struggling in a report changing one by one the hex color for the corresponding values in different visuals for my report.

Compared to other BI tools, I do not seem to find an option where if I pick a color for a value in a determined visual, that color replicates to the rest of the visuals so I am doing this one by one.

My provider of data gave me a table as follows with the column name, its value and the hex color that should be applied.

 

Column_namevalue_of_the_columncolor_hex
channelDIRECTOF3E36D
channelINDIRECTO64C2C7
brandBrand ACF7676
brandBrand B41A4FF
brandBrand CA0D1FF
suppliersupplier AF5BB4E
suppliersupplier BAD5E5E
Category_productscategory A2C84BF
Category_productscategory B6ABDAF
  
   

Is there any way to speed up this process?  I was thinking maybe there was a way to connect this auxiliary table to the rest of the model, but maybe you know some other way that is not going one by one in the visuals picking the colors.

 

Thanks in advance

1 Reply

  • UlisesCiccola there is no automated way, you have to create a measure from hex color value and then use it in conditional formatting where you need to apply this color. Read conditional formatting here.

     

    Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.