This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Dear experts,
this is the visual I have created in power BI
and P7W4 is a measure
| SSL | Rank | Target Utilization | Lower Limit | Upper Limit |
| ITTS | Senior | 75% | 65% | 85% |
Solved! Go to Solution.
Hi @vjnvinod
Create a measure to return the color value .
Measure = Switch( True() ,
[P7W4] =BLANK(),"Grey",
[P7W4] <= SELECTEDVALUE('Table'[Lower Limit]) , "red" ,
[P7W4] > SELECTEDVALUE('Table'[Lower Limit]) , "Green" )
Then set conditional formatting for [P7W4] in table visual . Choose Field value for Format style , Measure for What field should we base this on .
The final result is as shown :
I have attached my pbix file , you can refer to it .
Best Regard
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @vjnvinod
Create a measure to return the color value .
Measure = Switch( True() ,
[P7W4] =BLANK(),"Grey",
[P7W4] <= SELECTEDVALUE('Table'[Lower Limit]) , "red" ,
[P7W4] > SELECTEDVALUE('Table'[Lower Limit]) , "Green" )
Then set conditional formatting for [P7W4] in table visual . Choose Field value for Format style , Measure for What field should we base this on .
The final result is as shown :
I have attached my pbix file , you can refer to it .
Best Regard
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
color measure =
Switch( True() ,
[P7W4] < [Lower] , "red" ,
[P7W4] > [Upper] , "Green" ,
"Grey"
)
@vjnvinod , That "n/a", might convert it to text
But you can create a measure like
Switch( True() ,
[P7W4] < [Lower] , "red" ,
[P7W4] > [Upper] , "Green" ,
"Yellow"
)
and you can use that in conditional formatting using field value option
Check out the May 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 |
|---|---|
| 32 | |
| 25 | |
| 24 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 24 | |
| 19 |