<?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 Creating an explicit trend-line data column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298636#M1199765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to have an explicit trend-line data column. I know that I can automatically have a trend line on a graph (through Expressions -&amp;gt; Trendlines), but what I would like to explicitly have a column with this data in. I will give an example.&lt;/P&gt;&lt;P&gt;Let's say there are 3 columns which I want: Date, Performance (in seconds), Trend (in seconds) - a calculated field, which let's say looks as follows:&lt;/P&gt;&lt;P&gt;25/01/2011 5.2 5.0&lt;/P&gt;&lt;P&gt;26/01/2011 6.1 6.0&lt;/P&gt;&lt;P&gt;27/01/2011 7.4 7.0&lt;/P&gt;&lt;P&gt;My guess is that functions like LINEST_M will help me get what I want, but I'm too novice to know how to do this.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jan 2011 18:10:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-06T18:10:08Z</dc:date>
    <item>
      <title>Creating an explicit trend-line data column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298636#M1199765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to have an explicit trend-line data column. I know that I can automatically have a trend line on a graph (through Expressions -&amp;gt; Trendlines), but what I would like to explicitly have a column with this data in. I will give an example.&lt;/P&gt;&lt;P&gt;Let's say there are 3 columns which I want: Date, Performance (in seconds), Trend (in seconds) - a calculated field, which let's say looks as follows:&lt;/P&gt;&lt;P&gt;25/01/2011 5.2 5.0&lt;/P&gt;&lt;P&gt;26/01/2011 6.1 6.0&lt;/P&gt;&lt;P&gt;27/01/2011 7.4 7.0&lt;/P&gt;&lt;P&gt;My guess is that functions like LINEST_M will help me get what I want, but I'm too novice to know how to do this.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 18:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298636#M1199765</guid>
      <dc:creator />
      <dc:date>2011-01-06T18:10:08Z</dc:date>
    </item>
    <item>
      <title>Creating an explicit trend-line data column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298637#M1199766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm not following you so much, but linest_m will return the same value of the calculated trendline in the chart&lt;/P&gt;&lt;P&gt;if you want to draw your personal trendline, just add the corresponding expression to the chart, i guess it will be a combo chart&lt;/P&gt;&lt;P&gt;Check the attachment and tell us if this is what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps. Change the extension png for qvw, i'm still dealing with this issue, i'm unable to upload any QVW file ¬¬'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 18:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298637#M1199766</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2011-01-06T18:33:17Z</dc:date>
    </item>
    <item>
      <title>Creating an explicit trend-line data column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298638#M1199767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Hugh wrote:My guess is that functions like LINEST_M will help me get what I want&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Good guess, but yes, how to use it is hardly obvious. The basic format is this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;X*linest_m(total aggr(Y expression,X))&lt;BR /&gt; +linest_b(total aggr(Y expression,X))&lt;/P&gt;&lt;P&gt;So I believe for you:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Dimension = Date&lt;BR /&gt;Expression 1 = Your Performance Expression&lt;BR /&gt;Expression 2 = Date*linest_m(total aggr(Your Performance Expression,Date))&lt;BR /&gt; +linest_b(total aggr(Your Performance Expression,Date))&lt;/P&gt;&lt;P&gt;Attached is an example. It's not your data, but same basic idea.&lt;/P&gt;&lt;P&gt;I tend to prefer explicit trend lines like this, among other things because you can mouse over a point on the trend line and see the value at that point. It also gives you more control - the automatic trend line just trends based on what the chart displays, while you can make your explicit trend line follow the underlying data. For instance, we might have a dynamic class interval. The automatic trend line can change position and slope as we adjust our interval. An explicit trend line can be made fixed, based on the unclassed underlying data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 03:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298638#M1199767</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-01-07T03:05:57Z</dc:date>
    </item>
    <item>
      <title>Creating an explicit trend-line data column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298639#M1199768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thanks for the quick reply. That does it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 11:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298639#M1199768</guid>
      <dc:creator />
      <dc:date>2011-01-07T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Creating an explicit trend-line data column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298640#M1199769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;. If i have 2 lines and i use this function, is it possible to calculate a date when one line touches the other line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 12:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298640#M1199769</guid>
      <dc:creator />
      <dc:date>2011-07-27T12:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an explicit trend-line data column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298641#M1199770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have nearly the same question.&amp;nbsp; How can I calculate the day when a trend line is projected to intersect a Reference line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 21:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298641#M1199770</guid>
      <dc:creator />
      <dc:date>2015-01-14T21:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an explicit trend-line data column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298642#M1199771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John and hugh..Your solution has helped me too. Post has been very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 05:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-an-explicit-trend-line-data-column/m-p/298642#M1199771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-02T05:31:07Z</dc:date>
    </item>
  </channel>
</rss>

