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: 
Not applicable

creating 1 table from 2 tables

hi,

I have the following:

TABLE1:

IDPERSON
1JOHN
2JACK
3PAUL
4PETER

and TABLE2:

IDMOVIE
1ABC
1DEF
2GHI
2JKL

I need all the information to be in TABLE1 in a flat structure. Is there a way to do this in qlikview?

Thanks,

1 Solution

Accepted Solutions
senpradip007
Specialist III
Specialist III

Try this:

A:

LOAD * Inline [
Idd,Person
1,Peter
2,John
3,Karb
4,Bob
]
;
Left Join
LOAD * Inline [
Idd,Movie
1,ABC
1,DEF
2,GHI
2,JKL
]
;

View solution in original post

2 Replies
senpradip007
Specialist III
Specialist III

Try this:

A:

LOAD * Inline [
Idd,Person
1,Peter
2,John
3,Karb
4,Bob
]
;
Left Join
LOAD * Inline [
Idd,Movie
1,ABC
1,DEF
2,GHI
2,JKL
]
;

hic
Former Employee
Former Employee

Why do you need it in a flat structure? Most calculations work just as well, if not better, if you keep it in two tables. See more on http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/12/to-join-or-not-to-join

HIC