Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
johnan
Creator III
Creator III

Same table

Hi All!

Ok, i have a table that i will merge, i think.

The first table is an orginal order (NOR), the CUST is customerOrderNumber.
The second table (Return) is the same table as the first but the fieldCustOrder is another field i table.

I now want the result to be:

Order 500344 to show the orginal from order 490761 (CustOrder in return to Order in Nor)

 

OrderTable1 NOR ORDER
ORDERCUST
4907615553436
4907625553437
4907635553438

 

OrderTable1 RETURN Order
ORDERCUSTOrder
5003445553436
5003455553437
5003465553438

 

Br John

Labels (1)
1 Solution

Accepted Solutions
mikaelsc
Specialist
Specialist

i think you will join those tables. 

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Scrip...

 

Orders:

load 

ORDER,

CUST

from OrderTable1 NOR ORDER;

outer join(Orders) //(or left or right or inner, depending on your objective)

load 

ORDER  as Return_Order,

CUSTOrder as CUST

from 

OrderTable1 RETURN Order;

 

(and yes, depending on what you want to achieve, there may be far better solutions) 

View solution in original post

1 Reply
mikaelsc
Specialist
Specialist

i think you will join those tables. 

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Scrip...

 

Orders:

load 

ORDER,

CUST

from OrderTable1 NOR ORDER;

outer join(Orders) //(or left or right or inner, depending on your objective)

load 

ORDER  as Return_Order,

CUSTOrder as CUST

from 

OrderTable1 RETURN Order;

 

(and yes, depending on what you want to achieve, there may be far better solutions)