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

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be like:

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

View solution in original post

2 Replies
tresesco
MVP
MVP

May be like:

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

Anil_Babu_Samineni

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