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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
gerrycastellino
Creator III
Creator III

question on count in set analysis expression

I need to structure an expression where I'm counting all distinct 'A'   based on 'B'  being not null,  for the entire data set:

Count( DISTINCT { < B = {"*"}>}  {1}  A)

just wanted to confirm if this will work ...

Gerry

1 Solution

Accepted Solutions
sunny_talwar

Not sure about this hanging {1}, but this should work:

Count(DISTINCT {<B = {'*'}>} A)

or if you want to ignore any selection, then a 1 like this:

Count(DISTINCT {1<B = {'*'}>} A)

View solution in original post

1 Reply
sunny_talwar

Not sure about this hanging {1}, but this should work:

Count(DISTINCT {<B = {'*'}>} A)

or if you want to ignore any selection, then a 1 like this:

Count(DISTINCT {1<B = {'*'}>} A)