<?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: Rolling Forecast Formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690936#M671488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but These formulas Shows me the whole amounts, but how can Combine the time Feature inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actuals Show me the Amount (Actual) from Jan-Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forecasts Show me the Amount (Forecast) from Jul-Dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 14:22:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-02T14:22:46Z</dc:date>
    <item>
      <title>Rolling Forecast Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690932#M671484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Need your help again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the MONTH JUNE.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Nature&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ACTUAL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Juni&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;FORECAST&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Juli&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ACTUAL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;FORECAST&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;August&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first formula I Need the sum of the ACTUAL figures from the JAN to JUN and&lt;/P&gt;&lt;P&gt;the second formula is the figures of FORECAST from the JULI to DEZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Formula&lt;/P&gt;&lt;P&gt;sum(Amount) how get the Sum from JAN to current month JUN into the formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 Formula&lt;/P&gt;&lt;P&gt;sum(Amount), how get the SUM from JUL to DEC into the formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690932#M671484</guid>
      <dc:creator />
      <dc:date>2014-09-02T13:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Forecast Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690933#M671485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample data please...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690933#M671485</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-02T13:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Forecast Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690934#M671486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What sample Data you Need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690934#M671486</guid>
      <dc:creator />
      <dc:date>2014-09-02T13:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Forecast Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690935#M671487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems this would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actuals:&amp;nbsp;&amp;nbsp; sum (&amp;nbsp; {$&amp;lt;Nature={'ACTUAL'}&amp;gt;}&amp;nbsp; Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forecast:&amp;nbsp;&amp;nbsp; sum (&amp;nbsp; {$&amp;lt;Nature={'FORECAST'}&amp;gt;}&amp;nbsp; Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690935#M671487</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-02T13:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Forecast Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690936#M671488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but These formulas Shows me the whole amounts, but how can Combine the time Feature inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actuals Show me the Amount (Actual) from Jan-Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forecasts Show me the Amount (Forecast) from Jul-Dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690936#M671488</guid>
      <dc:creator />
      <dc:date>2014-09-02T14:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Forecast Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690937#M671489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok . I think you are asking for Jan-Jun numbers for actuals and Jul-Dec numbers for forecast. Because the small data set you provided only has actuals for the jan-jun number and only forecast numbers for the jul-dec numbers the following would work. If your actual data set is different then you should post a representative data set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to know the syntax to be more explicit with months you can try this. Add as many months in the list as you need.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Actuals:&amp;nbsp;&amp;nbsp; sum (&amp;nbsp; {$&amp;lt;Nature={'ACTUAL'}, Month={'Jan','Juni'}&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;gt;}&amp;nbsp; Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Forecast:&amp;nbsp;&amp;nbsp; sum (&amp;nbsp; {$&amp;lt;Nature={'FORECAST'},Month={'Juli','August'}&amp;gt;}&amp;nbsp; Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690937#M671489</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-02T14:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Forecast Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690938#M671490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the formulas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how I get the current Date into the Formular&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actuals: sum({$&amp;lt;Nature={'ACTUAL'}, Month={'Jan', 'Juni'} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I get here, that 'Jan' is always the first month and&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;'Juni' Shows the selected month. And I Need then the 'Jan', 'Feb', 'Mar', 'April', 'Mai', 'Juni'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forecast: sum({$&amp;lt;Nature={'FORECAST'}, Month={'Juli', 'August'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;Juli Shows the currentMonth+1 and August always the December.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understand what I mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 16:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690938#M671490</guid>
      <dc:creator />
      <dc:date>2014-09-02T16:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Forecast Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690939#M671491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this example,&amp;nbsp; Month is a numeric field in the data model from 1 - 12&amp;nbsp; depending which month.&amp;nbsp; Current month is Septermber&amp;nbsp; which is Month=9. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a Month number field in your data model you can use this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forecast:&amp;nbsp; sum(&amp;nbsp; {$&amp;lt;Month = {'&amp;gt; $(=num(month(today())))' }&amp;gt;}&amp;nbsp; Sales)&lt;/P&gt;&lt;P&gt;Actuals:&amp;nbsp;&amp;nbsp; sum(&amp;nbsp; {$&amp;lt;Month = {'&amp;lt;= $(=num(month(today())))' }&amp;gt;}&amp;nbsp; Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 16:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Forecast-Formula/m-p/690939#M671491</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-02T16:51:27Z</dc:date>
    </item>
  </channel>
</rss>

