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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register 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

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)