<?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 Forecast - quarterly Bill in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Forecast-quarterly-Bill/m-p/102270#M602016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dear Qlik-Community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe somebody can help me. I try to create a forecast (1.5 years, so until end of 2019) in Qlik. Here is my problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine, there are customer which get a sales invoice every 3 months. I need to show the planned sales on monthly basis, like a monthly forecast (every column is a month):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214289" alt="Unbenannt2.PNG" class="jive-image image-1" height="54" src="https://community.qlik.com/legacyfs/online/214289_Unbenannt2.PNG" style="height: 53.8046px; width: 644px;" width="645" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, my expressionis like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"IF 'Period Start Date' is between 1st and 31th of January, 'Amount';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Next month would be April (Sales Invoice in January, so no Invoice in February and March). For April I just added '93' to the starting date (93 days are about 3 months):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; "IF 'Period Start Date +93' is between 1st and 30th of April, 'Amount';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;for July, same procedure - 93 multiplied with 2 - which are&amp;nbsp; 6 months into the future:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"IF 'Period Start Date +93*2' is between 1st and 30th of April, 'Amount';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...and so on and so forth...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;So for April, my statement looks like this&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;if ( 'Period Start Date'&amp;nbsp; is &amp;gt; 01.04.2018 and &amp;lt; 30.04.2018, Amount,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if ('Period Start Date' &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;+ 92&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; '&amp;nbsp; is &amp;gt; 01.04.2018 and &amp;lt; 30.04.2018 + 92, Amount,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if ('Period Start Date' &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;&lt;STRONG&gt;+ 92*2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; ' is &amp;gt; 01.04.2018 and &amp;lt; 30.04.2018 + 92*2, Amount,&lt;/SPAN&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;In this way, the amount gets shown all 3 months, which isn't wrong - it does work, but I feel like it is not a very prefessional and reliable solution (and I am aware of the fact that '+93' is wrong on a longterm sight, but for 1.5 years it is correct).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any hints? Just fyi - my master calender has quarters, but I wouldn know how to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for all different kind of help, if you see a more easier way to create this forecast, please tell me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2018 12:33:31 GMT</pubDate>
    <dc:creator>jakobjosef</dc:creator>
    <dc:date>2018-09-24T12:33:31Z</dc:date>
    <item>
      <title>Forecast - quarterly Bill</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-quarterly-Bill/m-p/102270#M602016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dear Qlik-Community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe somebody can help me. I try to create a forecast (1.5 years, so until end of 2019) in Qlik. Here is my problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine, there are customer which get a sales invoice every 3 months. I need to show the planned sales on monthly basis, like a monthly forecast (every column is a month):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214289" alt="Unbenannt2.PNG" class="jive-image image-1" height="54" src="https://community.qlik.com/legacyfs/online/214289_Unbenannt2.PNG" style="height: 53.8046px; width: 644px;" width="645" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, my expressionis like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"IF 'Period Start Date' is between 1st and 31th of January, 'Amount';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Next month would be April (Sales Invoice in January, so no Invoice in February and March). For April I just added '93' to the starting date (93 days are about 3 months):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; "IF 'Period Start Date +93' is between 1st and 30th of April, 'Amount';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;for July, same procedure - 93 multiplied with 2 - which are&amp;nbsp; 6 months into the future:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"IF 'Period Start Date +93*2' is between 1st and 30th of April, 'Amount';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...and so on and so forth...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;So for April, my statement looks like this&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;if ( 'Period Start Date'&amp;nbsp; is &amp;gt; 01.04.2018 and &amp;lt; 30.04.2018, Amount,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if ('Period Start Date' &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;+ 92&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; '&amp;nbsp; is &amp;gt; 01.04.2018 and &amp;lt; 30.04.2018 + 92, Amount,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if ('Period Start Date' &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;&lt;STRONG&gt;+ 92*2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; ' is &amp;gt; 01.04.2018 and &amp;lt; 30.04.2018 + 92*2, Amount,&lt;/SPAN&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;In this way, the amount gets shown all 3 months, which isn't wrong - it does work, but I feel like it is not a very prefessional and reliable solution (and I am aware of the fact that '+93' is wrong on a longterm sight, but for 1.5 years it is correct).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any hints? Just fyi - my master calender has quarters, but I wouldn know how to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for all different kind of help, if you see a more easier way to create this forecast, please tell me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 12:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-quarterly-Bill/m-p/102270#M602016</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-09-24T12:33:31Z</dc:date>
    </item>
  </channel>
</rss>

