Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Rob_Morris
Helper I
Helper I

Conditional formatting on just one value in rows

Rob_Morris_0-1648636375068.png

 

I have the above matrix in Power BI, and I have set conditional formatting on the Pass / Fail percentage - however I would only like this conditional formatting to apply to the "Pass" values and not the "Fail" values from the [KPI_Check] field. (Fail should have no conditional formatting applied to them).

Is there a way to do this within Power BI at all?

3 REPLIES 3
Samarth_18
Community Champion
Community Champion

Hi @Rob_Morris ,

 

Try to put if condition in your conditional formatting code like below:-

Conditional_formating_measure = if(max(table[job_kpi]) <> "fail",{your formatting code goes here})

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Thanks for the reply but I'm very new to Power BI.

How would I go about doing this / where in the system is the option to do this?

The only options I can see in Conditional Formatting are Gradient, Rules and Field Value.

@Rob_Morris , Could you please share how you have added conditional formatting in the report?

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.