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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
justinasp
Creator
Creator

Another Set Analysis issue

Hi, guys,

I need to sum sales for supply scheme A1 in all branches and A1,A2 schemes in Office. Using IF(..) statement, it would be

sum(if(supp_scheme='A1' or bra_id='OFI', sales))


However it is part of set analysis, so I need to write it in that style. It could be something like

sum({<supp_scheme={'A1'} - {"bra_id='OFI'"}>} sales)


Any ideas would be appreciated,

Justinas

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

I hope the following is you are looking for.

sum({<supp_scheme={$(=if(bra_id='OFI', 'A1,A2', 'A1'))}>}sales)

Regards

View solution in original post

1 Reply
jagan
Partner - Champion III
Partner - Champion III

I hope the following is you are looking for.

sum({<supp_scheme={$(=if(bra_id='OFI', 'A1,A2', 'A1'))}>}sales)

Regards