Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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
@Giada_Togliatti , refer if these can help
Color Field - Color Measure - Conditional formatting
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
https://exceleratorbi.com.au/conditional-formatting-using-icons-in-power-bi/
https://community.powerbi.com/t5/Desktop/FORMAT-icon-set-for-use-in-a-data-card/td-p/811692
@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
I have an article on my blog that explains this. https://exceleratorbi.com.au/conditional-formatting-with-a-text-field-in-power-bi/
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
80 | |
61 | |
60 | |
58 |
User | Count |
---|---|
155 | |
119 | |
103 | |
77 | |
71 |