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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

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
Champion III
Champion III

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)