<?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: Problems using precedent load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932058#M967585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the order of your LOAD statements, it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Sep 2015 09:18:44 GMT</pubDate>
    <dc:creator>SreeniJD</dc:creator>
    <dc:date>2015-09-24T09:18:44Z</dc:date>
    <item>
      <title>Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932056#M967583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a file with duplicates rows, then I load with distintct, but when I make a precedent load to do an aggregagate with the previous data it makes the aggregate with the dups rows....(the distinct doesn't have effect)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ciudad, producto, mes, sum(venta) as venta GROUP BY ciudad, producto, mes;&lt;/P&gt;&lt;P&gt;LOAD Distinct mes, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ciudad, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; producto, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; venta&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Hoja1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 08:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932056#M967583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-24T08:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932057#M967584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've not yet seen a group by clause in a preceding load. I would split the script in 2 different subsequent actions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 09:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932057#M967584</guid>
      <dc:creator>puttemans</dc:creator>
      <dc:date>2015-09-24T09:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932058#M967585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the order of your LOAD statements, it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 09:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932058#M967585</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-09-24T09:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932059#M967586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nooo, I can't change load order &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to eliminate duplicates before aggregate!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I aggregate with duplicates and after that I do the distinct it won't be the same....I have the dups in my aggregates rows,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 09:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932059#M967586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-24T09:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932060#M967587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try the following :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;100:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Distinct mes,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ciudad,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; producto,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; venta as venta1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Hoja1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;noconcatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;200:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD ciudad, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; producto, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mes, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(venta1) as venta &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;RESIDENT 100&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GROUP BY ciudad, producto, mes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DROP TABLE 100;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 09:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932060#M967587</guid>
      <dc:creator>puttemans</dc:creator>
      <dc:date>2015-09-24T09:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932061#M967588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible, can you pls share the sample qvw with dummy data, I will try with a POC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 09:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932061#M967588</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-09-24T09:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932062#M967589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this - I think preceding load process one record at a time at all load levels, might be that is not allowing to remove distincts but not sure...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableA:&lt;/P&gt;&lt;P&gt;Load Distinct * inline [&lt;/P&gt;&lt;P&gt;Prod, Sales&lt;/P&gt;&lt;P&gt;A, 100&lt;/P&gt;&lt;P&gt;A, 100&lt;/P&gt;&lt;P&gt;B, 50&lt;/P&gt;&lt;P&gt;C, 100&lt;/P&gt;&lt;P&gt;C, 100&lt;/P&gt;&lt;P&gt;C, 200&lt;/P&gt;&lt;P&gt;D, 200&lt;/P&gt;&lt;P&gt;D, 300 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableB:&lt;/P&gt;&lt;P&gt;Load Prod, Sum(Sales) Resident TableA Group By Prod;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table TableA;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 09:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932062#M967589</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-09-24T09:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932063#M967590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Distinct is the last action to be executed in a load. The easiest way to fix this is to split it&amp;nbsp; into two loads. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tempTable:&lt;/P&gt;&lt;P&gt;Load * from file;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalTable:&lt;/P&gt;&lt;P&gt;load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ciudad, producto, mes, sum(venta) as venta resident tempTable GROUP BY ciudad, producto, mes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table tempTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 09:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932063#M967590</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2015-09-24T09:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using precedent load</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932064#M967591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is now a known issue(or say, behavior), explained nicely by Barry here: &lt;A href="http://www.qlikfix.com/2013/07/30/distinct-can-be-deceiving/" title="http://www.qlikfix.com/2013/07/30/distinct-can-be-deceiving/"&gt;DISTINCT can be deceiving - The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview would generate a distinct output, no matter wherever(in the first preceding load or later) you use distinct keyword. &lt;EM&gt;To sort out this issue you have to use &lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;a resident load.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 09:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-using-precedent-load/m-p/932064#M967591</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-09-24T09:53:37Z</dc:date>
    </item>
  </channel>
</rss>

