Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
AmirKilkr
Contributor
Contributor

background color

Hello,

What do I do wrong?

 

=if(('%)<1,red())

AmirKilkr_0-1645823807421.png

AmirKilkr_1-1645823866188.png

 

 

Thank you

Labels (2)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try this.

if ([Sum - Total Price Before Vat]<0.01,red())

Assuming you are using a master item measure and a newer version of Qlik Sense, if not then replace the [Sum - Total Price Before Vat] with the actual expression that you want to compare.

View solution in original post

4 Replies
Digvijay_Singh

Are you using the same measure expression for color what you have used to calculate % value? 

Chanty4u
MVP
MVP

 

is your expression says ok?

=if((%)<1,red())

AmirKilkr
Contributor
Contributor
Author

yes

I tried all options and all red

=if(('%')<0.1,red())
=if(('%')<0.01,red())
=if(('%')<1,red())

Vegar
MVP
MVP

Try this.

if ([Sum - Total Price Before Vat]<0.01,red())

Assuming you are using a master item measure and a newer version of Qlik Sense, if not then replace the [Sum - Total Price Before Vat] with the actual expression that you want to compare.