Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
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)