Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selecting all except exclusions

I have a scenario where I want to display data based on exclusions rather than selections. (It came up on a webinar this morning but wasn't answered at the time).

For example if I had a list of all cost centres and was displaying data based on all these cost centres, ie total spend, but then had a need to exclude some, say those representing capital spend.  I don't want to have to select cost centres individually; I want to select the capital spend group and display the the total spend from the cost centres that remain when the capital spend cost centres are excluded.

Any guidance gratefully accepted.

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Take a look to set analysis help search for E use with which you can exclude selections, really easy to use.

bgerchikov
Partner - Creator III
Partner - Creator III

Hi Gareth,

In addition to element function E, I'd suggest to use "-" in Set Analysis as follows:

CostCenter -={"Some Value"}

Hope it will help

ashfaq_haseeb
Champion III
Champion III

Hi,

Try something like this

=sum( {$<CostCenter= E({$} CostCenter)>} Sales )


Regards

ASHFAQ