Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Color formula with %'s

Hello Qlik friends,

I am trying to write a color expression formula within a pivot table, saying (in plain terms) if column 2 is greater or less than 10% of column 1, then color it red. Otherwise, color it gray.

I am familiar with Qlik formulas and color formulas, just need a little bit of guidance!

Thanks!

Ken

1 Solution

Accepted Solutions
priyalvp24
Creator
Creator

hi,

try this

If(column(2)>((column(1)*10)/100) or column(2)<((column(1)*10)/100) ,red(),green())


Thanks,

Priyal.

View solution in original post

1 Reply
priyalvp24
Creator
Creator

hi,

try this

If(column(2)>((column(1)*10)/100) or column(2)<((column(1)*10)/100) ,red(),green())


Thanks,

Priyal.