<?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: Remove outdated data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591855#M219447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to load only data newer than 9/30/2013 you can use a where clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyData:&lt;/P&gt;&lt;P&gt;Load * from MySource&lt;/P&gt;&lt;P&gt;Where Period_End_Date &amp;gt; '9/30/2013'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to use the date# and/or date functions to pass the value in the correct date format. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 13:56:21 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-04-02T13:56:21Z</dc:date>
    <item>
      <title>Remove outdated data</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591853#M219445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikview Developers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set dating back to 2011 which I only want to upload the most recent date. How do remove data from Sept 2013 and back by using a script? Below is the script but it is not working. Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;if((&lt;SPAN style="color: #800000;"&gt;Period_End_Date&lt;/SPAN&gt;)&amp;gt;9/30/2013,&lt;SPAN style="color: #0000ff;"&gt;date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;date#&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;left&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Period_End_Date&lt;/SPAN&gt;, 10),'MM/DD/YYYY'),'MMM-YYYY'), &lt;SPAN style="color: #800000;"&gt;Period_End_Date&lt;/SPAN&gt;)&lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Period_End_Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Jasmine&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 13:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591853#M219445</guid>
      <dc:creator />
      <dc:date>2014-04-02T13:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Remove outdated data</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591854#M219446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do something like below in script..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;From TableName&lt;/P&gt;&lt;P&gt;Where &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;Period_End_Date &amp;gt;&amp;nbsp; &lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;FLOOR&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Period_End_Date)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;,'M/D/YYYY')&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 13:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591854#M219446</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-02T13:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Remove outdated data</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591855#M219447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to load only data newer than 9/30/2013 you can use a where clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyData:&lt;/P&gt;&lt;P&gt;Load * from MySource&lt;/P&gt;&lt;P&gt;Where Period_End_Date &amp;gt; '9/30/2013'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to use the date# and/or date functions to pass the value in the correct date format. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 13:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591855#M219447</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-02T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove outdated data</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591856#M219448</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;Thank you for your quick response. I used (Where Period_End_Date &amp;gt; '9/30/2013') and return just Sep-2013 data. Is there a way to show Sep-2013 and onward data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jasmine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591856#M219448</guid>
      <dc:creator />
      <dc:date>2014-04-02T14:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove outdated data</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591857#M219449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The where clause you used should load the data from October 2013 and later. If it shows data from September 2013 only then the where clause is not working. That probably means the date format is not correct. Without seeing the actual data I cannot tell what would be the right date format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-outdated-data/m-p/591857#M219449</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-02T14:12:26Z</dc:date>
    </item>
  </channel>
</rss>

