Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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