cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vitexo87 Member
Member

Dynamic colors in graphics

Personal I need to find a way to be able to manipulate the colors of the data in a dashboard, for example in a custom measurement or column put a condition that if an information reaches a certain value the color of the data is changed in the chart or table, this is possible ?

 

an example with RGB, column = calculate (if (sum (table a [column a]) = 5, "10,15,24", "99,99,99"))

 

or in hexadecimal, column = calculate (if (sum (table a [column a]) = 5, "455278", "999999"))                    

 

or suddenly that does not have to be in the DAX language, there could be some graphic or function of the power bi that would allow this

5 REPLIES 5
Super User
Super User

Re: Dynamic colors in graphics

Hi @vitexo87,

 

The conditional formating of a measure/value is only possible on the tables, however I add the same question when regarding a comparision on budget versus actuals and my solution was to use measure to calculate the values differences from actuals to budget and use a stacked column chart to show the two differente colours:

 

colours.png

 

In table you need to use the condittional formatting options:

 

condi.png

 

Regards,

MFelix



Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




v-yulgu-msft Super Contributor
Super Contributor

Re: Dynamic colors in graphics

Hi @vitexo87,

 

Currently, it is not supported to set data colors based on specific value. As MFelix mentioned above, the workaround is to consider conditional formatting. In that case, you can specify the color for maximum and minimum values, then, all data cells will be filled with gradients.

 

Besides, someone has submitted this feature here, please vote it up.

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
vitexo87 Member
Member

Re: Dynamic colors in graphics

@MFelix

I understood, this will help me, but the ideal for me at that moment is to be able to create a measure in which I already applied the conditions of formatting.

vitexo87 Member
Member

Re: Dynamic colors in graphics

@v-yulgu-msft

Okay, I voted for the idea, I hope Microsoft will upgrade power bi with this possibility as soon as possible.

v-yulgu-msft Super Contributor
Super Contributor

Re: Dynamic colors in graphics

Hi @vitexo87,

 

Thanks for your feedback.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 292 members 2,989 guests
Please welcome our newest community members: