Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
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)