<?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 LEFT JOIN Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-Issue/m-p/399096#M148545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running into an issue with my LEFT JOINs.&amp;nbsp; When I reload my data nothing is loaded.&amp;nbsp; I am not sure what I need to change in my script.&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp; I have attached a Word File containing my script for you to view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listed below are some of my steps to get to where I am at. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LEFT JOINED CDM and Plan table to RevenueAndUsage_Temp in RevenueAndUsage_Temp2 table.&amp;nbsp; This LEFT JOIN worked fine.&amp;nbsp; No issues at this point&lt;/LI&gt;&lt;LI&gt;Created field in RevenueAndUsage_Temp2 table called "FacPatTypeContract".&amp;nbsp; This was used to link RevenueAndUsage_Temp2 to the Payer Table.&amp;nbsp; This works as long as I am not trying to LEFT JOIN the Payer Table to RevenueAndUsage_Temp2.&lt;/LI&gt;&lt;LI&gt;Attempted to LEFT JOIN Payer Table to RevenueAndUsage_Temp2 in RevenueAndUsage_Final.&amp;nbsp; This is where my problem occurs.&amp;nbsp; When I try to LEFT JOIN the Payer Table and reload.&amp;nbsp; Nothing gets loaded.&amp;nbsp; Not sure where I go from here.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2013 17:21:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-01T17:21:46Z</dc:date>
    <item>
      <title>LEFT JOIN Issue</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-Issue/m-p/399096#M148545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running into an issue with my LEFT JOINs.&amp;nbsp; When I reload my data nothing is loaded.&amp;nbsp; I am not sure what I need to change in my script.&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp; I have attached a Word File containing my script for you to view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listed below are some of my steps to get to where I am at. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LEFT JOINED CDM and Plan table to RevenueAndUsage_Temp in RevenueAndUsage_Temp2 table.&amp;nbsp; This LEFT JOIN worked fine.&amp;nbsp; No issues at this point&lt;/LI&gt;&lt;LI&gt;Created field in RevenueAndUsage_Temp2 table called "FacPatTypeContract".&amp;nbsp; This was used to link RevenueAndUsage_Temp2 to the Payer Table.&amp;nbsp; This works as long as I am not trying to LEFT JOIN the Payer Table to RevenueAndUsage_Temp2.&lt;/LI&gt;&lt;LI&gt;Attempted to LEFT JOIN Payer Table to RevenueAndUsage_Temp2 in RevenueAndUsage_Final.&amp;nbsp; This is where my problem occurs.&amp;nbsp; When I try to LEFT JOIN the Payer Table and reload.&amp;nbsp; Nothing gets loaded.&amp;nbsp; Not sure where I go from here.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 17:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-JOIN-Issue/m-p/399096#M148545</guid>
      <dc:creator />
      <dc:date>2013-03-01T17:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN Issue</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-Issue/m-p/399097#M148546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is you should add a noconcatenate for RevenueAndUsage_Final to prevent it being added to RevenueAndUsage_Temp2. When you drop that temp table you are left with nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;RevenueAndUsage_Final:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;NOCONCATENATE &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: 'Courier New', serif;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;[Plan Code]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;Facility&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;, &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;...etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you could replace this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;LEFT&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;JOIN&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: 'Courier New', serif;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New', serif;"&gt;[CDM Procedure Code]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New', serif;"&gt;[Current Price]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;&lt;BR /&gt;[(7) IU Health - Supply Pricing Data.xlsx]&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; CDM);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;with a mapping table and use applymap instead of joining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CDMPriceMap:&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: 'Courier New', serif;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New', serif;"&gt;[CDM Procedure Code]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New', serif;"&gt;[Current Price]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;&lt;BR /&gt;[(7) IU Health - Supply Pricing Data.xlsx]&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', serif;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt; CDM);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;//***********Revenue &amp;amp; Usage Temp*************&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;RevenueAndUsage_Temp:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: 'Courier New', serif;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;[Plan Code]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;Facility&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;[Patient Type]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;[Department Number]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;[CDM Procedure Code]&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;&amp;nbsp;&amp;nbsp; applymap('CDMPriceMap',&lt;SPAN style="color: #800000; font-family: 'Courier New', serif;"&gt;[CDM Procedure Code]) as [Current Price]&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;Volume&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;, &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New', serif;"&gt;...etc&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Courier New', serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 17:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-JOIN-Issue/m-p/399097#M148546</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-01T17:57:17Z</dc:date>
    </item>
  </channel>
</rss>

