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: 
Not applicable

How to change color in visual cues of straight table

hi guys,

Please help me, how do i change color of field amount in straight table depending uopon below criteria.

i have a table having field 'amount'

Now i want to change color of amount field depending upon sales stage

if i click a field " closed won" in  "sales stage" list box then color of amount should get change to Green....

if i click a field " closed lost" in  "sales stage" list box then color of amount should get change to red....

1 Solution

Accepted Solutions
sureshbaabu
Creator III
Creator III

Hello,

Try the following on ‘text color’ for the expression

if(sales_stage='closed won',Green(),red())

Hope it helps. thanks

textcolour.png

View solution in original post

3 Replies
vikasmahajan

  Select Expressions - >Background  and give condition

=if(column(3)>0.001 and column(2)>0.001,if(column(3)>column(2),rgb(0,182,0),rgb(247,247,247)),0)

Hope this help you

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable
Author

Hi vikas....

my selection criteria is on list box field.....

sales stage is a list box

and closed won and closed lost are fields.....

please go though my 1st post .....

sureshbaabu
Creator III
Creator III

Hello,

Try the following on ‘text color’ for the expression

if(sales_stage='closed won',Green(),red())

Hope it helps. thanks

textcolour.png