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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bharatkishore
Creator III
Creator III

Mapping or join

Hi All,

I have two tables.

In one table i have A,B,C,D.....K

In second table i have A,B,C,D,L.

Now i need to use combination of A,b,C,D(from 1st table if i don't use A,B,C,D from second table also fine) to get the value for L which is in second table.

Now for this what i need to do join or link the tables or Mapping.. I am not sure.

Can you please help me on this.

Thanks,

Bharat

32 Replies
bharatkishore
Creator III
Creator III
Author

I have two tables now. so if i store into qvd only one table will get stored into qvd.

I want after linking the two tables to be created as a qvd. .which includes both the tables data.

bharatkishore
Creator III
Creator III
Author

Hi Gerold,

Can you please find the attached app and i need to store the two tables data into a qvd .

qlik4asif
Creator III
Creator III

Then you need to make it as a single table by using Mapping

Then store the table in QVD

bharatkishore
Creator III
Creator III
Author

Can  you please help me how can i achieve it.

Because that is what i am not sure..

kakani87
Specialist
Specialist

This may be helpful??

Category:

LOAD Calendar_Month_Code &'|'& Sales_Organization &'|'&  Material_Code &'|'&  SWO_Code  &'|'&   Equipment_Code as Key,

//Calendar_Month_Code,

//     Sales_Organization,

//     Material_Code,

//     SWO_Code,

//     Equipment_Code,

     Category

FROM

(qvd) Where Calendar_Month_Code ='201701' and  Sales_Organization='US93';

Temp:

Mapping

load

Key

,Category

Resident Category;

Overview:

LOAD Calendar_Month_Code &'|'& Sales_Organization  &'|'&  Material_Code&'|'&  SWO_Code  &'|'&   Equipment_Code as Key,

     Sales_Organization,

     Material_Code,

     SWO_Code,

     Equipment_Code,

     [mat con fix cur],

     applymap('Temp',Key) as Category

FROM

(qvd) Where Calendar_Month_Code ='201701' and  Sales_Organization='US93';

STORE Overview into [..\QVD\Overview.qvd](qvd);

drop table Overview; 

qlik4asif
Creator III
Creator III

I have included code as per ur requirement in a new tab

Comment the first tab(ur code) and try to run  it

qlik4asif
Creator III
Creator III

PFA

bharatkishore
Creator III
Creator III
Author

Hi,

I am getting error as Key field not found..

bharatkishore
Creator III
Creator III
Author

Hi,

Thanks i have tried your code but category field is missing

kakani87
Specialist
Specialist

Data fields are same in the post and dashboard rite??

check with Asif's post showing category in that sample posted.