Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
maasool
Contributor III
Contributor III

Subtract values in one table from another

Hello

I have loaded in two tables. First table contains unique ITEMS and BALANCE for these items. Second table contains BOOKINGS related with certain ITEMS.  How to subtract bookings from related item balances in data load?

Table1:

ITEM
BALANCE

Table2:

ITEM
BOOKING

I would like to get Table 3:

Table3:

ITEM
BALANCE - BOOKING

3 Replies
Vengatesh
Partner - Creator
Partner - Creator

I don't know what are you trying to achieve here,

But in my guess Try this,

In table 3, Add Items as dimension and Sum(Balance)-Sum(Booking)

You Know What To Do.
maasool
Contributor III
Contributor III
Author

Thanks for the reply, but I would like to do the subtraction in data load not in app overview .

Shubham_Deshmukh
Specialist
Specialist

You need to join first 2 tables and then use resident load to do the requisite.
If possible share sample data or try above .