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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Qlikview - join two table

hi all,

i need to join two table in Qlikview to get result.

Table: enter image description here

I need to join this two table to get result table like this

enter image description here

Any idea? Can i use cross table and how?

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be like this

Table:

CrossTable(Location, Quantity)

LOAD * INLINE [

    Reason, LocA, LocB

    R1, 5, 2

    R2, 4, 2

    R3, 5, 3

    R4, 3, 5

];

Right Join

LOAD * INLINE [

    Location, Reason, Answer

    LocA, R1, Yes

    LocA, R2, No

    LocA, R3, Yes

    LocB, R1, Yes

    LocB, R3, No

    LocB, R4, No

];

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be like this

Table:

CrossTable(Location, Quantity)

LOAD * INLINE [

    Reason, LocA, LocB

    R1, 5, 2

    R2, 4, 2

    R3, 5, 3

    R4, 3, 5

];

Right Join

LOAD * INLINE [

    Location, Reason, Answer

    LocA, R1, Yes

    LocA, R2, No

    LocA, R3, Yes

    LocB, R1, Yes

    LocB, R3, No

    LocB, R4, No

];

Anonymous
Not applicable
Author

Thanks a lot!!