Skip to main content
The way to achieve your own success is the willingness to help somebody else. Go for it!
Showing results for 
Search instead for 
Did you mean: 
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
Creator II
Creator II

You can do without E. 

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