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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

font color conditional formatting

hi 
i want to show - values in green color nd +ve values in red color
what is the condition i need to use in font color conditional formatting.

greeshma_0-1620192208427.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @Anonymous,
Create a measure like this and use in conditional formatting.
Measure = IF(MAXX(Sheet1,Sheet1[percent])<0,"#73B761","#de6a73")
 
Krutigawale33_0-1620193721639.png

 

View solution in original post

3 REPLIES 3
themistoklis
Community Champion
Community Champion

@Anonymous 

 

If you want to apply a conditional formatting on the field in a table or matrix you can do it directly though table options instead of creating a new field.

 

See image below. It is a rule based formatting

Rules.JPG

 

Anonymous
Not applicable

Hello @Anonymous,
Create a measure like this and use in conditional formatting.
Measure = IF(MAXX(Sheet1,Sheet1[percent])<0,"#73B761","#de6a73")
 
Krutigawale33_0-1620193721639.png

 

amitchandak
Super User
Super User

@Anonymous , You can try rule base

like

-100 to  0 (absolute value, assuming this % column] red

0 to 100 , green

 

Or a color measure

color  = if([chnage%] <= 0, "Red", "Green")

 

use that in conditional formatting using field value option

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.