Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I recently updated my QV to SR4 and today I noticed that one script stop working. The problem occurs when I do a JOIN to a Table using data from more than one QVD (using wildcards). Something like this (where Master is a table with a field called id):
LEFT JOIN (Master)
LOAD id
, Count(DISTINCT subid) AS q
FROM [Master_*.qvd] (qvd)
GROUP BY id;
An example application [View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.01.15.11.Posted/JoinLoadWildcard.qvw].
In this case, I guess that QV does one JOIN for each QVD instead of loading all QVDs and then do the JOIN. As result, I only get a subset of the data joined.
Am I doing anything wrong?
Hi,
I don't think that SR4 is the problem. In previous versions it also wasn't possible to do what you want to do.
The way we work:
tt_table:
LOAD id
, Count(DISTINCT subid) AS q
FROM [Master_*.qvd] (qvd)
GROUP BY id;
LEFT JOIN (Master)
LOAD
*
RESIDENT tt_table;
DROP TABLE tt_table;
Hi,
I don't think that SR4 is the problem. In previous versions it also wasn't possible to do what you want to do.
The way we work:
tt_table:
LOAD id
, Count(DISTINCT subid) AS q
FROM [Master_*.qvd] (qvd)
GROUP BY id;
LEFT JOIN (Master)
LOAD
*
RESIDENT tt_table;
DROP TABLE tt_table;
You're right. I tried the previous version and behaves the same way. I'm using a resident temp table as workaround. Thanks!