<?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 Max + FileTime. How to get the latest modified file? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-FileTime-How-to-get-the-latest-modified-file/m-p/878770#M306777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello the community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a folder with hundreds of .xlsx spreadsheets inside.&lt;/P&gt;&lt;P&gt;And a folder of QVDs.&lt;/P&gt;&lt;P&gt;If one spreadsheets has a modified time or date &amp;gt; than the create time of the QVDs, I'd like to re upload everything.&lt;/P&gt;&lt;P&gt;Now my pbm is: How do I tell qlikview to look for the latest updated spreadsheet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought about combining MAX(FileTime ... ) but it doesn't work.&lt;/P&gt;&lt;P&gt;See below my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;alt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MAX&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FileTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(RootDir_FACT)my_file.qvd') &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FileTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(RootDir_Data)myFile.xlsx'))))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;THEN &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea?&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, 11 Jun 2015 20:39:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-11T20:39:32Z</dc:date>
    <item>
      <title>Max + FileTime. How to get the latest modified file?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-FileTime-How-to-get-the-latest-modified-file/m-p/878770#M306777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello the community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a folder with hundreds of .xlsx spreadsheets inside.&lt;/P&gt;&lt;P&gt;And a folder of QVDs.&lt;/P&gt;&lt;P&gt;If one spreadsheets has a modified time or date &amp;gt; than the create time of the QVDs, I'd like to re upload everything.&lt;/P&gt;&lt;P&gt;Now my pbm is: How do I tell qlikview to look for the latest updated spreadsheet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought about combining MAX(FileTime ... ) but it doesn't work.&lt;/P&gt;&lt;P&gt;See below my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;alt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MAX&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FileTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(RootDir_FACT)my_file.qvd') &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FileTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(RootDir_Data)myFile.xlsx'))))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;THEN &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea?&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, 11 Jun 2015 20:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-FileTime-How-to-get-the-latest-modified-file/m-p/878770#M306777</guid>
      <dc:creator />
      <dc:date>2015-06-11T20:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Max + FileTime. How to get the latest modified file?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-FileTime-How-to-get-the-latest-modified-file/m-p/878771#M306778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try here (Taras, Peter) to get the most recent file in a dir&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/727685"&gt;Load last file&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 20:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-FileTime-How-to-get-the-latest-modified-file/m-p/878771#M306778</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-11T20:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Max + FileTime. How to get the latest modified file?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-FileTime-How-to-get-the-latest-modified-file/m-p/878772#M306779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I don't need to get those files, I really just need to tell qlikview to "do this if this situation happens", that is why Max(FileTime sounded good.&lt;/P&gt;&lt;P&gt;I'm gonna keep digging...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 21:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-FileTime-How-to-get-the-latest-modified-file/m-p/878772#M306779</guid>
      <dc:creator />
      <dc:date>2015-06-11T21:16:36Z</dc:date>
    </item>
  </channel>
</rss>

