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

Replace count (distinct)

Hi,


I have a expression which has Count(Distinct EmpID).

I saw the community, they have told that not to use Count(Distinct) as much as possible.

so by which other expression i can replace count(distinct)?

1 Reply
Anonymous
Not applicable

Well, if you can load the data in a distinct way in the script already there's no need for the count(distinct ). It does require a little bit of data model review to see if there's a viable way of replacing the count(distinct) functions from your front end.