Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Alf
Contributor
Contributor

Compare 2 qvd files

There are 2 qvd files (QF1,QF2), both with ID field as  primary key.  I want to know how many ID values are in:

> QF1 that are not in QF2 (QF1 - QF2)
> QF1 and QF2 (QF1 ^ QF2)
> QF2 that are not in QF1 (QF2 - QF1)

I would appreciate any help in this regard.

Greetings, ALF.

 

1 Solution

Accepted Solutions
manoranjan_d
Specialist
Specialist

While loading ur data use the wher cond

QF1 that are not in QF2 (QF1 - QF2)

Use where not exist(primary key)

QF1 and QF2 (QF1 ^ QF2)

Use where  exist(primary key)

 

QF2 that are not in QF1 (QF2 - QF1)

Use where not exist(primary key)

View solution in original post

1 Reply
manoranjan_d
Specialist
Specialist

While loading ur data use the wher cond

QF1 that are not in QF2 (QF1 - QF2)

Use where not exist(primary key)

QF1 and QF2 (QF1 ^ QF2)

Use where  exist(primary key)

 

QF2 that are not in QF1 (QF2 - QF1)

Use where not exist(primary key)