<?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 chart with conditional expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gauge-chart-with-conditional-expression/m-p/19030#M3169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, it worked perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2018 19:00:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-13T19:00:44Z</dc:date>
    <item>
      <title>Gauge chart with conditional expression</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-chart-with-conditional-expression/m-p/19028#M3167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to QV so please have patience with me.&lt;/P&gt;&lt;P&gt;Got a table with 10 columns, the ones to use now is date, region and &lt;SPAN lang="en"&gt;quality (in percentage)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For each date there are 6 rows, one for each region.&lt;/P&gt;&lt;P&gt;First I got a linechart that shows the quality per day. Can filter on period and/or region. No problem with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I wan't gauge charts (traffic light) to display the average quality, one chart for each region.&lt;/P&gt;&lt;P&gt;And here is where I get stuck. &lt;/P&gt;&lt;P&gt;I want the gauges to always show the average for each region for the selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried this but doesn't work even though it say's "expression OK"&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt;&lt;STRONG&gt;Num&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 13.3333px;"&gt;avg&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 13.3333px;"&gt;avg&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #993366;"&gt;&lt;STRONG&gt;[Quality %]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;, &lt;STRONG style="color: #0000ff;"&gt;Only&lt;/STRONG&gt;({&amp;lt;&lt;STRONG style="color: #993366; font-size: 13.3333px;"&gt;region&lt;/STRONG&gt;={Helsingborg}&amp;gt;}))),'#&lt;SPAN style="font-size: 13.3333px;"&gt;#&lt;/SPAN&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;#&lt;/SPAN&gt;#0%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This expression works but changes the region by selection&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Num&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;STRONG style="color: #0000ff;"&gt;avg&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;STRONG style="color: #0000ff;"&gt;avg&lt;/STRONG&gt;(&lt;SPAN style="color: #993366;"&gt;&lt;STRONG&gt;[Quality %]&lt;/STRONG&gt;&lt;/SPAN&gt;), &lt;SPAN style="color: #993366;"&gt;&lt;STRONG&gt;region&lt;/STRONG&gt;&lt;/SPAN&gt;)),'#&lt;SPAN style="font-size: 13.3333px;"&gt;#&lt;/SPAN&gt;,#&lt;SPAN style="font-size: 13.3333px;"&gt;#&lt;/SPAN&gt;0%').&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Appreciate the help from all you experts&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 14:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-chart-with-conditional-expression/m-p/19028#M3167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-13T14:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge chart with conditional expression</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-chart-with-conditional-expression/m-p/19029#M3168</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Avg({&amp;lt;region = {'Helsingborg'}&amp;gt;} Aggr(Avg({&amp;lt;region = {'Helsingborg'}&amp;gt;} [Quality %]), region)), '##,##0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 17:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-chart-with-conditional-expression/m-p/19029#M3168</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-13T17:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge chart with conditional expression</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-chart-with-conditional-expression/m-p/19030#M3169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, it worked perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 19:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-chart-with-conditional-expression/m-p/19030#M3169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-13T19:00:44Z</dc:date>
    </item>
  </channel>
</rss>

