<?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: How to Reload some Part of code once in a month? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1512833#M436714</link>
    <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply and sorry for the late response.&lt;BR /&gt;Here I am trying to load only 1 year data but when it comes to load monthly qvd it is taking almost 45 mins, and the total application takes 70 mins, so when we avoid daily reload of monthly qvd then the app might takes not more than 30 mins.&lt;BR /&gt;so please suggest any other way is possible.</description>
    <pubDate>Tue, 27 Nov 2018 12:28:02 GMT</pubDate>
    <dc:creator>brucemazynzolt</dc:creator>
    <dc:date>2018-11-27T12:28:02Z</dc:date>
    <item>
      <title>How to Reload some Part of code once in a month?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1506294#M436623</link>
      <description>&lt;DIV&gt;Hi Experts,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Below is the code trying to refresh, Table1 based on monthwise, Here If condition is satisfied then my code is working fine if not monthwise data is completely skipping like below.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Date.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11-01-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 210&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11-02-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11-03-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 320&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;what I am expecting here is 'if month wise data IF condition is not satisfied then skip to next step, but already existing data till last month(Month wise) should display in report like below. Just to avoid daily loading of Table1(Month wise data)&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Date.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aug-2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sep-2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oct-2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11-01-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 210&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11-02-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11-03-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 320&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Below is the sample code:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;LET vEveryMonth = Num(MonthStart(today()));&lt;/DIV&gt;&lt;DIV&gt;If $(vEveryMonth) = Num(Today()) then&lt;/DIV&gt;&lt;DIV&gt;//Need to refresh once in a Month(start date of every month)&lt;BR /&gt;//Loading Month wise data&lt;BR /&gt;Table1:&lt;BR /&gt;Load * From Facttable.qvd(QVD)&lt;BR /&gt;WHERE DATE(floor(CalendarDate),'YYYYMMDD')&amp;lt;=date(floor(monthend(addmonths(Today(),-1))), 'YYYYMMDD');&lt;/DIV&gt;&lt;DIV&gt;ENDIF;&lt;/DIV&gt;&lt;DIV&gt;concatenate&lt;/DIV&gt;&lt;DIV&gt;//Loading Daily Data&lt;BR /&gt;Table2:&lt;BR /&gt;Load * From Facttable.qvd(QVD)&lt;BR /&gt;Where DATE(floor(CalendarDate),'YYYYMMDD')&amp;gt;date(floor(monthend(Today(),-1)), 'YYYYMMDD&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Here my intention using the same qvd from both the tables 1.monthly summarising data from 1st table shows monthwise, if the month is current month it should show only daily data from 2nd table.&lt;BR /&gt;Concatenating both qvd’s will get result like below sample.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Date.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;BR /&gt;Aug-2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000&lt;BR /&gt;Sep-2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20000&lt;BR /&gt;Oct-2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30000&lt;BR /&gt;11-01-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 210&lt;BR /&gt;11-02-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400&lt;BR /&gt;11-03-2018.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 320&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;Like wise until the current month gets completed should show in date wise .&lt;/DIV&gt;&lt;DIV&gt;I have achieved the report as per the requirement but only one thing here is I need to avoid the daily reload of 1st table means Month qvd.&lt;/DIV&gt;&lt;DIV&gt;As my IF condition is working only date gets matched else completely skipping the month qvd and not showing month data in report so looking for the logic to get load once in a month of month qvd.&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1506294#M436623</guid>
      <dc:creator>brucemazynzolt</dc:creator>
      <dc:date>2024-11-16T21:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Reload some Part of code once in a month?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1507349#M436624</link>
      <description>&lt;P&gt;You need to load all data from QVDs into the front end everytime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the QVD load is optimised then this should not be too big an overhead.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's the refreshing of the monthly QVD that you will want to avoid doing too often.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 14:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1507349#M436624</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2018-11-15T14:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Reload some Part of code once in a month?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1512833#M436714</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply and sorry for the late response.&lt;BR /&gt;Here I am trying to load only 1 year data but when it comes to load monthly qvd it is taking almost 45 mins, and the total application takes 70 mins, so when we avoid daily reload of monthly qvd then the app might takes not more than 30 mins.&lt;BR /&gt;so please suggest any other way is possible.</description>
      <pubDate>Tue, 27 Nov 2018 12:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1512833#M436714</guid>
      <dc:creator>brucemazynzolt</dc:creator>
      <dc:date>2018-11-27T12:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Reload some Part of code once in a month?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1513182#M436753</link>
      <description>&lt;P&gt;It is likely that the load of the monthly QVD is not optimised.&lt;/P&gt;&lt;P&gt;Ensure that any manipulation of the data is done when creating the QVD, not when loading from it. Ensure that the only WHERE statement is a single WHERE EXISTS on a field that is included in the load. Also ensure that if you are concatenating data that the table structure of the table you are concatenating to is identical to the one being concatenated.&lt;/P&gt;&lt;P&gt;If you post your load script I can take a look and see if I can spot where it is not optimised.&lt;/P&gt;&lt;P&gt;How big is the QVD that is being loaded?&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 21:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Reload-some-Part-of-code-once-in-a-month/m-p/1513182#M436753</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2018-11-27T21:44:50Z</dc:date>
    </item>
  </channel>
</rss>

