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: 
arpita
Contributor III
Contributor III

Count of a Calculated Measure

Hi

I have a calculated field (CCY_SETID) in my load statement. Now I need to have the total count of (CCY_SETID) . Please help

TLMMO:

LOAD
SET_ID,
IF(Wildmatch(SET_ID,'*GDS*')=1,NULL(),SET_ID) AS CCY_SETID

FROM
$(file)

6 Replies
Or
MVP
MVP

Why not Count(CCY_SETID)?

Saravanan_Desingh

Try this,

TLMMO:
LOAD
SET_ID,
IF(Wildmatch(SET_ID,'*GDS*')=1,NULL(),SET_ID) AS CCY_SETID
FROM
$(file)
;

Left Join(TLMMO)
LOAD SET_ID, Count(CCY_SETID) As Cnt
Resident TLMMO
Group By SET_ID;
arpita
Contributor III
Contributor III
Author

Hi saran,

 

This doesnt work

arpita
Contributor III
Contributor III
Author

Hi

I have a calculated field (CCY_SETID) in my load statement. Now I need to have the total count of (CCY_SETID) . Please help

TLMMO:

LOAD
SET_ID,
IF(Wildmatch(SET_ID,'*GDS*')=1,NULL(),SET_ID) AS CCY_SETID

FROM
$(file)

MayilVahanan

HI 

Are you looking something like 

Count(Total CCY_SETID)

If not, Can you provide sample data n expected output. 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
arpita
Contributor III
Contributor III
Author

Hi Mayil, this doenst work in script