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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis Multiple Excludes - Pls Help!

Hi there

I have 3 expressions in a table with multiple exclusions like:

=

sum({$<[Summary L2] -= {'Overtime'},[Summary L1] -= {'Doctors Overtime'},[9CCC - Level 9 Cost Centre Code] -= {'11912','90000'}>} [Amount_(Element_Cost_Amount+Er_Pension+ER_NI_Cost])



=

sum({$<[Summary L2] -= {'Overtime'},[Summary L1] -= {'Doctors Overtime'},[9CCC - Level 9 Cost Centre Code] = {'11912'}>} [Amount_(Element_Cost_Amount+Er_Pension+ER_NI_Cost])

=

sum({$<[Summary L2] = {'Overtime'},[9CCC - Level 9 Cost Centre Code] -= {'90000'}>} [Amount_(Element_Cost_Amount+Er_Pension+ER_NI_Cost])+sum({$<[Summary L1] = {'Doctors Overtime'},[9CCC - Level 9 Cost Centre Code] -= {'90000'}>} [Amount_(Element_Cost_Amount+Er_Pension+ER_NI_Cost])

These give me results but the result of this:

=

sum({$<[9CCC - Level 9 Cost Centre Code] -= {'90000'}>} [Amount_(Element_Cost_Amount+Er_Pension+ER_NI_Cost])

should equal the sum of the other 3 but doesn't?? Please can anyone correct my syntax?

Thanks!







0 Replies