Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - Ignore field value until explicitly selected

Hi all

I have a 'Rejection Status' field that contains two values only; 1) Accepted 2) Rejected

I would like to ignore all 'Rejected' values in an expression until it is explicitly selected in the list box.

Scenarios

1) Nothing selected in 'Rejection Status' - Sum([Net Order Value]) for Accepted lines only

2) 'Accepted' selected in 'Rejection Status' - Sum([Net Order Value]) for Accepted lines only (same as 1)

3) 'Rejected' selected in 'Rejection Status' - Sum([Net Order Value]) for Rejected lines only

4) Everything selected in 'Rejection Status' - Sum([Net Order Value]) for all lines

Can set analysis handle this?

Thanks

Labels (1)
1 Reply
swuehl
Champion III
Champion III

Maybe like

=Concat({<Status *= {'$(=If(GetSelectedCount(Status),'*','Accepted'))'}>} Status)