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: 
bguiliano
Contributor II
Contributor II

Using a where clause

I created a  measure for counting distinct members..this seems to work

aggr(count(distinct member_key),source_provider_name)

 

However, if i wanted to add a where clause to it, how would it look...

I tired 'aggr(count(distinct member_key),source_provider_name) where[source_provider_name] = 'SPECIFIC PROVIDER NAME' 

It did not seem to like it.

 

Thanks in advance...

 

Labels (1)
1 Reply
alexpanjhc
Specialist
Specialist

try

aggr(count({<[source_provider_name]={'SPECIFIC PROVIDER NAME'}>}distinct member_key),source_provider_name)