<?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 Average trend line calculation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Average-trend-line-calculation/m-p/1790405#M61758</link>
    <description>&lt;P&gt;Greetings, Qlik Aces!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating line chart to analyse values by month compared to previous year. Using trend line to see average value. So, the problem - when analysing current year, the average trend line is calculated by dividing summ of, for example, first two month / 12, no divided by two.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rolands_0-1615454542961.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50930i2520D17B03C30370/image-size/large?v=v2&amp;amp;px=999" role="button" title="Rolands_0-1615454542961.png" alt="Rolands_0-1615454542961.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my opinion the average trend line should be calculated based on month with value, not on total month count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to solve this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:27:19 GMT</pubDate>
    <dc:creator>Rolands</dc:creator>
    <dc:date>2024-11-16T00:27:19Z</dc:date>
    <item>
      <title>Average trend line calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Average-trend-line-calculation/m-p/1790405#M61758</link>
      <description>&lt;P&gt;Greetings, Qlik Aces!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating line chart to analyse values by month compared to previous year. Using trend line to see average value. So, the problem - when analysing current year, the average trend line is calculated by dividing summ of, for example, first two month / 12, no divided by two.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rolands_0-1615454542961.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50930i2520D17B03C30370/image-size/large?v=v2&amp;amp;px=999" role="button" title="Rolands_0-1615454542961.png" alt="Rolands_0-1615454542961.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my opinion the average trend line should be calculated based on month with value, not on total month count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to solve this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Average-trend-line-calculation/m-p/1790405#M61758</guid>
      <dc:creator>Rolands</dc:creator>
      <dc:date>2024-11-16T00:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Average trend line calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Average-trend-line-calculation/m-p/1790484#M61769</link>
      <description>&lt;P&gt;Have you tried calculating the average manually?&lt;/P&gt;&lt;P&gt;sum(Value)/count({$&amp;lt;Month={"=sum(Value)&amp;gt;0"}&amp;gt;} Month)&lt;/P&gt;&lt;P&gt;You would need to add whatever set analysis you are using to limit the time frame.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 12:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Average-trend-line-calculation/m-p/1790484#M61769</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-03-11T12:14:38Z</dc:date>
    </item>
  </channel>
</rss>

