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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Disregard the selection - set analysis

Hi,

This is the exact formula i am using. I am trying to do a count of DateofService(this is the dimension) and a count when the ClaimsAmt>0. But i need to disregard the selection. I know the basic {1} set analysis but i am not sure how to apply it to this formula.

=count(TOTAL Distinct if((DateofService<=$(v_IBNRStDt)) AND ClaimsAmt>0,DateofService,Null()))

Thanks.



Labels (1)
1 Reply
Not applicable
Author

Set analysis can only be applied to aggregation functions... in this case you are using count().

You should be able to do something like this:

=count({1} TOTAL Distinct if((DateofService<=$(v_IBNRStDt)) AND ClaimsAmt>0,DateofService,Null()))