<?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: Custom AVG Trend Line in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463089#M172928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use total statement to calculate average value:&lt;/P&gt;&lt;P&gt;=Avg(total NEWVALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or a bit more complex if you have more than one value for each YEARMONTH:&lt;/P&gt;&lt;P&gt;=Avg(total aggr(Sum(NEWVALUE), YEARMONTH))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2013 17:25:24 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2013-02-22T17:25:24Z</dc:date>
    <item>
      <title>Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463081#M172920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybody know whick is the expression to make an custom AVG Trend Line in a graphic for example of the value Sum(Sales) and dimension CalendarMonthAndYear?&lt;/P&gt;&lt;P&gt;Thanks and happy weekend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 13:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463081#M172920</guid>
      <dc:creator />
      <dc:date>2013-02-22T13:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463082#M172921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please find the attached doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;yaseen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 13:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463082#M172921</guid>
      <dc:creator />
      <dc:date>2013-02-22T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463083#M172922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but I don't get it. The AVG line is in the bottom of the graphic and all of the bars are equal.&lt;/P&gt;&lt;P&gt;Did I miss anything?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 14:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463083#M172922</guid>
      <dc:creator />
      <dc:date>2013-02-22T14:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463084#M172923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dats is having same values so the line is at the bottomn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please chk the doc now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yaseen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 14:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463084#M172923</guid>
      <dc:creator />
      <dc:date>2013-02-22T14:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463085#M172924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still don't get it. Why do you use the percentage for the AVG? &lt;SPAN style="color: #000000; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;According to&lt;/SPAN&gt; the data you use, the AVG line should be in the 110 value and parallel to the X axis. Do you agree?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33775" class="jive-image-thumbnail jive-image" onclick="" alt="Captura.JPG" src="https://community.qlik.com/legacyfs/online/33775_Captura.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 14:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463085#M172924</guid>
      <dc:creator />
      <dc:date>2013-02-22T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463086#M172925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Add your dimension as YearMonth &amp;amp; expression as =Sum(Val). Now at left button of expression tab, just check &lt;STRONG&gt;Average &lt;/STRONG&gt;in TrendLInes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hope it helps you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Jagan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 14:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463086#M172925</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2013-02-22T14:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463087#M172926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan, I already knew that, the problem is that you can't format the prese trend lines. For example a dash line. That's why I want to make a new one by myself.&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 14:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463087#M172926</guid>
      <dc:creator />
      <dc:date>2013-02-22T14:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463088#M172927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I think you can go to presentation tab of chart -&amp;gt; Reference Lines -&amp;gt; Add -&amp;gt; in expression tab, =Avg(val)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 16:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463088#M172927</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2013-02-22T16:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463089#M172928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use total statement to calculate average value:&lt;/P&gt;&lt;P&gt;=Avg(total NEWVALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or a bit more complex if you have more than one value for each YEARMONTH:&lt;/P&gt;&lt;P&gt;=Avg(total aggr(Sum(NEWVALUE), YEARMONTH))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 17:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463089#M172928</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-02-22T17:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AVG Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463090#M172929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 2nd one works for me!! Thanks. The expression finally is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13619517920791184" jivemacro_uid="_13619517920791184"&gt;Avg(total aggr(((SUM( {&amp;lt;Supplier={'PNA010031'}&amp;gt;} Purchase.Amount)*-1)/SUM(&amp;nbsp; {&amp;lt;Customer={'CNA008007','CNA008008'}&amp;gt;}Sales.Qty)), CalendarMonthAndYear))&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot you all for your time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 07:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-AVG-Trend-Line/m-p/463090#M172929</guid>
      <dc:creator />
      <dc:date>2013-02-27T07:57:49Z</dc:date>
    </item>
  </channel>
</rss>

