Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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)