<?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 Deduping Records? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377069#M140599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the below code to load record counts from QVDs and track them. However, when I am making changes and doing multiple reloads a day, I get multiple records of the reload for the same day. I have incremental reloads of other QVDs that only keep the most recent reload record and I would like to do something similar for this code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is, "How do I keep only the most recent reload when I refresh this QVD multiple times a day"? Do I have to set some sort of system date variable and then some how concatenate only the most recent reload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19787" class="jive-image-thumbnail jive-image" onclick="" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/19787_Capture.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2012 16:45:13 GMT</pubDate>
    <dc:creator>MalcolmCICWF</dc:creator>
    <dc:date>2012-08-10T16:45:13Z</dc:date>
    <item>
      <title>Deduping Records?</title>
      <link>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377069#M140599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the below code to load record counts from QVDs and track them. However, when I am making changes and doing multiple reloads a day, I get multiple records of the reload for the same day. I have incremental reloads of other QVDs that only keep the most recent reload record and I would like to do something similar for this code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is, "How do I keep only the most recent reload when I refresh this QVD multiple times a day"? Do I have to set some sort of system date variable and then some how concatenate only the most recent reload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19787" class="jive-image-thumbnail jive-image" onclick="" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/19787_Capture.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 16:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377069#M140599</guid>
      <dc:creator>MalcolmCICWF</dc:creator>
      <dc:date>2012-08-10T16:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deduping Records?</title>
      <link>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377070#M140600</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;As long as you are concatenating the existing QVD, and storing it into the same QVD file, it will actually save and load each time you perform a reload. If I understand correctly you only want to keep one row per date, with the latest reload as the only row for that date, then I'd do something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13466835775911309" jivemacro_uid="_13466835775911309"&gt;&lt;P&gt;Size:&lt;/P&gt;&lt;P&gt;LOAD ...&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM QVD_Size.qvd (qvd)&lt;/P&gt;&lt;P&gt;WHERE Date(ReloadTime) &amp;lt;&amp;gt; Today();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Size INTO QVD_Size.qvd (qvd);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will always load the current values, but will not load the same day line, if any, in the concatenated table, so you always have only one value per day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 14:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377070#M140600</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-03T14:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Deduping Records?</title>
      <link>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377071#M140601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added in the&amp;nbsp; "&lt;CODE class="jive-code"&gt;WHERE Date(ReloadTime) &amp;lt;&amp;gt; Today();" script and it is still loading multiple reload dates for my report. Since it says &amp;lt;&amp;gt; Today(), every reload is greater than the last because there is time stamps yet... Any ideas?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;I jsut need to have one set of records per day kept from teh LAST time the report was reloaded. &lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 16:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377071#M140601</guid>
      <dc:creator>MalcolmCICWF</dc:creator>
      <dc:date>2012-09-26T16:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deduping Records?</title>
      <link>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377072#M140602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the concept of &lt;STRONG&gt;incremental load&lt;/STRONG&gt; and check where not exist reloadDATE(not time; just date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2016 09:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377072#M140602</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-10-29T09:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Deduping Records?</title>
      <link>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377073#M140603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LEt reloaddate = NUM(TODAY());&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Size:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD ...,&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt; '$(reloaddate)' as ReloadDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;CONCATENATE LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;...&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM QVD_Size.qvd (qvd)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE not exist (ReloadDate);&lt;/STRONG&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;STORE Size INTO QVD_Size.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2016 09:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377073#M140603</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-10-29T09:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Deduping Records?</title>
      <link>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377074#M140604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your problem has been resolved can you close this thread?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 08:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Deduping-Records/m-p/377074#M140604</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-11-03T08:55:46Z</dc:date>
    </item>
  </channel>
</rss>

