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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Populate missing cells in load script

Hi

I have to populate some missing cells in a table but can't get my head around how to do it. I have 4 tables: One (Audit) showing what has been changed in the other 3 tables and by who.

My problem is that one of the 3 tables (DiscountDetail) doesn't contain client information which I need to show. DiscountDetail is a "sub-table" of the table Discount and they have DiscountNo/DiscountNoDetail in common and Discount has client information.

How do I get to show the client information for the table DiscountDetail. Please see enclosed.

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

If I understood the question, and assuming you only have one row on the Discount table for each DiscountNo:

LEFT JOIN (DiscountDetail)
LOAD
DiscountNo as DiscountNoDetail
,ClientID2 as ClientID3
RESIDENT Discount;

View solution in original post

2 Replies
johnw
Champion III
Champion III

If I understood the question, and assuming you only have one row on the Discount table for each DiscountNo:

LEFT JOIN (DiscountDetail)
LOAD
DiscountNo as DiscountNoDetail
,ClientID2 as ClientID3
RESIDENT Discount;

Not applicable
Author

Hi,

I am not quite sure but I think this is it what you are looking for:


LEFT JOIN (DiscountDetail)
LOAD
ClientID2,
DiscountNo as DiscountNoDetail
RESIDENT Discount;


Regards, Roland