<?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 qvd automatically based on day basis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475933#M177742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You can try like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF WeekDay(Today()) = 'Mon' Then&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vQVDPath = 'D:\Mon\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF WeekDay(Today()) = 'Tue'&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vQVDPath = 'D:\Tue\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF WeekDay(Today()) = 'Wed'&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vQVDPath = 'D:\Wed\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;LET vQVDPath = 'D:\Thu\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;LOAD Field1,Field2 From '$(vQVDPath)'\filename.qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2013 11:04:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-17T11:04:07Z</dc:date>
    <item>
      <title>Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475928#M177737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am storing a qvd everyday in a folder from Monday to Friday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is I would like to use the qvd on day basis for instance today is monday, so the report has to load the Moday.qvd automatically if the day is Tuesday means it has to load the Tuesday.qvd in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently as I am using for each day a report, that is taking more space, so I need to avoid this. &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;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 06:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475928#M177737</guid>
      <dc:creator />
      <dc:date>2013-06-17T06:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475929#M177738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try according to this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD * from table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vDay = Date(Today(),'wwww');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STORE Temp into D:\$(vDay).qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 06:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475929#M177738</guid>
      <dc:creator />
      <dc:date>2013-06-17T06:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475930#M177739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you make it more clear why is you daily create a new qvd?&lt;/P&gt;&lt;P&gt;why not in on transaction table?&lt;/P&gt;&lt;P&gt;please make it more clear...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;anant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 06:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475930#M177739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-17T06:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475931#M177740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried what you said but I can not get the solution, there is a specific foler the 5 days qvd will be stored, if today is monday means the script should load automatically Monday.qvd as the same for the rest of days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 10:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475931#M177740</guid>
      <dc:creator />
      <dc:date>2013-06-17T10:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475932#M177741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your script should load automatically, then you must make Batch file and then by the use of task schedular you can run your script automatically by the use of my previous posted code.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 10:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475932#M177741</guid>
      <dc:creator />
      <dc:date>2013-06-17T10:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475933#M177742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You can try like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF WeekDay(Today()) = 'Mon' Then&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vQVDPath = 'D:\Mon\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF WeekDay(Today()) = 'Tue'&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vQVDPath = 'D:\Tue\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF WeekDay(Today()) = 'Wed'&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vQVDPath = 'D:\Wed\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;LET vQVDPath = 'D:\Thu\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;LOAD Field1,Field2 From '$(vQVDPath)'\filename.qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475933#M177742</guid>
      <dc:creator />
      <dc:date>2013-06-17T11:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475934#M177743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viswarajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am not clear to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already created a QVD in a folder from Monday to Friday that is I have now 5 QVD's in the name of &lt;/P&gt;&lt;P&gt;Monday.qvd, Tuesday.qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am trying to load the if today() is Monday means the script has to load Monday.qvd, suppose if today() is Tuesday means Tuesday.qvd has to reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its clear...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475934#M177743</guid>
      <dc:creator />
      <dc:date>2013-06-17T11:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475935#M177744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;write your qvds according to this.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF Date(Today(),'wwww')='Monday' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * From table1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store tabl1 into D:\Monday.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF Date(Today(),'wwww')='Tuesday' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * From table2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store tabl2 into D:\Tuesday.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF Date(Today(),'wwww')='Wednesday' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * From table3;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store table3 into D:\Wednesday.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF Date(Today(),'wwww')='Thursday' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * From table4;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store table4 into D:\Thursday.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF Date(Today(),'wwww')='Friday' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * From table5;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store table5 into D:\Friday.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXIT Script;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475935#M177744</guid>
      <dc:creator />
      <dc:date>2013-06-17T11:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475936#M177745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475936#M177745</guid>
      <dc:creator />
      <dc:date>2013-06-17T11:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475937#M177746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand it correct, then he has already the QVD-s, he just wants to load from the right QVD on the right weekday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smth like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF Date(Today(),'wwww')='Monday' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * D:\Monday.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF Date(Today(),'wwww')='Tuesday' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * D:\Tuesday.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF Date(Today(),'wwww')='Friday' then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * From D:\Friday.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXIT Script;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475937#M177746</guid>
      <dc:creator />
      <dc:date>2013-06-17T11:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475938#M177747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, its working fine as what I expected ..... and Thanks to Vishwa also for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475938#M177747</guid>
      <dc:creator />
      <dc:date>2013-06-17T11:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load qvd automatically based on day basis</title>
      <link>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475939#M177748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you can do is to set a variable contening&amp;nbsp;&amp;nbsp; path/file.qvd based on the day to avoid if...then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET fich=weekday(today()) &amp;amp; 'day.qvd';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;today , it will give monday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;from $(fich);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-qvd-automatically-based-on-day-basis/m-p/475939#M177748</guid>
      <dc:creator />
      <dc:date>2013-06-17T11:48:35Z</dc:date>
    </item>
  </channel>
</rss>

