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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Giada_Togliatti
Post Patron
Post Patron

conditional formatting

Hi,

I should apply a conditional formatting in a matrix

I shuold display color based on text string on another field.

I have a field that has this possible value: "High", "Medium", "Low", "Too much low"

High  must be coloured by red, medium by orange, low by yellow and too much low by white.

Field1 is not a measure, it's a string field.

How can I do the formula that I can use to color the matrix?

Thank you

4 REPLIES 4

@amitchandak thank you for the link, the problem that I have is that the field that contains the string is not a measure,

so I need to turn text column into measure because if it's the column I can't use in the formula, how can I  do that?

column contains the value I told before

Hi @Giada_Togliatti,

Can you please share some dummy data with the expected result to test? It will help to clarify your data structure and test to coding formula on it.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

I have an article on my blog that explains this. https://exceleratorbi.com.au/conditional-formatting-with-a-text-field-in-power-bi/



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.