<?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: Cumulative Forecast in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53118#M3545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Certainly - please see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2018 17:46:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-14T17:46:54Z</dc:date>
    <item>
      <title>Cumulative Forecast</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53114#M3541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a cumulative sum forecast trend line but I am struggling with the syntax of linest_m and linest_b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;RangeSum(Above(TOTAL Sum({&amp;lt;[Data Source] = {'Bookings'},[Date.autoCalendar.InYTD]={1}&amp;gt;}[Instrument Quantity]),0,RowNo(TOTAL)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;[Date.autoCalendar.Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The part, in particular, that is proving to be tricky is making the linest_m portion of the equation be a cumulative sum.&amp;nbsp; I am hoping that I can handle this outside of the script.&amp;nbsp; Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Conor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 22:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53114#M3541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T22:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Forecast</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53115#M3542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why did you put TOTAL after the sum and inside Rowno() ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;RangeSum(Above(Sum({&amp;lt;[Data Source] = {'Bookings'},[Date.autoCalendar.InYTD]={1}&amp;gt;}[Instrument Quantity]),0,RowNo() ))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 23:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53115#M3542</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-05T23:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Forecast</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53116#M3543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the 'TOTAL' is for the cumulative piece.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my full formula, which still does not capture the cumulative component:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(total aggr(if(Sum({&amp;lt;[Data Source] = {'Bookings'},[Date.autoCalendar.InYTD]={1}&amp;gt;}[Instrument Quantity]),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;[Data Source] = {'Bookings'},[Date.autoCalendar.InYTD]={1}&amp;gt;}[Instrument Quantity])),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Date.autoCalendar.Date]),[Date.autoCalendar.Date])* &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;only({1}[Date.autoCalendar.Date])+linest_b(total aggr(if(Sum({&amp;lt;[Data Source] = {'Bookings'},[Date.autoCalendar.InYTD]={1}&amp;gt;}[Instrument Quantity]),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;[Data Source] = {'Bookings'},[Date.autoCalendar.InYTD]={1}&amp;gt;}[Instrument Quantity])),[Date.autoCalendar.Date]),[Date.autoCalendar.Date])&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 22:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53116#M3543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T22:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Forecast</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53117#M3544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would you be able to attach some data ? some rows from your table ? some sample rows that represent your table structure ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 16:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53117#M3544</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-14T16:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Forecast</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53118#M3545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Certainly - please see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 17:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Forecast/m-p/53118#M3545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-14T17:46:54Z</dc:date>
    </item>
  </channel>
</rss>

