<?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: Left Join keeps adding a new record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202947#M626925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good call on the table having 6 records, that is exactly why it is happening I believe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a field that has the years and a count for each year in another field. But I am creating an aging document and If I try to have a Year field, it will give me the 6 records for each VIN anyways. That would give me around 5 million records. If I can use the fields as the years, I can get the number down to under a million with just the unique VINS being counted. This document is going to grow yearly, adding the same million or so records every year, so I am trying to hedge against the document becoming too big.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2016 14:55:16 GMT</pubDate>
    <dc:creator>crystles</dc:creator>
    <dc:date>2016-10-06T14:55:16Z</dc:date>
    <item>
      <title>Left Join keeps adding a new record</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202943#M626921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add fields to a table that has a unique set of VINs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So first I load all the Unique VINs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD Distinct &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VIN&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;data\VIN_AllYears.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;Then I load a place holder for each year that we have data for, so each VIN has a value for each year, for comparison, in case a VIN &lt;/SPAN&gt;doesn't&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt; show up in the data for one year, we can still track it.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (Temp)&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2010,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2011,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2012,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2013,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2014,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2015&lt;/P&gt;&lt;P&gt;Resident Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now, at this point the data is perfect, I have one record for each VIN (which is how I want to keep it). BUT when I try to add the data that I need to compare it adds an extra field for each Year field I add, giving me 6 records for each VIN, instead of just one.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is how I am adding the new counts (Standard Count: StdCnt) data currently, and it is giving me a new record for each field.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Join (Temp)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; VIN,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2010,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2011,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2012,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2013,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2014,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2015&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;data\POLK_VIN_AllYears.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;How can I get it to join these fields and only have one record for each VIN?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 14:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202943#M626921</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2016-10-05T14:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join keeps adding a new record</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202944#M626922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New record for each field? I am not sure I understand what you are trying to say here. Can you may be give an example of what you are seeing and what you intended to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 14:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202944#M626922</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T14:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join keeps adding a new record</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202945#M626923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD Distinct &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VIN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2010,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2011,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2012,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2013,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2014,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Yr_2015&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;data\VIN_AllYears.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (Temp)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; VIN,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2010,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2011,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2012,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2013,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2014,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StdCnt_2015&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;data\POLK_VIN_AllYears.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 15:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202945#M626923</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-10-05T15:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join keeps adding a new record</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202946#M626924</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;I guess the reason is because of your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;POLK_VIN_AllYears.qvd having 6 rows per VIN value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Apart from that I would suggest not to load the dimension Year hard coded in field names.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Instead you could create an additional year field e.g using a crosstable load.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 23:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202946#M626924</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-10-05T23:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join keeps adding a new record</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202947#M626925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good call on the table having 6 records, that is exactly why it is happening I believe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a field that has the years and a count for each year in another field. But I am creating an aging document and If I try to have a Year field, it will give me the 6 records for each VIN anyways. That would give me around 5 million records. If I can use the fields as the years, I can get the number down to under a million with just the unique VINS being counted. This document is going to grow yearly, adding the same million or so records every year, so I am trying to hedge against the document becoming too big.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 14:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-keeps-adding-a-new-record/m-p/1202947#M626925</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2016-10-06T14:55:16Z</dc:date>
    </item>
  </channel>
</rss>

