<?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: How to calculate an average reference line (in %) for a run chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542342#M457195</link>
    <description>&lt;P&gt;Ok,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the solution. We were so close! Just needed to add TOTAL into the expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AVG(TOTAL AGGR(Count({&amp;lt;Place={'C03'},[Questions Complete]={'Yes'},[Place transferred to]-={'C07'}&amp;gt;}Place)/Count({&amp;lt;Place={'C03'}, [Place transferred to]-={'C07'}&amp;gt;}Place) , [Date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 13:38:06 GMT</pubDate>
    <dc:creator>peterderrington</dc:creator>
    <dc:date>2019-02-11T13:38:06Z</dc:date>
    <item>
      <title>How to calculate an average reference line (in %) for a run chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1541733#M457190</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created a simple run chart but have run into a small problem - i cant create the reference line mentioned above.&lt;/P&gt;&lt;P&gt;The graph itself is a simple bar/line chart with the line showing the compliance of a task by a given location in percentage form.&lt;/P&gt;&lt;P&gt;The expression for that line is:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Place={'C03'},[Questions Complete]={'Yes'},[Place transferred to]-={'C07'}&amp;gt;}Place)/Count({&amp;lt;Place={'C03'}, [Place transferred to]-={'C07'}&amp;gt;}Place)&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i need to be able to do is show an average of that expression line on my chart.&lt;/P&gt;&lt;P&gt;Any ideas? Thanks, Peter&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1541733#M457190</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-02-08T16:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate an average reference line (in %) for a run chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1541755#M457191</link>
      <description>Try something like this:&lt;BR /&gt;&lt;BR /&gt;AVG(AGGR(Count({&amp;lt;Place={'C03'},[Questions Complete]={'Yes'},[Place transferred to]-={'C07'}&amp;gt;}Place)/Count({&amp;lt;Place={'C03'}, [Place transferred to]-={'C07'}&amp;gt;}Place) , [Your X-axis Dimension]))</description>
      <pubDate>Fri, 08 Feb 2019 17:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1541755#M457191</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-02-08T17:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate an average reference line (in %) for a run chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542310#M457192</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it hasn't quite done it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The line should be a flat line across the graph showing (in this example) as 33.3%&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Average.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5662i12C288DA1808684F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Average.jpeg" alt="Average.jpeg" /&gt;&lt;/span&gt;Any ideas where to go next?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 12:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542310#M457192</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-02-11T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate an average reference line (in %) for a run chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542324#M457193</link>
      <description>&lt;P&gt;I just double checked some of the properties of the chart and i'd forgotten to alter the position of the axis from Left to Right (to then match the compliance ratio axis), however when i changed it, it then just removed the compliance ratio expression and displayed this expression in exactly the same place.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 13:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542324#M457193</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-02-11T13:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate an average reference line (in %) for a run chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542341#M457194</link>
      <description>&lt;P&gt;Do you get the correct total avg value if if you put &lt;STRONG&gt;your&lt;/STRONG&gt;&amp;nbsp;original expression into an textbox or chart without dimension?&lt;/P&gt;&lt;P&gt;If so then you could try this expression in your graph.&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#808080"&gt;Count(&lt;FONT color="#000000"&gt;&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;&lt;/FONT&gt;{&amp;lt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;   Place={'C03'},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;   [Questions Complete]={'Yes'},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;   [Place transferred to]-={'C07'}&amp;gt;}Place)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;Count(&lt;FONT color="#000000"&gt;&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;&lt;/FONT&gt;{&amp;lt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;   Place={'C03'}, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;   [Place transferred to]-={'C07'}&amp;gt;}Place)&lt;/FONT&gt; &lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Feb 2019 13:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542341#M457194</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-02-11T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate an average reference line (in %) for a run chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542342#M457195</link>
      <description>&lt;P&gt;Ok,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the solution. We were so close! Just needed to add TOTAL into the expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AVG(TOTAL AGGR(Count({&amp;lt;Place={'C03'},[Questions Complete]={'Yes'},[Place transferred to]-={'C07'}&amp;gt;}Place)/Count({&amp;lt;Place={'C03'}, [Place transferred to]-={'C07'}&amp;gt;}Place) , [Date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 13:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-an-average-reference-line-in-for-a-run-chart/m-p/1542342#M457195</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-02-11T13:38:06Z</dc:date>
    </item>
  </channel>
</rss>

