This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 34 | |
| 33 | |
| 25 | |
| 24 |