<?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: Static reference line for Average calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819144#M288796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bob! This was very helpful. However, this is working only partially. For example: In my chart, I have drill down group for my dimension (Categories and Sub-categories) on x-axis with Category values A,B,C,D - initially the average value shown by reference line is correct. But when I select any of the category (drills down to all the sub-categories within that particular category), the reference line value changes to point the average value for that category. Selecting any of the sub-categories NOW does NOT change the average value. But I want the initial average value to remain constant even if I pick any category. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2015 21:12:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-05T21:12:24Z</dc:date>
    <item>
      <title>Static reference line for Average calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819142#M288794</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;I am trying to add a reference line in my chart to show average of sales. However, it varies based on my selection. Is it possible to make it static? I am using the formula avg(sales) in the reference line expression on Presentation tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 20:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819142#M288794</guid>
      <dc:creator />
      <dc:date>2015-01-05T20:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Static reference line for Average calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819143#M288795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your reference line expression to ignore selections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg(&lt;STRONG&gt;{1}&lt;/STRONG&gt;sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 20:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819143#M288795</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-05T20:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Static reference line for Average calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819144#M288796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bob! This was very helpful. However, this is working only partially. For example: In my chart, I have drill down group for my dimension (Categories and Sub-categories) on x-axis with Category values A,B,C,D - initially the average value shown by reference line is correct. But when I select any of the category (drills down to all the sub-categories within that particular category), the reference line value changes to point the average value for that category. Selecting any of the sub-categories NOW does NOT change the average value. But I want the initial average value to remain constant even if I pick any category. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 21:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819144#M288796</guid>
      <dc:creator />
      <dc:date>2015-01-05T21:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Static reference line for Average calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819145#M288797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not quite sure I get what you are trying to achieve but try the following expressions:&lt;/P&gt;&lt;P&gt;=avg(total {1} sales)&lt;/P&gt;&lt;P&gt;=avg(all {1} sales)&lt;/P&gt;&lt;P&gt;=$(=avg({1} sales))&lt;/P&gt;&lt;P&gt;='$(=avg({1} sales))'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a little bit of a try &amp;amp; error approach and I apologize for that but I hope one of the expressions will do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 21:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819145#M288797</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2015-01-05T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Static reference line for Average calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819146#M288798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA an example qvw file, is this what you are trying to achieve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 21:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819146#M288798</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-01-05T21:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Static reference line for Average calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819147#M288799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not understanding what you are asking for. could you explain it in terms of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear State: avg of Categories A, B, C. &lt;/P&gt;&lt;P&gt;Select Cat B. Avg of Subcategories B1, B2, B3? Or something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 00:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819147#M288799</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-06T00:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Static reference line for Average calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819148#M288800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin!&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=avg(total {1} sales) worked!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 00:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-reference-line-for-Average-calculation/m-p/819148#M288800</guid>
      <dc:creator />
      <dc:date>2015-01-06T00:54:50Z</dc:date>
    </item>
  </channel>
</rss>

