Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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)