Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
MuraliPrasath
Creator III
Creator III

Color Indications on new column.

Hi QV Team,

I've Total License and Used License column. I need one more column indicates colors.

Ex:-    If my Used License is consumed 50% of the total License then GREEN Color.

          If 80% Consumed then YELLOW Color.

          If 100% Consumed then RED Color.

Capture.JPG

1 Solution

Accepted Solutions
maxgro
MVP
MVP

in a straighjt table you can try to add an expression ( '' )

and in  background color


if(column(2) = column(1), rgb(255,0,0),

if(column(2) >= column(1)*0.8, yellow(),

if(column(2) >= column(1)*0.5, rgb(0,255,0),

anothercolor

))))

you have to modify my example expression with your column and also change the math and color

View solution in original post

2 Replies
maxgro
MVP
MVP

in a straighjt table you can try to add an expression ( '' )

and in  background color


if(column(2) = column(1), rgb(255,0,0),

if(column(2) >= column(1)*0.8, yellow(),

if(column(2) >= column(1)*0.5, rgb(0,255,0),

anothercolor

))))

you have to modify my example expression with your column and also change the math and color

Anonymous
Not applicable

borat_great_success.jpg