<?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: Linest M Errors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72641#M12034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking to find the monthly slope based on daily data? May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Linest_M(Aggr(Sum([Billing Quantity])/Sum(#Units), YearMonth), YearMonth, Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2018 18:39:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-08T18:39:53Z</dc:date>
    <item>
      <title>Linest M Errors</title>
      <link>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72636#M12029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am trying to get the Linest_M function working, the goal is for when the slope is positive the line is green, and when it is negative it is red. the x value is YearMonth and the Y value is &lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Billing Quantity]&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;#Units&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;LINEST_M&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Billing Quantity]&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;#Units&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;YearMonth&lt;/SPAN&gt;)&lt;BR /&gt; &amp;lt;0, &lt;SPAN style="color: #0000ff;"&gt;rgb&lt;/SPAN&gt;(247,93,79),&lt;SPAN style="color: #0000ff;"&gt;rgb&lt;/SPAN&gt;(155,215,247)&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Please let me know how to correct this&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 17:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72636#M12029</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2018-05-08T17:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linest M Errors</title>
      <link>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72637#M12030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Linest_M(TOTAL Aggr(Sum([Billing Quantity])/Sum(#Units), YearMonth), YearMonth) &amp;lt; 0, RGB(247,93,79), RGB(155,215,247))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 18:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72637#M12030</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-08T18:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Linest M Errors</title>
      <link>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72638#M12031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201862_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Is it supposed to fluctuate by the x value? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 18:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72638#M12031</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2018-05-08T18:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linest M Errors</title>
      <link>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72639#M12032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really, why? you want to know the slope of the line, right? Slope stays the same, doesn't it? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 18:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72639#M12032</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-08T18:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linest M Errors</title>
      <link>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72640#M12033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally it would be a monthly snapshot of the slope, as if taking a derivative of the original line, but that might not be the way the function works. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 18:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72640#M12033</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2018-05-08T18:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linest M Errors</title>
      <link>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72641#M12034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking to find the monthly slope based on daily data? May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Linest_M(Aggr(Sum([Billing Quantity])/Sum(#Units), YearMonth), YearMonth, Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 18:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linest-M-Errors/m-p/72641#M12034</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-08T18:39:53Z</dc:date>
    </item>
  </channel>
</rss>

