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

Help with some tricky join for two tables

Hi dear all!

I need to make some tricky join with qlikview for two tables.

1. table has one field with ID in column like:

ID

111

222

2.table has same ID's in two columns in a row like:

ID ID2

111 222

How to correctly join this tables ?

Thanks!

6 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi,

I would suggest you to use the crosstable method on the second table so now you data might look like

Id_Data ID

ID 111

ID2 222

Now link the ID field with the above table.

Not applicable
Author

HI USe the cross table for the above problem.

Not applicable
Author

Is it possible for SQL tables ?

Not applicable
Author

Yes it is possible...... when you select you table ......

Do next > enable transform > next > cross table

deepakk
Partner - Specialist III
Partner - Specialist III

hi,

If you are not comfortable in doing it SQL you can do it using resident.

eg :

test:

Select * from table;

crosstable(ID_field, ID, 2)

load

fieldnames....

resident test;


Not applicable
Author

Thanks to all. Crosstable solved the problem.

Big thanks! Yes