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: 
sangland2
Partner - Creator
Partner - Creator

left joins in QV11 and QV12 work differently

Hi,

Can someone please explain why in QV11 I get one row in my resulting table, but in QV12 I get two with this script:

Calendar:

LOAD * INLINE [

    calendarID,name

    2000,March Financial Year

];

left join

LOAD * INLINE [

    oid,calendarID,year

    1000,2000,'31/03/15'

    1001,2000,'31/03/16'

];


In SQL and QV11 both a left join and inner join would return two rows.

snip4.JPG

Left or Right keep join will return two rows but only one row will have the calendar name value.

In QV12 is appears to be necessary to create two separate tables to achieve the name result.

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

In both QV11 and QV12 I get two rows.

There was a bug back  in QV12Sr1 that matches what you are describing.  What release of QV12 are you using?

-Rob

View solution in original post

2 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

In both QV11 and QV12 I get two rows.

There was a bug back  in QV12Sr1 that matches what you are describing.  What release of QV12 are you using?

-Rob

sangland2
Partner - Creator
Partner - Creator
Author

Version12.0.20001.0 SR1 64-bit. I have upgraded to QV12.10.20600.0 SR8 and all sorted. thanks