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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
nira
Contributor III
Contributor III

Set Analysis using E()

I have an expression that looks like this:


=COUNT(TOTAL {< patient_region=E({<patient_region={'$(vCurrentRegion)'}>}), patient_province , admission_category >} patient_id)

This should calculate the total number of cases excluding the cases in the current region selected. For some reason it is still counting the cases in the current region. Is there anything wrong with my set analysis?

1 Reply
Almen
Creator II
Creator II

You can do without E. 

=COUNT(TOTAL {< patient_region-={'$(vCurrentRegion)'}, patient_province , admission_category >} patient_id)