Forum Discussion
Anonymous
7 years agoNot applicable
How to Conditionally format text in a Card in Power BI
I have a Card in a power BI Dashboard that that displays roughly 6 unique text attributes depending on the input. How do I add a separate color to each attribute, for example if the card displays "apple" I want that text to be red.
9 Replies
- evandrocunico
Resolver III
hi Anonymous
card_color = if(fieldvalue = "APPLE";"#F0F0F0";"#FFE4B5")CARD - format - data label, conditional formatting - field value - select card_colorregards.- AnonymousNot applicable
Thanks for the reply, I'm farely new to Power BI but what does #F0F0F0";"#FFE4B5 mean?
- evandrocunico
Resolver III