Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi! I think my problem is quite simple. I have a list of status that I want to code by color. For example:
| STATUS | COLOR |
| STATUS1 | red |
| STATUS2 | red |
| STATUS3 | ok |
| STATUS2 | red |
| STATUS1 | red |
| STATUS4 | red |
And I wanted a function like, if Table1[STATUS] is equal to STATUS1 or STATUS2 or STATUS4 and so on, equals to RED. If not, equals to OK.
Solved! Go to Solution.
HI @stefanycheck,
Conditional formatting already support to use hex value field to color formatting, please take a look at following document:
Conditional formatting in tables
You only need to change text to hex value of color. (for invalid hex value, power bi will use default color format)
Regards,
Xiaoxin Sheng
HI @stefanycheck,
Conditional formatting already support to use hex value field to color formatting, please take a look at following document:
Conditional formatting in tables
You only need to change text to hex value of color. (for invalid hex value, power bi will use default color format)
Regards,
Xiaoxin Sheng
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 26 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 39 | |
| 31 | |
| 21 |