<?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 Need help with converting SQL JOIN to QlikView LEFT JOIN in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246709#M711680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for help with converting this SQL-syntax to QlikView? I'm not sure how to create a JOIN-statement for table oru --&amp;gt; oh---&amp;gt; salj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;oru.artnr&amp;nbsp; &lt;/P&gt;&lt;P&gt;,salj.koststallekod&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM oru&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN oh ON&lt;/P&gt;&lt;P&gt;oru.foretagkod = oh.foretagkod&lt;/P&gt;&lt;P&gt;AND oru.ordernr = oh.ordernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN salj ON&lt;/P&gt;&lt;P&gt;oh.foretagkod = salj.foretagkod&lt;/P&gt;&lt;P&gt;AND UPPER(oh.saljare) = UPPER(salj.saljare)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE oru.ordlevdat &amp;gt;= '20110101'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks //Joakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2011 12:59:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-27T12:59:25Z</dc:date>
    <item>
      <title>Need help with converting SQL JOIN to QlikView LEFT JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246709#M711680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for help with converting this SQL-syntax to QlikView? I'm not sure how to create a JOIN-statement for table oru --&amp;gt; oh---&amp;gt; salj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;oru.artnr&amp;nbsp; &lt;/P&gt;&lt;P&gt;,salj.koststallekod&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM oru&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN oh ON&lt;/P&gt;&lt;P&gt;oru.foretagkod = oh.foretagkod&lt;/P&gt;&lt;P&gt;AND oru.ordernr = oh.ordernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN salj ON&lt;/P&gt;&lt;P&gt;oh.foretagkod = salj.foretagkod&lt;/P&gt;&lt;P&gt;AND UPPER(oh.saljare) = UPPER(salj.saljare)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE oru.ordlevdat &amp;gt;= '20110101'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks //Joakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 12:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246709#M711680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-27T12:59:25Z</dc:date>
    </item>
    <item>
      <title>Need help with converting SQL JOIN to QlikView LEFT JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246710#M711681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;oru.artnr&amp;nbsp; &lt;/P&gt;&lt;P&gt;,salj.koststallekod&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;,foretagkod&lt;/P&gt;&lt;P&gt;,ordernr&lt;/P&gt;&lt;P&gt;FROM oru;&lt;/P&gt;&lt;P style="min-height: 8pt;"&gt;LEFT JOIN&lt;/P&gt;&lt;P style="min-height: 8pt;"&gt;Select&lt;/P&gt;&lt;P style="min-height: 8pt;"&gt;foretagkod,ordernr,&lt;/P&gt;&lt;P style="min-height: 8pt;"&gt;UPPER(saljare) as saljare&lt;/P&gt;&lt;P&gt;FROM oh;&lt;/P&gt;&lt;P&gt;LEFT JOIN &lt;/P&gt;&lt;P&gt;SELECT foretagkod,&lt;/P&gt;&lt;P&gt;UPPER(saljare) as saljare&lt;/P&gt;&lt;P&gt;FROM salj &lt;/P&gt;&lt;P&gt;WHERE ordlevdat &amp;gt;= '20110101':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop field foretagkod,ordernr,saljare;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 13:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246710#M711681</guid>
      <dc:creator />
      <dc:date>2011-05-27T13:27:09Z</dc:date>
    </item>
    <item>
      <title>Need help with converting SQL JOIN to QlikView LEFT JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246711#M711682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alex...I'll try it out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get back to you soon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Joakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 13:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246711#M711682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-27T13:29:04Z</dc:date>
    </item>
    <item>
      <title>Need help with converting SQL JOIN to QlikView LEFT JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246712#M711683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get cannot find field on "oru.artnr" and "salj.artnr"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried work with the script you sent but without luck....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, need more help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 14:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246712#M711683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-27T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with converting SQL JOIN to QlikView LEFT JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246713#M711684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;SELECT &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;artnr&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;,foretagkod&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;,ordernr&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;FROM oru;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;LEFT JOIN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;foretagkod,ordernr,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;UPPER(saljare) as saljare&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;FROM oh;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;LEFT JOIN &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;SELECT foretagkod,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;koststallekod&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;UPPER(saljare) as saljare&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;FROM salj &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;WHERE ordlevdat &amp;gt;= '20110101':&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #000000;"&gt;drop field foretagkod,ordernr,saljare;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The join is made over all the common fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 14:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246713#M711684</guid>
      <dc:creator />
      <dc:date>2011-05-27T14:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with converting SQL JOIN to QlikView LEFT JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246714#M711685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Alex, you put me in the right direction!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created som "common fileds" as with key values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully joined 3 tables!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oru:&lt;BR /&gt;LOAD &lt;BR /&gt; foretagkod &amp;amp; '#' &amp;amp; ordernr AS KEY_oru_oh&lt;/P&gt;&lt;P&gt; ,&lt;STRONG&gt;ordlevdat &lt;/STRONG&gt;AS datum_date &lt;/P&gt;&lt;P&gt; ,&lt;STRONG&gt;artnr &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;FROM $(QvdRelativeOriginalFolder)oru.qvd (qvd);&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;LOAD &lt;BR /&gt; foretagkod &amp;amp; '#' &amp;amp; ordernr AS KEY_oru_oh&lt;BR /&gt; ,foretagkod &amp;amp; '#' &amp;amp; UPPER(saljare) AS KEY_oh_salj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM $(QvdRelativeOriginalFolder)oh.qvd (qvd);&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;LOAD &lt;BR /&gt; foretagkod &amp;amp; '#' &amp;amp; UPPER(saljare) AS KEY_oh_salj&lt;BR /&gt; ,&lt;STRONG&gt;koststallekod&lt;/STRONG&gt;&lt;BR /&gt;FROM $(QvdRelativeOriginalFolder)salj.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP FIELD KEY_oru_oh, KEY_oh_salj;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 15:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-converting-SQL-JOIN-to-QlikView-LEFT-JOIN/m-p/246714#M711685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-27T15:04:20Z</dc:date>
    </item>
  </channel>
</rss>

