<?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: Load QVDs between two dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745992#M721438</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14000"&gt;@viveksingh&lt;/a&gt;&amp;nbsp; If your actual field value in data also holds the values like YYYYMMDD format then try below&lt;/P&gt;&lt;P&gt;Let Vstart=floor(date#(20200101,'YYYYMMDD'));&lt;/P&gt;&lt;P&gt;Let Vend=floor(date#(20200520,'YYYYMMDD'));&lt;/P&gt;&lt;P&gt;then try below where&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from SALES*.qvd&lt;/P&gt;&lt;P&gt;where floor(date#(Date,'YYYYMMDD'))&amp;nbsp; &amp;gt;= $(Vstart) and floor(date#(Date,'YYYYMMDD'))&amp;nbsp; &amp;lt;=$(Vend);&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 12:23:26 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-09-22T12:23:26Z</dc:date>
    <item>
      <title>Load QVDs between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745971#M721434</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Have Multiple QVDs with similar names like SALES_1,SALES_2,&amp;nbsp;SALES_3,&amp;nbsp;SALES_4,&amp;nbsp;SALES_5,&amp;nbsp;SALES_6.....&lt;/P&gt;&lt;P&gt;I have to load only those QVDs that have a specific date range in between 20200101 and 20200520.&lt;/P&gt;&lt;P&gt;I tried below, but not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let Vstart=Num(20200101 );&lt;/P&gt;&lt;P&gt;Let Vend=Num(20200520);&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from SALES*.qvd&lt;/P&gt;&lt;P&gt;where Num(Date) between $(Vstart) and $(Vend);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745971#M721434</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2024-11-15T23:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Load QVDs between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745974#M721435</link>
      <description>&lt;P&gt;Try this for Vstart and Vend&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LET Vstart = Num(MakeDate(2020, 1, 1));
LET Vend = Num(MakeDate(2020, 5, 20));&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 22 Sep 2020 11:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745974#M721435</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-22T11:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Load QVDs between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745984#M721436</link>
      <description>&lt;P&gt;Between is not a Qlik function you could use &amp;lt; and &amp;gt; instead.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM SALES*.qvd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;WHERE Date &amp;gt;= $(Vstart) AND&amp;nbsp;Date &amp;lt;= $(Vend)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;You do also need to make sure that you are comparing the correct values. If your Date field is a date then you will probably need to&amp;nbsp; do something like&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; is suggesting above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For reference, remember that&lt;/P&gt;&lt;P&gt;If &lt;FONT face="courier new,courier"&gt;today() =&amp;nbsp;'20200922'&lt;/FONT&gt; then&lt;FONT face="courier new,courier"&gt; num(Today()) =&amp;nbsp;44096&lt;/FONT&gt;.&amp;nbsp; This because 20200922 is only the text representation of the date not the numeric value of the date.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745984#M721436</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-09-22T12:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Load QVDs between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745992#M721438</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14000"&gt;@viveksingh&lt;/a&gt;&amp;nbsp; If your actual field value in data also holds the values like YYYYMMDD format then try below&lt;/P&gt;&lt;P&gt;Let Vstart=floor(date#(20200101,'YYYYMMDD'));&lt;/P&gt;&lt;P&gt;Let Vend=floor(date#(20200520,'YYYYMMDD'));&lt;/P&gt;&lt;P&gt;then try below where&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from SALES*.qvd&lt;/P&gt;&lt;P&gt;where floor(date#(Date,'YYYYMMDD'))&amp;nbsp; &amp;gt;= $(Vstart) and floor(date#(Date,'YYYYMMDD'))&amp;nbsp; &amp;lt;=$(Vend);&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1745992#M721438</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-09-22T12:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load QVDs between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1753015#M721440</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14000"&gt;@viveksingh&amp;nbsp; You have some good responses here, we would greatly appreciate it if you could circle back to this thread and close things out by using the Accept as Solution button on the post(s) that helped, or if you figured out something different, you can post what you did and then mark that, but you may still want to "Like' the post(s) that did give you any help in figuring things out too.&amp;nbsp; If you still need further assistance, please leave an update post.&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 21:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-QVDs-between-two-dates/m-p/1753015#M721440</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-10-15T21:03:13Z</dc:date>
    </item>
  </channel>
</rss>

