<?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 Dynamically delete old .qvd in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamically-delete-old-qvd/m-p/1652458#M63555</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you help on below how dynamically delete .&lt;/P&gt;&lt;P&gt;Let's app refreshed start on Monday 2nd (refresh will happen everyday but we want to retain only weekly and latest qvds )..&lt;/P&gt;&lt;P&gt;2nd, 3rd 4th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th December&lt;/P&gt;&lt;P&gt;if app refresh On above dates&amp;nbsp;&lt;/P&gt;&lt;P&gt;In above case we need to retain only 2nd dec, 9th December , 16th December and 17th December Data (all other dates .qvd will be deleted )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we have more data&lt;/P&gt;&lt;P&gt;18th 19th 20th 21st 22nd 23rd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it will show 2nd, 9th , 16th and 23rd December&lt;/P&gt;&lt;P&gt;Then if we have more date 24th 25th Then 2nd, 9th, 16th, 23rd, 25th&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary, latest Monday and latest date will be retained )&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can someone help how we can handle this.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:59:06 GMT</pubDate>
    <dc:creator>pawwy1415</dc:creator>
    <dc:date>2024-11-16T03:59:06Z</dc:date>
    <item>
      <title>Dynamically delete old .qvd</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-delete-old-qvd/m-p/1652458#M63555</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you help on below how dynamically delete .&lt;/P&gt;&lt;P&gt;Let's app refreshed start on Monday 2nd (refresh will happen everyday but we want to retain only weekly and latest qvds )..&lt;/P&gt;&lt;P&gt;2nd, 3rd 4th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th December&lt;/P&gt;&lt;P&gt;if app refresh On above dates&amp;nbsp;&lt;/P&gt;&lt;P&gt;In above case we need to retain only 2nd dec, 9th December , 16th December and 17th December Data (all other dates .qvd will be deleted )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we have more data&lt;/P&gt;&lt;P&gt;18th 19th 20th 21st 22nd 23rd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it will show 2nd, 9th , 16th and 23rd December&lt;/P&gt;&lt;P&gt;Then if we have more date 24th 25th Then 2nd, 9th, 16th, 23rd, 25th&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary, latest Monday and latest date will be retained )&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can someone help how we can handle this.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-delete-old-qvd/m-p/1652458#M63555</guid>
      <dc:creator>pawwy1415</dc:creator>
      <dc:date>2024-11-16T03:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically delete old .qvd</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-delete-old-qvd/m-p/1652466#M63556</link>
      <description>&lt;P&gt;Hi Pawwy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You seem to touch base with two problems:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) How to execute a file delete statement from QlikSense&lt;/P&gt;&lt;P&gt;2) How to write the logic where at the end of your reload you identify the exact files you need to remove.&lt;/P&gt;&lt;P&gt;Here are some hints for you:&lt;/P&gt;&lt;P&gt;1) Qlik alone isn’t the proper tool for the purpose. Best practice is to write a .bat file and either start it from the QMC or have an “EXECUTE” statement in your QS script.&lt;/P&gt;&lt;P&gt;2) You can create your qvd’s like this:&lt;/P&gt;&lt;P&gt;STORE MyFile INTO MyFile_$(Date(Today())).qvd;&lt;/P&gt;&lt;P&gt;Or you can look into the FileTime() function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;S.T.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 19:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-delete-old-qvd/m-p/1652466#M63556</guid>
      <dc:creator>Stoyan_Terziev</dc:creator>
      <dc:date>2019-11-28T19:53:59Z</dc:date>
    </item>
  </channel>
</rss>

