Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi to All,
I want to create a conditional formating for status ( See below picture for details ) and when I want to create rules it seems only can set for value or numbers in a range. Can any one give me some suggestions on how to do this? For example I want to set color for Production as green and Active for blue, etc.
The format I want in Power BI
Thanks,
Larry
Solved! Go to Solution.
Hi Larry,
Create one calculated column from Status column:
Desire Result:
Hi Larry,
Create one calculated column from Status column:
Desire Result:
Hi Mohityash,
When I'm trying to use your suggested solution, after Switch, my desire table does not appear as an option, only the measures I've created. (see below)
Am I doing something wrong?
Hi @Anonymous ,
Thanks for the help on this issue and it works well for me😊
If Power BI allows us to create rule not only for numbers but also for texts, like in this case and it will be better.
Have a nice day!
Larry
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 41 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 150 | |
| 107 | |
| 64 | |
| 36 | |
| 36 |