<?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 Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219156#M72202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got a litte problem a wanna make an small forecast, the data base is:&lt;/P&gt;&lt;P&gt;Employee, Date, Sales (CSV format)&lt;/P&gt;&lt;P&gt;The Employees are unique and the dates are over an peroid of 3 month, i just wanna get an forecast for the next month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Apr 2010 10:31:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-20T10:31:31Z</dc:date>
    <item>
      <title>Forecast Question</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219156#M72202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got a litte problem a wanna make an small forecast, the data base is:&lt;/P&gt;&lt;P&gt;Employee, Date, Sales (CSV format)&lt;/P&gt;&lt;P&gt;The Employees are unique and the dates are over an peroid of 3 month, i just wanna get an forecast for the next month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 10:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219156#M72202</guid>
      <dc:creator />
      <dc:date>2010-04-20T10:31:31Z</dc:date>
    </item>
    <item>
      <title>Forecast Question</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219157#M72203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can create a calculated field in your load statement where you take the total, say, for the last 3 months, then divide it by the number of days for those 3 months and you will get a daily average. You then multiply that daily by the number of days for the next month and you get the forecast.&lt;/P&gt;&lt;P&gt;It this what you are looking for?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 10:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219157#M72203</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-04-20T10:42:58Z</dc:date>
    </item>
    <item>
      <title>Forecast Question</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219158#M72204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it does help, thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 12:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219158#M72204</guid>
      <dc:creator />
      <dc:date>2010-04-20T12:08:24Z</dc:date>
    </item>
    <item>
      <title>Forecast Question</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219159#M72205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, This works when the forecast is only for 1 month, if forecase to be made for more than 1 month, how does it apply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 12:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219159#M72205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-06T12:23:28Z</dc:date>
    </item>
    <item>
      <title>Forecast Question</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219160#M72206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satish,&lt;/P&gt;&lt;P&gt;It depends on what type of forecast you want to do. My example above is a very simple projection based on actual sales. It could be as simple as multiplying the daily value by the number of days for the next three, four or the number of months you want using function&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Day(MonthEnd(DateField))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;so you will get actual number of days, or &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;networkdays(datefrom, dateto)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;for net work days. You can either create a new table in your document with dates and values to forecast, link that table to the master calendar (or a new calendar) so you can choose all available dimensions to your forecast chart. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 12:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219160#M72206</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-05-06T12:33:08Z</dc:date>
    </item>
    <item>
      <title>Forecast Question</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219161#M72207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel &lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. My issue is&lt;/P&gt;&lt;P&gt;1. I have table which stores information like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:115pt;border-collapse:collapse;" width="153"&gt;&lt;COLGROUP&gt;&lt;COL style="width:67pt;mso-width-source:userset;mso-width-alt:3254;" width="89" /&gt;&lt;COL style="width:48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:15pt;"&gt;&lt;TD height="20" style="width:67pt;height:15pt;background-color:transparent;border:#ece9d8;" width="89"&gt;Month&lt;/TD&gt;&lt;TD style="width:48pt;background-color:transparent;border:#ece9d8;" width="64"&gt;Salary&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height:15pt;background-color:transparent;border:#ece9d8;"&gt;01-Jan-10&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height:15pt;background-color:transparent;border:#ece9d8;"&gt;01-Feb-10&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1500&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height:15pt;background-color:transparent;border:#ece9d8;"&gt;01-Mar-10&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1500&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height:15pt;background-color:transparent;border:#ece9d8;"&gt;01-Apr-10&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1200&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height:15pt;background-color:transparent;border:#ece9d8;"&gt;01-May-10&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height:15pt;background-color:transparent;border:#ece9d8;"&gt;01-Jun-10&lt;/TD&gt;&lt;TD align="right" style="background-color:transparent;border:#ece9d8;"&gt;1230&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now i need to forecast my salary for rest of the year. I have generated the forecast month and number of days in each month. note that i'm doing all my work at expression level, as i require this information as flexible as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;if (len(Salary) &amp;lt;&amp;gt; 0, sum(Salary), (above(avg(All(column(4)/Days &lt;P&gt;))))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This being said, i do not want take only average of first six months to all the months for rest of the year. My each month should calculate Jun + Subsequent month(s) minus current month average for determining current month.&lt;/P&gt;&lt;P&gt;For example: to calculate July month my calculuation would be = (Sum(JantoJun Salary) / Sum of Noofdays in each month) this would be average day salary. Avg day salary * no of days in july.&lt;/P&gt;&lt;P&gt;Now similary for August, it should also be included July's salary for calculation. Do help how to do this. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 12:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219161#M72207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-06T12:49:58Z</dc:date>
    </item>
    <item>
      <title>Forecast Question</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219162#M72208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satish,&lt;/P&gt;&lt;P&gt;If you use above function it will work always depending on the number of rows that exist in the table, so it's a good choice. I'd use something like (untested)&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;(rangesum(above(Sum(Salary), 0, RowNo())) / daynumberofyear(MonthEnd(Month))) * Day(MonthEnd(Month))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That expression will give you, for each row, the average forecast. Any new month added to the expression would automatically modify the values of rows above.&lt;/P&gt;&lt;P&gt;Is that what you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 17:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219162#M72208</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-05-06T17:03:39Z</dc:date>
    </item>
    <item>
      <title>Forecast Question</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219163#M72209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was also trying to do forecasting, using the expression u suggested above.&lt;/P&gt;&lt;P&gt;but the forecasted value is not getting included while calculating the next month forecast.&lt;/P&gt;&lt;P&gt;Not sure why.&lt;/P&gt;&lt;P&gt;when we do rangesum(above(sum(.........), its not considering the forecasted value and working on the values available in data set only.&lt;/P&gt;&lt;P&gt;Kindly Suggest!!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 11:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-Question/m-p/219163#M72209</guid>
      <dc:creator />
      <dc:date>2010-11-22T11:34:43Z</dc:date>
    </item>
  </channel>
</rss>

