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: 
Arvind_07
Contributor III
Contributor III

Sum using Multiple conditions

Hello,

Im new to Qlik sense and started learning about set analysis. In the below expression, is it possible to pass another condition like to exclude certain values from a field within the below set analysis expression.

sum({<Date={'$(=date(WeekStart(Today()-7)))'}>}[DOM.MTD Sales Units])

My Field- Product Category

To exclude field values- 'A Box', 'B Box', 'C Box'

could someone advise me on this

Thanks much

Labels (2)
1 Reply
MayilVahanan

Hi @Arvind_07 

Try like below

sum({<Date={'$(=date(WeekStart(Today()-7)))'}, [Product Category]-={'A Box', 'B Box', 'C Box'}>}[DOM.MTD Sales Units])

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.