<?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: Diff b/w Left Join and Apply Map? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755531#M269028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left join will join two tables physically like we do in normal SQL, where as by using ApplyMap() we can create a new column in the table based on the key values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference is when you want to include multiple columns into the table then go for join, if you want to include only one column then use applymap().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join Scenario:&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Columns : C1, C2, C3&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Columns: C1, C4, C5, C6&lt;/P&gt;&lt;P&gt;Result: C1, C2, C3, C4, C5, C6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Columns : C1, C2, C3&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Columns: C1, C4&lt;/P&gt;&lt;P&gt;Result: C1, C2, C3, C4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2015 06:34:31 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-01-23T06:34:31Z</dc:date>
    <item>
      <title>Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755529#M269026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one can i explain with Left Join and Apply Map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is better performance in qv while creating data model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub2u&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 06:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755529#M269026</guid>
      <dc:creator />
      <dc:date>2015-01-23T06:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755530#M269027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use Mapping load then in Mapping table needs two fields at least for mapping weather as in joins need sigle or more common fields for joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 06:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755530#M269027</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-01-23T06:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755531#M269028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left join will join two tables physically like we do in normal SQL, where as by using ApplyMap() we can create a new column in the table based on the key values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference is when you want to include multiple columns into the table then go for join, if you want to include only one column then use applymap().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join Scenario:&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Columns : C1, C2, C3&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Columns: C1, C4, C5, C6&lt;/P&gt;&lt;P&gt;Result: C1, C2, C3, C4, C5, C6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Columns : C1, C2, C3&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Columns: C1, C4&lt;/P&gt;&lt;P&gt;Result: C1, C2, C3, C4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 06:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755531#M269028</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-01-23T06:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755532#M269029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more clear vision&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Mapping Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapTab:&lt;/P&gt;&lt;P&gt;Mapping LOAD * Inline [&lt;/P&gt;&lt;P&gt;ID,Desc&lt;/P&gt;&lt;P&gt;1,Desc1&lt;/P&gt;&lt;P&gt;2,Desc2&lt;/P&gt;&lt;P&gt;3,Desc3&lt;/P&gt;&lt;P&gt;4,Desc4 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ApplyMap('MapTab',ID) as Desc ,* Inline [&lt;/P&gt;&lt;P&gt;ID,Sales,Location&lt;/P&gt;&lt;P&gt;1,48741,L1&lt;/P&gt;&lt;P&gt;2,12369,L2&lt;/P&gt;&lt;P&gt;3,14852,L3 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this you get Desc column on the base of ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. With joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapTab:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ID,Desc,Details&lt;/P&gt;&lt;P&gt;1,Desc1,some info&lt;/P&gt;&lt;P&gt;2,Desc2,other info &lt;/P&gt;&lt;P&gt;3,Desc3,related info&lt;/P&gt;&lt;P&gt;4,Desc4,info given&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ID,Sales,Location&lt;/P&gt;&lt;P&gt;1,48741,L1&lt;/P&gt;&lt;P&gt;2,12369,L2&lt;/P&gt;&lt;P&gt;3,14852,L3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you get 5 fileds single table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 06:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755532#M269029</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-01-23T06:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755533#M269030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is one another difference between join and applymap is in granularity,&lt;IMG alt="Join vs Applymap.png" class="image-1 jive-image" src="/legacyfs/online/76054_Join vs Applymap.png" style="height: 278px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope above image make some clarity &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 07:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755533#M269030</guid>
      <dc:creator />
      <dc:date>2015-01-23T07:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755534#M269031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you avoid using join as far as possible and use applymap instead, even where several applymap are required. Joins may cause data to be inadvertently duplicated and can be slow during reloads.&lt;/P&gt;&lt;P&gt;See the blog below&amp;nbsp; by &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2756"&gt;Don't join - use Applymap instead&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 07:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755534#M269031</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-01-23T07:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755535#M269032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In single mapping, performance is almost the same for both methods. But if there are a lot of fields to map in one table, better are ApplyMap functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other differences of methods, as mentioned Colin Albert, is that in "left join" both tables affected on record level - number of records of left table may grow and/or double records both tables may be withdraw. ApplyMap do not affects records at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 09:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755535#M269032</guid>
      <dc:creator />
      <dc:date>2015-01-23T09:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755536#M269033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap and Lookup .. which is the better one to improve performance in data model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub2u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 11:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755536#M269033</guid>
      <dc:creator />
      <dc:date>2015-01-23T11:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Left Join and Apply Map?</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755537#M269034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Applymap() is much faster than Lookup().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 13:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-b-w-Left-Join-and-Apply-Map/m-p/755537#M269034</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-01-23T13:14:06Z</dc:date>
    </item>
  </channel>
</rss>

