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

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.

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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.