<?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: Linear Regression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linear-Regression/m-p/1251350#M395970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Sum(Cost) &amp;gt; 0, Sum(Cost),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LINEST_M(TOTAL &amp;lt;Country&amp;gt; Aggr(Sum(Cost), Country, Month), Month)*Month + LINEST_B(TOTAL &amp;lt;Country&amp;gt;Aggr(Sum(Cost), Country, Month), Month))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Mar 2017 13:04:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-08T13:04:21Z</dc:date>
    <item>
      <title>Linear Regression</title>
      <link>https://community.qlik.com/t5/QlikView/Linear-Regression/m-p/1251349#M395969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a bar chart which will project the data for next 4 months. I am aware of the fact that linest_m and linest_b can be used for linear regression. However, I am not able to do that properly and data seems incorrect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the input file. The file contains data from Nov-2016 to Mar-2017 data for three different countries. In the Bar chart, for each country, for next 4 months i.e. from Apr-2017 to July-2017, data needs to be projected. Can anyone help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 12:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linear-Regression/m-p/1251349#M395969</guid>
      <dc:creator>sohb2015</dc:creator>
      <dc:date>2017-03-08T12:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Regression</title>
      <link>https://community.qlik.com/t5/QlikView/Linear-Regression/m-p/1251350#M395970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Sum(Cost) &amp;gt; 0, Sum(Cost),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LINEST_M(TOTAL &amp;lt;Country&amp;gt; Aggr(Sum(Cost), Country, Month), Month)*Month + LINEST_B(TOTAL &amp;lt;Country&amp;gt;Aggr(Sum(Cost), Country, Month), Month))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 13:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linear-Regression/m-p/1251350#M395970</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-08T13:04:21Z</dc:date>
    </item>
  </channel>
</rss>

