Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
manu1512
Creator
Creator

Join issue

Hi All,

In the snapshot there are two tables linked with one common key.

In table Tw_Sp_bo there is one field TW_SP_BO.Reservoir Pressure.There is corresponding of TW_SP_BO.Reservoir Pressure. for every field %KEY_DATE in other table TW.


Now i want a single table consisting of only these two fields and there value should be corresponding.

10 Replies
manu1512
Creator
Creator
Author

vishsaggi‌ again pls help

vishsaggi
Champion III
Champion III

Need more information.

"Now i want a single table consisting of only these two fields and there value should be corresponding."


Can you explain a little more for this above highlighted.

manu1512
Creator
Creator
Author

vishsaggi i mean how to form a single table consisiting of these  two fields only....i tried by using left join and residnet load but values are missing...

vishsaggi
Champion III
Champion III

You have to use concatenate to get all values from two tables.

manu1512
Creator
Creator
Author

Join will not work??

MK9885
Master II
Master II

Maybe try Outer Join with taking your Key from both tables?

vishsaggi
Champion III
Champion III

Can you show me how you are joining a screen shot of your script?

manu1512
Creator
Creator
Author

Hi Vish,

I am trying this,.

Temp:

Load %KEY_DATE,

%KEY_TW

Resident TW;

left join(Temp)

LOAD

%KEY_TW,

TW_SP_BO.Reservoir_Pressure

Resident TW_SP_BO;

DROP TABLE TW,TW_SP_BO;

vishsaggi
Champion III
Champion III

Did you try this?

Temp:

Load %KEY_DATE,

     %KEY_TW

Resident TW;

//Join(Temp)

Concatenate(Temp)

LOAD

%KEY_TW,

TW_SP_BO.Reservoir_Pressure

Resident TW_SP_BO;

DROP TABLE TW,TW_SP_BO;

Uncomment Join (As Khan suggested) and comment Concatenate and try.