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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
eduardo_dimperio
Specialist II
Specialist II

Set Analysis to get Distinct Field

Hi people,

I have three fields NAME_SYSTEM, OID_GROUP and DATA. I want to count how many NAME_SYSTEM's i have but unfortunately my other fields have more that one value for each NAME_SYSTEM so my count doesn't right.

I tried this, but not worked:  Count(DISTINCT{1-$<DATA={'Nao Agendado'}>}NAME_SYSTEM)

Input:

set_analysis.JPG

Expected Output:

set_analysis2.JPG

10 Replies
eduardo_dimperio
Specialist II
Specialist II
Author

Hi Stefan!

More or less, this Count(DISTINCT{1-$<DATA={'Nao Agendado'}>}NAME_SYSTEM) and this Count(DISTINCT {$<DATA -={'Nao Agendado'} >}NAME_SYSTEM) return the same result. The diference was create a new field only with two states Agendado and Nao Agendado.

But thank you for your help