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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
maleksafa
Specialist
Specialist

Exclude filters using E()

Hi,

i need some help finding the best way to handle the below scenario:

i have a main table transactions having sales per store, day. another table in my schema is the events table with the key Store & day and event name. so from my transactions table i can see the sum(sales) per event.

now sometimes this store can be closed for renovation for example with a specific event name 'renovation', i need to add a button when clicked it will exclude from the chart the stores that have renovation to note that not all the days in my transaction table have events so the option of excluding the event renovation from the filter will not work as it will select all the events except the 'renovation' event which is not my case, also if i add it to the set analysis event-={'renovation'} it will do the same behavior.

1 Reply
maleksafa
Specialist
Specialist
Author

i have managed to solve this one with the below expression using the E() function

sum({<Store= E({<eventname={'Momentary Closing of the Shop'}>} Store) >}TIK_Qty)

can i do that from a button for example without adding the exclusion on every expression in my chart?