<?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: Manual trendline for two dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Manual-trendline-for-two-dimensions/m-p/526124#M196616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i want to add a trendline with equal to A+B*X ....izzit possible to do it?and hw sould i do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2014 07:40:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-09T07:40:57Z</dc:date>
    <item>
      <title>Manual trendline for two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Manual-trendline-for-two-dimensions/m-p/526123#M196615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to replicate the automatic chart trendlines (that you get by ticking a box) in an expression with LINEST_x functions. Everything works smoothly for one dimension (see the code below), but when I add a second dimension to the chart it won't produce two different lines, but still has one and the same (or maybe there are two line, but they have exactly same values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = LINEST_M&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;AGGR&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;AVG&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;measure&lt;SPAN class="s1"&gt;),dimension&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;),dimension&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;) * dimension&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;LINEST_B&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;SPAN class="s2"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;AGGR&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;AVG&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(measure&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;),dimension&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;),dimension&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;I've tried adding AGGR(dimension,dimension2) inside and outside of LINEST function, but this didn't change anything. Running out of ideas, so any help would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;If you are wondering why I want to do this in the first place, it's because modifying the expression a bit gives an exponential curve, which one can use to sum the are under the curve and use it as a component in another calculation. But this problem is preventing me for using the whole thing for anything else than for one dimension at a time.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;Best&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;Joonas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 16:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manual-trendline-for-two-dimensions/m-p/526123#M196615</guid>
      <dc:creator />
      <dc:date>2013-11-14T16:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Manual trendline for two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Manual-trendline-for-two-dimensions/m-p/526124#M196616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i want to add a trendline with equal to A+B*X ....izzit possible to do it?and hw sould i do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 07:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manual-trendline-for-two-dimensions/m-p/526124#M196616</guid>
      <dc:creator />
      <dc:date>2014-07-09T07:40:57Z</dc:date>
    </item>
  </channel>
</rss>

