<?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 problem using inner join. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-using-inner-join/m-p/153821#M30695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error is because of your sql statement which only returns "ITEM_ITEM_NAME" where as in your load you have all other fields.&lt;/P&gt;&lt;P&gt;You could just load the item master and rename the item code field to join back to sales data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "SALE_LOCN_CODE",&lt;BR /&gt; "SALE_DOC_TYPE",&lt;BR /&gt; "SALE_DOC_#",&lt;BR /&gt; "SALE_AMND_#",&lt;BR /&gt; "SALE_SRNO_#",&lt;BR /&gt; "SALE_FREE_FLAG",&lt;BR /&gt; "SALE_ITEM_CODE" ;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM "NEWTON_BI1"."MKG_SALE_D" where substr("SALE_ITEM_CODE",2,2) in ('01','02','03','04','05');&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"ITEM_ITEM_CODE" AS "SALE_ITEM_CODE",&lt;/P&gt;&lt;P&gt;"ITEM_ITEM_NAME",&lt;/P&gt;&lt;P&gt;"ITEM_IMP_FLG",&lt;BR /&gt; "ITEM_UOM_CODE",&lt;BR /&gt; "ITEM_BDG_ITEM",&lt;BR /&gt; "ITEM_SL_CODE" ;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM "NEWTON_BI1"."STR_ITEM_M" ;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tariq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2009 13:29:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-17T13:29:37Z</dc:date>
    <item>
      <title>problem using inner join.</title>
      <link>https://community.qlik.com/t5/QlikView/problem-using-inner-join/m-p/153820#M30694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i am getting problem in perfoming inner join for the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "SALE_LOCN_CODE",&lt;BR /&gt; "SALE_DOC_TYPE",&lt;BR /&gt; "SALE_DOC_#",&lt;BR /&gt; "SALE_AMND_#",&lt;BR /&gt; "SALE_SRNO_#",&lt;BR /&gt; "SALE_FREE_FLAG",&lt;BR /&gt; "SALE_ITEM_CODE" ;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM "NEWTON_BI1"."MKG_SALE_D" where substr("SALE_ITEM_CODE",2,2) in ('01','02','03','04','05');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "ITEM_ITEM_CODE",&lt;BR /&gt; "ITEM_ITEM_NAME",&lt;BR /&gt; "ITEM_IMP_FLG",&lt;BR /&gt; "ITEM_UOM_CODE",&lt;BR /&gt; "ITEM_BDG_ITEM",&lt;BR /&gt; "ITEM_SL_CODE" ;&lt;/P&gt;&lt;P&gt;SQL SELECT a."ITEM_ITEM_NAME"&lt;BR /&gt;FROM "NEWTON_BI1"."STR_ITEM_M" a INNER JOIN "NEWTON_BI1"."MKG_SALE_D" b&lt;BR /&gt;ON a."ITEM_ITEM_CODE"= b."SALE_ITEM_CODE" ;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;the error it displays on reload is :-&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;ITEM_ITEM_CODE&amp;gt;&lt;BR /&gt;SQL SELECT a."ITEM_ITEM_NAME"&lt;BR /&gt;FROM "NEWTON_BI1"."STR_ITEM_M" a INNER JOIN "NEWTON_BI1"."MKG_SALE_D" b&lt;BR /&gt;ON a."ITEM_ITEM_CODE"= b."SALE_ITEM_CODE" .&lt;/P&gt;&lt;P&gt;please suggest the solution.&lt;/P&gt;&lt;P&gt;is there any other way to get ."ITEM_ITEM_NAME" depending upon the common "ITEM_ITEM_CODE" and ."SALE_ITEM_CODE" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 13:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-using-inner-join/m-p/153820#M30694</guid>
      <dc:creator />
      <dc:date>2009-11-17T13:15:19Z</dc:date>
    </item>
    <item>
      <title>problem using inner join.</title>
      <link>https://community.qlik.com/t5/QlikView/problem-using-inner-join/m-p/153821#M30695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error is because of your sql statement which only returns "ITEM_ITEM_NAME" where as in your load you have all other fields.&lt;/P&gt;&lt;P&gt;You could just load the item master and rename the item code field to join back to sales data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "SALE_LOCN_CODE",&lt;BR /&gt; "SALE_DOC_TYPE",&lt;BR /&gt; "SALE_DOC_#",&lt;BR /&gt; "SALE_AMND_#",&lt;BR /&gt; "SALE_SRNO_#",&lt;BR /&gt; "SALE_FREE_FLAG",&lt;BR /&gt; "SALE_ITEM_CODE" ;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM "NEWTON_BI1"."MKG_SALE_D" where substr("SALE_ITEM_CODE",2,2) in ('01','02','03','04','05');&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"ITEM_ITEM_CODE" AS "SALE_ITEM_CODE",&lt;/P&gt;&lt;P&gt;"ITEM_ITEM_NAME",&lt;/P&gt;&lt;P&gt;"ITEM_IMP_FLG",&lt;BR /&gt; "ITEM_UOM_CODE",&lt;BR /&gt; "ITEM_BDG_ITEM",&lt;BR /&gt; "ITEM_SL_CODE" ;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM "NEWTON_BI1"."STR_ITEM_M" ;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tariq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 13:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-using-inner-join/m-p/153821#M30695</guid>
      <dc:creator />
      <dc:date>2009-11-17T13:29:37Z</dc:date>
    </item>
  </channel>
</rss>

