<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Left Join Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681933#M727349</link>
    <description>&lt;P&gt;Joins are usually resource consuming. Joining with billion records is going to take time. And also, it's very unusual that a master table has billion records; generally this happens with transaction tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- check if your key field has duplicate values in master table&lt;/P&gt;&lt;P&gt;&amp;nbsp;- check if your join is happening on multiple fields (creating synthetic keys)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2020 07:55:02 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2020-03-05T07:55:02Z</dc:date>
    <item>
      <title>Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681768#M727343</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I was trying to join 5 fields using left join to the Master Table. when i was using left join its taking more than 1 hour for QVW reload.&amp;nbsp; Without left join its just taking only 10Minutes time&amp;nbsp;to reload.&amp;nbsp;&lt;/P&gt;&lt;P&gt;help me is there any another way can i join 5 fields to Master Table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In Advance&lt;/P&gt;&lt;P&gt;NR&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681768#M727343</guid>
      <dc:creator>NavinReddy</dc:creator>
      <dc:date>2024-11-16T01:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681769#M727344</link>
      <description>&lt;P&gt;You need to provide us with more information:&lt;/P&gt;&lt;P&gt;1. How many rows are in the master table?&lt;/P&gt;&lt;P&gt;2. On what keys do you join the tables?&lt;/P&gt;&lt;P&gt;Can you provide us with the script?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 17:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681769#M727344</guid>
      <dc:creator>sonkumamon</dc:creator>
      <dc:date>2020-03-04T17:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681771#M727345</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/39944"&gt;@sonkumamon&lt;/a&gt;&amp;nbsp;In master table i have more than one billion of rows, its new dimentions table have 5 new fields. Here i am trying to join the 5 fields to the Master table. Thanks&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 17:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681771#M727345</guid>
      <dc:creator>NavinReddy</dc:creator>
      <dc:date>2020-03-04T17:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681925#M727346</link>
      <description>&lt;P&gt;Any suggestions are appreciated. Below is my new dimension table, want to join to Master Table.&amp;nbsp; please help me to resolve this issue. thanks&lt;/P&gt;&lt;P&gt;Left Join (CRE)&lt;BR /&gt;LOAD&lt;BR /&gt;[Load_Date] as [As of Date_Exe],&lt;BR /&gt;[ID1] as [ID_Exe1],&lt;BR /&gt;[LoB Name] as [LoB Name_Exe],&lt;BR /&gt;[Sponsor Name] as [Sponsor Name_Exe],&lt;BR /&gt;[ID2] as [ ID_Exe2],&lt;BR /&gt;[Project Title] as [Project Title_Exe],&lt;BR /&gt;[Commitment Date] as [Commitment Date_Exe],&lt;BR /&gt;[Sub] as [Sub_Exe],&lt;BR /&gt;[ Status] as [ Status_Exe]&lt;/P&gt;&lt;P&gt;STORE CRE into [..\DataSources\CRE].qvd(qvd);&lt;BR /&gt;END IF;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 07:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681925#M727346</guid>
      <dc:creator>NavinReddy</dc:creator>
      <dc:date>2020-03-05T07:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681928#M727347</link>
      <description>&lt;P&gt;You can try using ApplyMap. The performance are better then left join.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 07:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681928#M727347</guid>
      <dc:creator>sonkumamon</dc:creator>
      <dc:date>2020-03-05T07:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681931#M727348</link>
      <description>&lt;P&gt;i want just trying to joining the 9 fields to the Master table will it work?&lt;/P&gt;&lt;P&gt;Left Join (CRE)&lt;BR /&gt;LOAD&lt;BR /&gt;[Load_Date] as [As of Date_Exe],&lt;BR /&gt;[ID1] as [ID_Exe1],&lt;BR /&gt;[LoB Name] as [LoB Name_Exe],&lt;BR /&gt;[Sponsor Name] as [Sponsor Name_Exe],&lt;BR /&gt;[ID2] as [ ID_Exe2],&lt;BR /&gt;[Project Title] as [Project Title_Exe],&lt;BR /&gt;[Commitment Date] as [Commitment Date_Exe],&lt;BR /&gt;[Sub] as [Sub_Exe],&lt;BR /&gt;[ Status] as [ Status_Exe]&lt;/P&gt;&lt;P&gt;STORE CRE into [..\DataSources\CRE].qvd(qvd);&lt;BR /&gt;END IF;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 07:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681931#M727348</guid>
      <dc:creator>NavinReddy</dc:creator>
      <dc:date>2020-03-05T07:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681933#M727349</link>
      <description>&lt;P&gt;Joins are usually resource consuming. Joining with billion records is going to take time. And also, it's very unusual that a master table has billion records; generally this happens with transaction tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- check if your key field has duplicate values in master table&lt;/P&gt;&lt;P&gt;&amp;nbsp;- check if your join is happening on multiple fields (creating synthetic keys)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 07:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681933#M727349</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-03-05T07:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681937#M727350</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;thanks for reply&lt;/P&gt;&lt;P&gt;All distention tables has unique names, i have checked the table viewer do not have any&amp;nbsp;&lt;SPAN&gt;synthetic keys. Is there any other method can i use to join these fields&amp;nbsp;to Master table. T&lt;/SPAN&gt;&lt;SPAN&gt;hanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 08:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681937#M727350</guid>
      <dc:creator>NavinReddy</dc:creator>
      <dc:date>2020-03-05T08:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681941#M727351</link>
      <description>&lt;P&gt;ApplyMap() is generally faster than joins, however, since you have five fields to bring - it would be five applymap(s), not sure if that would improve performance - but worth giving a try.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 08:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681941#M727351</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-03-05T08:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681992#M727352</link>
      <description>&lt;P&gt;i will limit to use only 5 fields from the dimention. i never tried Apply Map() function, Can you help me how to implement. Thanks.&lt;BR /&gt;Is resident load will increase the reload performance?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 10:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1681992#M727352</guid>
      <dc:creator>NavinReddy</dc:creator>
      <dc:date>2020-03-05T10:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682028#M727353</link>
      <description>&lt;P&gt;It depends on various parameters which loading-type - resident or per file (qvd) - is more suitable. If the RAM is short and the data are swapped to the virtual RAM it's usually better to store the origin table into a qvd and drop it then and the following steps load then new from the qvd. If your network/storage performance is rather poor you may intentionally use the reverse approach. Also the capabilties of the CPU to process all the loading/transforming will have an impact. This means you need to measure which part is your biggest bottleneck to bypass it as much as possible.&lt;/P&gt;&lt;P&gt;Beside this by your mentioned amount of data you should consider to apply a multi-stage data-architecture and/or to implement an incremental load-logic.&lt;/P&gt;&lt;P&gt;Personally I use very seldom joins especially not if the datasets are rather big and/or there are risks to double/reduce the number of records in regard to the table-relation of the keys respectively to the data-quality. The much better approach is the already mentioned mapping - it's simple and fast, you could define the values&amp;nbsp; of non-matching keys and with concatenated values you could also use a single mapping for multiple fields. Here an example:&lt;/P&gt;&lt;P&gt;map: load KEY, F1 &amp;amp; '|' &amp;amp; F2 &amp;amp; '|' &amp;amp; F3 inline [&lt;BR /&gt;KEY, F1, F2, F3&lt;BR /&gt;1, a, b, c&lt;BR /&gt;....&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;bigTable:&lt;BR /&gt;load&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; subfield(applymap('map', KEY, 'YourDefault1|'), '|', 1) as F1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; subfield(applymap('map', KEY, '|YourDefault2'), '|', 2) as F2&lt;BR /&gt;&amp;nbsp;&amp;nbsp; subfield(applymap('map', KEY, '||YourDefault'), '|', 3) as F3&lt;BR /&gt;from Source;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 12:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682028#M727353</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-03-05T12:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682147#M727354</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;Thanks you so much for your detailed explanation, its tough to understanding for me, below are the listed fields could you please help how to apply the logic. Kindly help me.&lt;/P&gt;&lt;P&gt;Left Join (CRE)&lt;BR /&gt;LOAD&lt;BR /&gt;[Load_Date] as [As of Date_Exe],&lt;BR /&gt;[ID1] as [ID_Exe1],&lt;BR /&gt;[LoB Name] as [LoB Name_Exe],&lt;BR /&gt;[Sponsor Name] as [Sponsor Name_Exe],&lt;BR /&gt;[ID2] as [ ID_Exe2],&lt;BR /&gt;[Project Title] as [Project Title_Exe],&lt;BR /&gt;[Commitment Date] as [Commitment Date_Exe],&lt;BR /&gt;[Sub] as [Sub_Exe],&lt;BR /&gt;[ Status] as [ Status_Exe]&lt;/P&gt;&lt;P&gt;From [..\DataSources\CRE].qvd(qvd);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 15:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682147#M727354</guid>
      <dc:creator>NavinReddy</dc:creator>
      <dc:date>2020-03-05T15:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682165#M727355</link>
      <description>&lt;P&gt;You need just to regard your order of fields - and of course you need to specify which of the field(s) is your KEY:&lt;/P&gt;&lt;P&gt;map: &lt;STRONG&gt;mapping&lt;/STRONG&gt; load KEY, F1 &amp;amp; '|' &amp;amp; F2 &amp;amp; '|' &amp;amp; F3 ....&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;[Load_Date] as [F1],&lt;BR /&gt;[ID1] as [F2],&lt;BR /&gt;[LoB Name] as [F3],&lt;BR /&gt;[Sponsor Name] as [F4],&lt;BR /&gt;[ID2] as [F5],&lt;BR /&gt;[Project Title] as [F6],&lt;BR /&gt;[Commitment Date] as [F7],&lt;BR /&gt;[Sub] as [F8],&lt;BR /&gt;[ Status] as [F9]&lt;/P&gt;&lt;P&gt;From [..\DataSources\CRE].qvd(qvd);&lt;/P&gt;&lt;P&gt;bigTable:&lt;BR /&gt;load&lt;BR /&gt;*,&lt;BR /&gt;subfield(applymap('map', KEY, 'YourDefault1|'), '|', 1) as [As of Date_Exe],&lt;BR /&gt;subfield(applymap('map', KEY, '|YourDefault2'), '|', 2) as [ID_Exe1],&lt;BR /&gt;subfield(applymap('map', KEY, '||YourDefault3'), '|', 3) as [LoB Name_Exe],&lt;BR /&gt;...&lt;BR /&gt;from Source;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 16:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682165#M727355</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-03-05T16:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682455#M727356</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;thanks a lot for your reply&lt;/P&gt;&lt;P&gt;i just tried to implement this logic and I got the 'Key' not found error, kindly help me. i am attaching the sample dimension table and Master table. kindly help me&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 13:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682455#M727356</guid>
      <dc:creator>NavinReddy</dc:creator>
      <dc:date>2020-03-06T13:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682493#M727357</link>
      <description>&lt;P&gt;You need of course to adjust my example to your existing fields. Whereby I think there are no common field(s) within both tables and then the data couldn't be merged - regardless which approach (join or mapping) should be used.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 14:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Issue/m-p/1682493#M727357</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-03-06T14:36:08Z</dc:date>
    </item>
  </channel>
</rss>

