<?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: Help with Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373582#M615838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post an example from each db?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 04:14:49 GMT</pubDate>
    <dc:creator>robert_mika</dc:creator>
    <dc:date>2017-08-10T04:14:49Z</dc:date>
    <item>
      <title>Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373574#M615830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlik Comrades please help. I have 4 .mdb source documents that I am using in my script. For my first sheet I am combining 2 sources to create one table and the remaining 2 sources to create a second table on my second sheet by using Left Join, no problem. For my third sheet I need to pull all four sources ( currently 2 tables) into one table.&amp;nbsp; What is the correct approach?&amp;nbsp; Everything I have tried so far has rendered incorrect results. Thanks in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373574#M615830</guid>
      <dc:creator />
      <dc:date>2017-08-09T16:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373575#M615831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sheet means Tab?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;First tab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;mdb1:&lt;/P&gt;&lt;P&gt;Load * From mdb1;&lt;/P&gt;&lt;P&gt;Left Join(mdb1)&lt;/P&gt;&lt;P&gt;Load * From mdb2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Second Tab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Left Join(mdb1)&lt;/P&gt;&lt;P&gt;Load * From mdb3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Third Tab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Left Keep (mdb1) // or Left Join (mdb1)&lt;/P&gt;&lt;P&gt;Load * From mdb4;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373575#M615831</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-09T16:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373576#M615832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You usually don't have to join tables in Qlik if you have field names under control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give us sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373576#M615832</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-08-09T16:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373577#M615833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response. However, I incorrectly stated my intent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first TAB I need to join the first 2 sources to create one table and the next 2 sources to create a second table. This is what I did:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;TAB #1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;.mdb1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (Table1)&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;.mdb2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table3:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;.mdb3&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Left Join (Table3)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table4:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;.mdb4&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;TAB#2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;NewTable:&lt;/P&gt;&lt;P&gt;This is where I need to combine all 4 Tables (actually 2 tables at this point due to the previous joins)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 18:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373577#M615833</guid>
      <dc:creator />
      <dc:date>2017-08-09T18:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373578#M615834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have same field names in all for sources that I need to keep that way. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 18:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373578#M615834</guid>
      <dc:creator />
      <dc:date>2017-08-09T18:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373579#M615835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angela,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it sounds to me like your different tables contain the same type of information (for example, they all contain Sales). In this case, you want to concatenate your tables rather than JOIN them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;LOAD * FROM ...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Tab1)&lt;/P&gt;&lt;P&gt;LOAD * FROM ...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills with my book &lt;A href="https://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=098202df27917ab9836332cf063c51f5"&gt;QlikView Your Business: An Expert Guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 18:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373579#M615835</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-08-09T18:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373580#M615836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They do contain the same fields but they are from 4 different sources. If I concatenate it creates an additional row with null field values that skews my record count. Left join works correctly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 19:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373580#M615836</guid>
      <dc:creator />
      <dc:date>2017-08-09T19:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373581#M615837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, sounds very strange, you might want to double check your results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have the same fields and you use LEFT JOIN, then QlikView will only load those rows where all fields already existed in the first table. Since all fields are the same, they are all used as JOIN key fields - including quantities, prices, etc... So, unless all fields are exactly the same, LEFT JOIN won't include them in the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenation shouldn't create another row with NULL values, unless it's coming from one of the 4 tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 21:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373581#M615837</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-08-09T21:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373582#M615838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post an example from each db?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 04:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373582#M615838</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2017-08-10T04:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373583#M615839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't really understand your intend here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, For your second table you could use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Load * From Source1;&lt;/P&gt;&lt;P&gt;Load * From Source2;&lt;/P&gt;&lt;P&gt;Load * From Source3;&lt;/P&gt;&lt;P&gt;Load * From Source4;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 04:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Script/m-p/1373583#M615839</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-10T04:18:14Z</dc:date>
    </item>
  </channel>
</rss>

