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! Get ahead of the game and start preparing now! Learn more
Hello,
I need to apply conditional formatting to a DAX-generated column.
Green - OS
Light green - EE.
DAX function used - Rank to Performance = IF([Attainment %] >= 1.25,"OS",IF(AND([Attainment %]<1.25,[Attainment %]>=1),"EE",IF(AND([Attainment %]<1,[Attainment %]>=0.85),"ME","NI")))
Kindly help me with this.
Solved! Go to Solution.
Create a number measure that is based on Rank to Performance e.g. IF([Rank to Performance] = "OS", 1...) etc. and then use conditional formatting based on that. Check out this page for more info: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting
Thank you for helping.
Create a number measure that is based on Rank to Performance e.g. IF([Rank to Performance] = "OS", 1...) etc. and then use conditional formatting based on that. Check out this page for more info: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |