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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
rponichtera
Contributor III
Contributor III

Comparing Data in two tables

I am trying to determine the best way of comparing or joining two tables to get some requested data. I have two tables both with an ID field and Date field and in Table Two I also have a record count. What I need is a way of knowing the sum of record count and count of batch ID when the ID field and Date field in Table 1 and Table 2 match. I can do this easily with SQL but I need to do this in Qlik from the two QVD tables I have created from base text report data. 

1 Reply
dwforest
Specialist II
Specialist II

You'd do it in a very similar way loading form qvd as SQL
LOAD ID, Date, Count(ID)
FRom table1
group by ID,Date;
Join
LOAD ID,Date,RecordCount
FROM table2