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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
svsudhakar
Creator
Creator

joining requirement, help required in set analysis

Hi ,

Need help on below issue.

I have two tables A,B

Table A

LUSERID
LOCID

AUSERID

Table B

USERID

LOCID

Value

I need to show the LUSERID,LOCID  wise values and as well as AUSERID,LOCID wise value.

if I create the key like LUSERID&LOCID from table A and USERID&LOCID from table B values are matching, but Auserid report not coming.

if I create the key like AUSERID&LOCID from table A and USERID&LOCID from table B values are matching, but luserid report not coming.

how I can show in one report both values.

7 Replies
alexandros17
Partner - Champion III
Partner - Champion III

do not create keys just:

TableA

left join

TableB

Let me know

Not applicable

Hi,

Table A

Left(Table A)

Table B:

or else use Left Keep

its_anandrjs
Champion III
Champion III

One possible way also join this tables and make use of Order BY

TableA:

LUSERID
LOCID

AUSERID

Left Join(TableA)

TableB:

USERID

LOCID

Value

Noconcatenate

Load

LUSERID
LOCID

AUSERID

USERID

Value

Resident TableA

Order BY LUSERID,AUSERID,LOCID;

Drop Table TableA;

Regards

Anand

svsudhakar
Creator
Creator
Author

Hi Thanks for your reply..

Is there any way to get the values with out join because other tables are linked to table A. If I do the join it will effect the other reports.

svsudhakar
Creator
Creator
Author

Hi ,

Based on which filed I have to do the left join

ashfaq_haseeb
Champion III
Champion III

LOCID


Which is key field

alexandros17
Partner - Champion III
Partner - Champion III

You can have the same result even if you do not perform the join.

Load both tables, you will have all values because tables will associate on common fields (similar to join)

Let me know