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: 
Anonymous
Not applicable

count distint empid's

Hi,

Empid fild having null values.i want count distint empid's.

(How to use  count ,Distinct, null functions in qlikview)

Regards,

Krishna

7 Replies
Kushal_Chawda

= fieldvaluecount('empid')

Anonymous
Not applicable
Author

Maybe try this :

     Count ( DISTINCT empid )

avinashelite

Try like this

// this will count the empid which are not null and DISTINCT

Count( DISTINCT {<EMPID={"*"}>}T EMPID)

ashfaq_haseeb
Champion III
Champion III

Hi,

Try like this

=Count({<empid={*}-{' '}>}DISTINCT(empid))

or

=Count({<empid={*}-{''}>}DISTINCT(empid))

Regards

ASHFAQ

Chanty4u
MVP
MVP

create in script as

set Nullvalue=' ' ;

and in frnt end

create a field as   

count(Distinct field)

Anonymous
Not applicable
Author

Hi All,

I want create in script .

Regards,

Krishna

Chanty4u
MVP
MVP

hi,

create in script as

set Nullvalue=' ' ;

and

load *,

distinct urfields;