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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.