Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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?

1 Solution

Accepted Solutions
sunny_talwar

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

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!!