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: 
Not applicable

Count Distinct

Hi,

In the image bellow I'm doing a count Distinct over DIM_02.

As you can see, the TOTAL is 4 because there's 4 different values for DIM_02.

But now I need to show in a bar chart the sum of the totals, like in the second image.

Expression:

=count(DISTINCT DIM_02)

01.JPG02.JPG

Thanks!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

Count(DISTINCT Dim_01 & Dim_02)

View solution in original post

4 Replies
trdandamudi
Master II
Master II

May be as below:

=count(Total DIM_02)

swuehl
MVP
MVP

Try

Count(DISTINCT Dim_01 & Dim_02)

vishsaggi
Champion III
Champion III

Remove Dim_01 from you dimension tab and see ?

Not applicable
Author

Perfect, Stefan!

Thank you very much!