<?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: Gauge for Displaying Average Age in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504460#M188509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicole:&lt;/P&gt;&lt;P&gt;I looked up Set Analysis and saw that it is correct. Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 00:26:00 GMT</pubDate>
    <dc:creator>jmonroe918</dc:creator>
    <dc:date>2014-01-14T00:26:00Z</dc:date>
    <item>
      <title>Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504457#M188506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am new to QlikView and developing my first dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a gauge that displays the Average Age of the open records in the table (in this case "complaints"). I want the gage to split the display into 3 sections "&amp;lt;30" (green), 30-60 (yellow) and &amp;gt;60 (red). The age field is called "Age (Days)" and the open records have a "Status" that does not equal "Closed".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried and here is my result. I have not filtered the out the closed records and I am having trouble with "text in chart" where I would like to display actual average age.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;OBJECT classid="CLSID:A806E1D7-B077-415E-AF08-28AFE10DDF4A" height="146" width="166"&gt;&lt;PARAM name="_Version" value="720916" /&gt;&lt;PARAM name="_ExtentX" value="4392" /&gt;&lt;PARAM name="_ExtentY" value="3862" /&gt;&lt;PARAM name="_StockProps" value="0" /&gt;&lt;PARAM name="DocName" value="S:\RA-QA\Quality Systems\Dashboard\iQMS\iQms 2.0.qvw" /&gt;&lt;PARAM name="UserName" value="" /&gt;&lt;PARAM name="Password" value="" /&gt;&lt;PARAM name="Publisher" value="" /&gt;&lt;PARAM name="AccessMode" value="0" /&gt;&lt;PARAM name="AllowDialog" value="1" /&gt;&lt;PARAM name="SRC" value="" /&gt;&lt;PARAM name="AutoScan" value="1" /&gt;&lt;PARAM name="ProductLevel" value="38323644" /&gt;&lt;PARAM name="ObjectID" value="Document\CH30" /&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 21:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504457#M188506</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-01-13T21:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504458#M188507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your expression, you need set analysis that looks like this:&lt;/P&gt;&lt;P&gt;avg({$-&amp;lt;Status={'Closed'}&amp;gt;}[Age (Days)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put the same expression here to display it as text in the chart:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="51432" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/51432_pastedImage_0.png" style="width: 620px; height: 374px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 21:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504458#M188507</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-13T21:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504459#M188508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicole:&lt;/P&gt;&lt;P&gt;Thank you very much for the quick response. Just to verify on the expression. Is that filtering out closed records, or is it including only closed records. I trying to decipher the code to see where the "not equals" logic is.&lt;/P&gt;&lt;P&gt;And can you tell me how I can move the text thas overwriting on the gauge?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 21:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504459#M188508</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-01-13T21:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504460#M188509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicole:&lt;/P&gt;&lt;P&gt;I looked up Set Analysis and saw that it is correct. Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 00:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504460#M188509</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-01-14T00:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504461#M188510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad you were able to figure out what the set analysis was.&amp;nbsp; As for moving the text, if you hold CTRL+Shift, red lines will appear and you can move stuff around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck!&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 13:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504461#M188510</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-14T13:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504462#M188511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicole:&lt;/P&gt;&lt;P&gt;Another question; I'd like to add another condition to the expression. I want the average age of CAPA records that are not "Closed" , and Origin contains "Audit". I'm trying the expression below, but is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Avg Age (Days): '&amp;amp; &lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Avg&lt;/SPAN&gt;({$-&amp;lt;&lt;SPAN style="color: #800000;"&gt;CAPA.Status&lt;/SPAN&gt;={'Closed'}&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; {$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[CAPA.Origin]&lt;/SPAN&gt;={'*Audit*'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;[CAPA.Age (Days)]&lt;/SPAN&gt;), '#.') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 22:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504462#M188511</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-01-19T22:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504463#M188512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;='Avg Age (Days): '&amp;amp; &lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Avg&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[CAPA.Origin]&lt;/SPAN&gt;={'*Audit*'}&amp;gt;-&amp;lt;&lt;SPAN style="color: #800000;"&gt;CAPA.Status&lt;/SPAN&gt;={'Closed'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;[CAPA.Age (Days)]&lt;/SPAN&gt;), '#.')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 13:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504463#M188512</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-20T13:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504464#M188513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicole:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That did it. Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 16:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504464#M188513</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-01-20T16:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504465#M188514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping you might be able to verify for me the following set analysis expression to ensure I have it right:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count &lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CAPA.Origin]={'*Audit*'}&amp;gt;*&amp;lt;CAPA.Status={'Closed'}&amp;gt;} [&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;CAPA.CAPA No&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;I want to count up the number of recoreds (CAPA No) where the Origin contains "Audit" and the Status = Closed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Jeff&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 21:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504465#M188514</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-01-27T21:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504466#M188515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can write this one a bit easier.&amp;nbsp; If you want both conditions, you can just separate them with a comma:&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;CAPA.Origin={'*Audit*'},CAPA.Status={'Closed'}&amp;gt;} [CAPA.CAPA No]) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 13:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504466#M188515</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-28T13:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge for Displaying Average Age</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504467#M188516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, I'll do that. Thanks again.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 14:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-for-Displaying-Average-Age/m-p/504467#M188516</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-01-28T14:37:52Z</dc:date>
    </item>
  </channel>
</rss>

