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

How to sync 2 mapping files

Dear All,

I have 2 excel files with raw data, one is model with group, and another one is model with category.

And I have 2 excel files with mapping group, one for model with group and another for model with category.

How to merge these 2 excel raw data file and map both group and category with Final_cat?

Model with Group:

ModelGroupAmt
TW1122A21
GD3322B87
HF1122C46
RE2211D31
WA1111A4
FD45451B123
TE12311C79
QW45644D20

 

Model  with Category:

ModelCategoryAmt
TW1122E21
GD3322F87
HF1122G46
RE2211H31
WA1111E4
FD45451F123
TE12311G79
QW45644H20

 

Mapping:

GroupFinal_Cat CategoryFinal_Cat
AA1 EA1
BB1 FB1
CC1 GC1
DD1 HD1
2 Replies
jpenuliar
Partner - Specialist III
Partner - Specialist III

Try this:

 

group:
LOAD
Model,
"Group"
FROM [lib://AttachedFiles/Book1.xlsx]
(ooxml, embedded labels, table is Sheet1);


Join(group)
category:
LOAD
Model,
Category
FROM [lib://AttachedFiles/Book1.xlsx]
(ooxml, embedded labels, table is Sheet2);


NoConcatenate
Final_Cat:
Load Distinct
"Group",
Category
Resident group;


Drop Table group;

wendytham
Contributor II
Contributor II
Author

Hi, thank you for your reply.

I would like to join the 2 tables with the variable "Final_Cat".

How to join these 2 tables and load only the below variables?

1) Model

2) Final_Cat

2) Amt