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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jacobsutcliffe
Frequent Visitor

Conditional Formatting a measure in a matrix visual

Hi there,

 

I'm trying to conditionally format (highlight negative numbers as red) the output of a measure when used in a matrix visual. 

 

When I go to measure when it is in the Values section and go to set up rules based conditional fomatting it will not allow me to select the measure in the 'Based on field' drop down (the measure is there I just can't click on it). 

 

The annoying thing is it works for some of my measures but not all. Am I doing something wrong? 

 

PBI Conditional Formatting.JPG

 

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

Create a measure along the lines of:

conditional format measure = IF([your measure] < 0, 1)

select the measure in the conditional formatting interface  and format when the value = 1





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

2 REPLIES 2
PaulDBrown
Community Champion
Community Champion

Create a measure along the lines of:

conditional format measure = IF([your measure] < 0, 1)

select the measure in the conditional formatting interface  and format when the value = 1





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






amitchandak
Super User
Super User

@jacobsutcliffe , check the data type of this measure. Is it text? are you able to select any other measure?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors