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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
vitexo87
Post Prodigy
Post Prodigy

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
v-yulgu-msft
Employee
Employee

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.

@v-yulgu-msft

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

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.
MFelix
Super User
Super User

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


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



@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.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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