Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.