Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Left Join primary with 0 in the left

Hello,

I have a problem with the left join

Example :

Table A

ID1  ART

60   articleB

100 articleC

...

Table B

ID1  LIBID1

060 TOTO

60   TATA

When I use the left join, the program return 2 rows

LEFT JOIN (Table A)

     Select ID1, LIBID from Table B

60 articleB TOTO ????

60 articleB TATA

Could you help me please ?

4 Replies
Anonymous
Not applicable
Author

060 will be interpreted as a numeric value (60) and joined accordingly unless you specify Text().

Not applicable
Author

So there is no solution ?

Anonymous
Not applicable
Author

Sure, load the ID1 fields as text:

Text(ID1) as ID1

This will separate 60 and 060.

Not applicable
Author

The problem is not with the left join but when I import the data.

The table B is an access table, and the field ID1 is in Text exactly like that

Table B

ID1  LIBID1

060 TOTO

60   TATA

when I import the data into Qlikview

SQL SELECT ID1 FROM TableB

I have this result

ID1  LIBID1

060 TOTO

060 TATA

The function Text(ID1) doesn't work with Access

Thank you for your help