<?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: Check QVD exists with date or not in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1662254#M595277</link>
    <description>&lt;P&gt;see if this helps&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;vQVDPath = 'lib://Download/';

vMinDate = Floor(MakeDate(2018,1,1));

vMaxDate = Floor(Today());

QVDNames:
Load * Inline [
Temp ];

for i= vMinDate to vMaxDate

Let vDate = Date($(i),'YYYYMMDD');

Concatenate(QVDNames)
Load if(FileSize('$(vQVDPath)QVD_NAME_$(vDate).qvd'),'QVD Exist','QVD Not Exist') as Status,
     'QVD_NAME_$(vDate).qvd' as FileName
AutoGenerate 1;
     
Next

let i=i+1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Please change your variable according to requirement.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2020 20:46:07 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-01-02T20:46:07Z</dc:date>
    <item>
      <title>Check QVD exists with date or not</title>
      <link>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1661938#M595274</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have QVD that splitted into multiple based on the dates.&amp;nbsp; SO the QVD names are&amp;nbsp; as follows&lt;/P&gt;&lt;P&gt;QVD_NAME_20191220&lt;/P&gt;&lt;P&gt;QVD_NAME_20191221&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to check whether the QVD is already exists for a Date range,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let Say I want to check from 20190101 to 20191231. FOr these date range I should check the QVD is exitst or not.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 07:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1661938#M595274</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2020-01-02T07:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Check QVD exists with date or not</title>
      <link>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1661941#M595275</link>
      <description>&lt;P&gt;You can use &lt;STRONG&gt;for loop&lt;/STRONG&gt; to run around all file values and use file functions like &lt;STRONG&gt;filesize()&lt;/STRONG&gt; to check if it returns zero (fiel not exists) or&amp;nbsp; not.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 08:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1661941#M595275</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-01-02T08:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Check QVD exists with date or not</title>
      <link>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1662149#M595276</link>
      <description>&lt;P&gt;Here is a Design Blog post that may be useful related to Amit's post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here is the base Design Blog URL in case you wish to search for other posts on your own in that area:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 15:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1662149#M595276</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-01-02T15:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Check QVD exists with date or not</title>
      <link>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1662254#M595277</link>
      <description>&lt;P&gt;see if this helps&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;vQVDPath = 'lib://Download/';

vMinDate = Floor(MakeDate(2018,1,1));

vMaxDate = Floor(Today());

QVDNames:
Load * Inline [
Temp ];

for i= vMinDate to vMaxDate

Let vDate = Date($(i),'YYYYMMDD');

Concatenate(QVDNames)
Load if(FileSize('$(vQVDPath)QVD_NAME_$(vDate).qvd'),'QVD Exist','QVD Not Exist') as Status,
     'QVD_NAME_$(vDate).qvd' as FileName
AutoGenerate 1;
     
Next

let i=i+1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Please change your variable according to requirement.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 20:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Check-QVD-exists-with-date-or-not/m-p/1662254#M595277</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-02T20:46:07Z</dc:date>
    </item>
  </channel>
</rss>

