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: 
lhudobenko
Contributor
Contributor

Counting unique values based off another field

In the example attached, I'm trying to count when a "part" has more than one  unique "ID" associated.  So my end results should say:

A  - 2 ( because it has 1 & 5 associated)

B  - 1 (because both IDs are "2"

C - 1 (because both IDs are "3"

It would also be helpful to see what IDs are associated when there is more than 1, but this isnt necessary.

Thank you!

Labels (1)
1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, Create a table box with Part as dimension and Count(Distinct ID) as Expression(Measure) Hope this helps.
Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, Create a table box with Part as dimension and Count(Distinct ID) as Expression(Measure) Hope this helps.
Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!