Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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 (3)
1 Reply
alexpanjhc
Specialist
Specialist

try

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