Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

count Dimension

Hi

How can count number of string , for example , how can i count the number of countries in the list below

count.PNG

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can count the distinct field values like

=COUNT( DISTINCT COUNTRY_AGG)

If you want to count all field records, remove the DISTINCT qualifier from the count.

And if you want to count disregarding any user selections:

=COUNT({1} DISTINCT COUNTRY_AGG)

View solution in original post

1 Reply
swuehl
MVP
MVP

You can count the distinct field values like

=COUNT( DISTINCT COUNTRY_AGG)

If you want to count all field records, remove the DISTINCT qualifier from the count.

And if you want to count disregarding any user selections:

=COUNT({1} DISTINCT COUNTRY_AGG)