<?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 Renaming a file using maxdate for tracking in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Renaming-a-file-using-maxdate-for-tracking/m-p/616406#M1111494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have a question.&lt;/P&gt;&lt;P&gt;If&amp;nbsp; i have a file with transactions and i want to to use the maxdate function,, put it in a variable&amp;nbsp; .&lt;/P&gt;&lt;P&gt;and then use the data in this variable to rename the qvd file, that way i can keep track when was the latest transaction&lt;/P&gt;&lt;P&gt;and the file name will be changed only if there is new last transaction, how do i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Mar 2014 10:39:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-09T10:39:21Z</dc:date>
    <item>
      <title>Renaming a file using maxdate for tracking</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-a-file-using-maxdate-for-tracking/m-p/616406#M1111494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have a question.&lt;/P&gt;&lt;P&gt;If&amp;nbsp; i have a file with transactions and i want to to use the maxdate function,, put it in a variable&amp;nbsp; .&lt;/P&gt;&lt;P&gt;and then use the data in this variable to rename the qvd file, that way i can keep track when was the latest transaction&lt;/P&gt;&lt;P&gt;and the file name will be changed only if there is new last transaction, how do i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 10:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-a-file-using-maxdate-for-tracking/m-p/616406#M1111494</guid>
      <dc:creator />
      <dc:date>2014-03-09T10:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming a file using maxdate for tracking</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-a-file-using-maxdate-for-tracking/m-p/616407#M1111495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you're making it a bit too complex, but that may be because of my limited view on your actual situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date of the last transaction has a relation to the reload time of the qvd. Newer transactions aren't in there because the QVD was reloaded before the transactions were created. If you just want to know how to incrementzally update the data in a QVD or a related table, you can use the QVD reload timestamp. There is a script function for that to get the timestamp from the QVD header (no loading the entire qvd): QvdCreateTime(&lt;EM&gt;filename&lt;/EM&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 10:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-a-file-using-maxdate-for-tracking/m-p/616407#M1111495</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-09T10:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming a file using maxdate for tracking</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-a-file-using-maxdate-for-tracking/m-p/616408#M1111496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;script to store in a qvd a table&lt;/P&gt;&lt;P&gt;the name of the qvd has the max date of the table&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt; floor(today() + rand()*1600) as d&lt;/P&gt;&lt;P&gt;AutoGenerate 1000; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD max(d) as maxfield Resident Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMaxDate=date(peek('maxfield'), 'YYYYMMDD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store Table into Table_$(vMaxDate).qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 11:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-a-file-using-maxdate-for-tracking/m-p/616408#M1111496</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-09T11:04:57Z</dc:date>
    </item>
  </channel>
</rss>

