Forum Discussion
Anonymous
4 years agoNot applicable
How to put conditional formatting on text ?
I have this table and I would like to put icons according to the state :
- Anonymous4 years ago
Hi Anonymous ,
You could create a measure to use numbers to represent different states.
Measyre = SWITCH ( SELECTEDVALUE ( 'table'[state] ), "Submitted", 1, "New", 2, "Rejected", 3, "Accepted", 4, "Closed", 5, "Planned", 6 )Then use the value of measure to create conditional formatting rule.
Best Regards,
Jay
MattAllington
4 years agoCommunity Champion
Read my article here https://exceleratorbi.com.au/conditional-formatting-with-a-text-field-in-power-bi/