<?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 refresh Part of code monthly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-refresh-Part-of-code-monthly/m-p/102772#M16300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi Pete,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Thanks for your reply.&lt;/P&gt;&lt;P class=""&gt;Here my intention using the same qvd is monthly summarising data from 1st qvd like the month should get completed from 1st qvd and &amp;nbsp;if the month is current month it should show only daily data from 2nd.&lt;/P&gt;&lt;P class=""&gt;Concatenation god both qvd’s will get result like below sample.&lt;/P&gt;&lt;P class=""&gt;Date. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sales&lt;/P&gt;&lt;P class=""&gt;Aug-2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; 10000&lt;/P&gt;&lt;P class=""&gt;Sep-2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20000&lt;/P&gt;&lt;P class=""&gt;Oct-2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30000&lt;/P&gt;&lt;P class=""&gt;11-01-2018. &amp;nbsp; &amp;nbsp; &amp;nbsp; 210&lt;/P&gt;&lt;P class=""&gt;11-02-2018. &amp;nbsp; &amp;nbsp; &amp;nbsp; 400&lt;/P&gt;&lt;P class=""&gt;11-03-2018. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;320&lt;/P&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;P class=""&gt;Like wise until the current month gets completed should show in date wise .&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&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 qvd means month qvd.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;That’s why looking for load once in a month of month qvd.&lt;/P&gt;&lt;P class=""&gt;As my IF condition is working only date gets matched else completely skipping the month qvd and not showing month data in report&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2018 19:11:00 GMT</pubDate>
    <dc:creator>brucemazynzolt</dc:creator>
    <dc:date>2018-11-05T19:11:00Z</dc:date>
    <item>
      <title>How to refresh Part of code monthly</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refresh-Part-of-code-monthly/m-p/102770#M16298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code trying to refresh, some part as monthwise based on if condition, Here If condition is satisfied then my code is working fine if not monthwise data is completely skipping.&lt;/P&gt;&lt;P&gt;what I am expecting is if month wise data IF condition is not satisfied then skip to next step, but already existing data(Month wise) should display. Just to avoid daily loading of Table1(Month wise data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vEveryMonth = Num(MonthStart(today()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If $(vEveryMonth) = Num(Today()) then&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Need to refresh once in a Month(start date of every month) &lt;/P&gt;&lt;P&gt;//Loading Month wise data &lt;BR /&gt;Table1:&lt;BR /&gt;Load * From Facttable.qvd(QVD)&lt;/P&gt;&lt;P&gt;WHERE DATE(floor(CalendarDate),'YYYYMMDD')&amp;lt;=date(floor(monthend(addmonths(Today(),-1))), 'YYYYMMDD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Loading Daily Data&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load * From Facttable.qvd(QVD)&lt;/P&gt;&lt;P&gt;Where DATE(floor(CalendarDate),'YYYYMMDD')&amp;gt;date(floor(monthend(Today(),-1)), 'YYYYMMDD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance,&lt;/P&gt;&lt;P&gt;Bruce Mazyn Zolt - BMZ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 15:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refresh-Part-of-code-monthly/m-p/102770#M16298</guid>
      <dc:creator>brucemazynzolt</dc:creator>
      <dc:date>2018-11-02T15:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Part of code monthly</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refresh-Part-of-code-monthly/m-p/102771#M16299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need the vEveryMonth?&lt;/P&gt;&lt;P&gt;Condition may also work with&lt;/P&gt;&lt;P&gt;IF TODAY() = MONTHSTART(TODAY()) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If would prefer to have the WHERE-clauses not on strings, but on numbers. &lt;/P&gt;&lt;P&gt;WHERE FLOOR(CalendarDate) &amp;lt; MONTHSTART(TODAY())&lt;/P&gt;&lt;P&gt;should do as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CONCATENATE in this position is not clear to me, Loading with * from the same table will automatically concatenate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you wish to achieve with the second condition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 16:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refresh-Part-of-code-monthly/m-p/102771#M16299</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-11-02T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh Part of code monthly</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-refresh-Part-of-code-monthly/m-p/102772#M16300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi Pete,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Thanks for your reply.&lt;/P&gt;&lt;P class=""&gt;Here my intention using the same qvd is monthly summarising data from 1st qvd like the month should get completed from 1st qvd and &amp;nbsp;if the month is current month it should show only daily data from 2nd.&lt;/P&gt;&lt;P class=""&gt;Concatenation god both qvd’s will get result like below sample.&lt;/P&gt;&lt;P class=""&gt;Date. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sales&lt;/P&gt;&lt;P class=""&gt;Aug-2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; 10000&lt;/P&gt;&lt;P class=""&gt;Sep-2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20000&lt;/P&gt;&lt;P class=""&gt;Oct-2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30000&lt;/P&gt;&lt;P class=""&gt;11-01-2018. &amp;nbsp; &amp;nbsp; &amp;nbsp; 210&lt;/P&gt;&lt;P class=""&gt;11-02-2018. &amp;nbsp; &amp;nbsp; &amp;nbsp; 400&lt;/P&gt;&lt;P class=""&gt;11-03-2018. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;320&lt;/P&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;P class=""&gt;Like wise until the current month gets completed should show in date wise .&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&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 qvd means month qvd.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;That’s why looking for load once in a month of month qvd.&lt;/P&gt;&lt;P class=""&gt;As my IF condition is working only date gets matched else completely skipping the month qvd and not showing month data in report&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 19:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-refresh-Part-of-code-monthly/m-p/102772#M16300</guid>
      <dc:creator>brucemazynzolt</dc:creator>
      <dc:date>2018-11-05T19:11:00Z</dc:date>
    </item>
  </channel>
</rss>

