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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
akpofureenughwu
Creator III
Creator III

Distinct Count Error

Hello sir,

I have a set of data I want to do a distinct count for.......

Using this script:

num(count(DISTINCT [ID-Female]), '#,##0')... I can obtain the number of females in my dataset.

I'm trying to get the number of management staff. I used this script:

Count({$<[Cadre] = {'Management Staff'}>} (([ID-NO]) ))

but the figure is not correct... I would love to get a distinct count of all the management staff in my dataset

Thanks

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

May be like:

Count({$<[Cadre] = {'Management Staff'}>}  Distinct [ID-NO] )

View solution in original post

2 Replies
tresB
Champion III
Champion III

May be like:

Count({$<[Cadre] = {'Management Staff'}>}  Distinct [ID-NO] )

Anil_Babu_Samineni
MVP
MVP

May be this

Count({$<[Cadre] = {'Management Staff'}>} Distinct [ID-NO])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful