Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikview979
Specialist
Specialist

COUNT

Hi Experts,I want not matched  count between two tables

I have tables like

T1

CDMS

1

2

3

4

5

T2:

ZY

1

2

3

6

7

8

9

Output:                         

T1:                                   

4                                       

5                                       

                                        

Count is 2

Output:                         

T1:                                   

6

7

8

9

                                  

                                       

                                        

Count is 4

How can i get this is it possible in qlikview

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

wfm


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

T1:

LOAD CDMS FROM ...somewhere...;

T2:

LOAD ZY FROM ...somewhere_else...;

T3:

LOAD CDMS as CDMS_NOT_IN_ZY RESIDENT T1 WHERE Not Exists(ZY, CDMS);

LET Count_CDMS_NOT_IN_ZY = FieldValueCount('CDMS_NOT_IN_ZY');

T4:

LOAD ZY as ZY_NOT_IN_CDMS RESIDENT T2 WHERE Not Exists(CDMS,ZY);


LET Count_ZY_NOT_IN_CDMS = FieldValueCount('ZY_NOT_IN_CDMS');


talk is cheap, supply exceeds demand
qlikview979
Specialist
Specialist
Author

Hi Bro,

I think its not work because CDMS  in T1 Table ,ZY  as T2 tablr

but you given like this

  • LOAD CDMS as CDMS_NOT_IN_ZY RESIDENT T1 WHERE Not Exists(ZY, CDMS);

  • Regards
  • Mahesh
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

wfm


talk is cheap, supply exceeds demand
qlikview979
Specialist
Specialist
Author

Thanks Bro,

its working....

Regards,

Mahesh