Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
nishika
Partner - Contributor III
Partner - Contributor III

How to change the text color of value based on %. Im using % formatting to the measure valuel

How to change the text color of value based on %.

Im using % formatting to the measure value

Color should change based on below condition:

If value is  < 60% then Green

If value is > 60 % then Yellow

If value is > 85% then Blue

If value is > 100% then Red

Labels (2)
1 Solution

Accepted Solutions
Rockstar7
Partner - Creator
Partner - Creator

@nishika you can write text expression like below

Rockstar7_0-1664000019854.png

if(value <0.6,green(),

if(value>0.6,yellow(),
if(value>0.85,blue(),
if(value>1,red())))

View solution in original post

1 Reply
Rockstar7
Partner - Creator
Partner - Creator

@nishika you can write text expression like below

Rockstar7_0-1664000019854.png

if(value <0.6,green(),

if(value>0.6,yellow(),
if(value>0.85,blue(),
if(value>1,red())))