Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
brf10043
Creator
Creator

Trouble with Set Analysis

Hi,

I have a table where I use the following expression with the {1} operator to prevent the data from changing when filter selections are made.

Count({1<Ex_Flag={'Excluded'},[HW Lifecycle Status] -= {'Disposed'}, [SW Lifecycle Status] -= {'Disposed'} >} SW_CI_ID)


This seems to work fine.  But I also have the following  expression in the background color of one of the dimensions to do some color coding.

=if((V_Class) = ('High'),rgb(255,0,0),
if((V_Class) = ('Medium'),rgb(255,217,47),
rgb(69,234,21) )


When I use make a filter selection, the data remains the same, but the background color coding changes/


How do I apply the {1} operator to the Background Color Expression?

1 Solution

Accepted Solutions
sunny_talwar

Try this:

=If(Only({1} V_Class) = 'High', RGB(255,0,0), If(Only({1} V_Class) = 'Medium', RGB(255,217,47), RGB(69,234,21)))

View solution in original post

5 Replies
sunny_talwar

Try this:

=If(Only({1} V_Class) = 'High', RGB(255,0,0), If(Only({1} V_Class) = 'Medium', RGB(255,217,47), RGB(69,234,21)))

brf10043
Creator
Creator
Author

That worked perfectly!  Thanks Sunny

Anonymous
Not applicable

Hi Bobby,

it will be useful to mark it "answered"

Cheers

Antonio

Anonymous
Not applicable

Hi bobby mark correct answer and close this post...

brf10043
Creator
Creator
Author

Apologize for that!