<?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 Display Problem. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gauge-Display-Problem/m-p/282079#M582485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you try ensuring 0 is returned rather than null?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; if(isnull(Count(ProductID)),0,Count(ProductID)) AS Critical&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt; &lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2011 13:06:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-28T13:06:22Z</dc:date>
    <item>
      <title>Gauge Display Problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Display-Problem/m-p/282077#M582483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a query which may return no results as below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; Count(ProductID) as &lt;STRONG&gt;Critical&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident Product&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UnitsInStock &amp;lt;ReorderLevel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I display the&amp;nbsp; &lt;STRONG&gt;Critical&lt;/STRONG&gt; on a Gauge (Led) and when no result return from the query the Gauge dissaperas where I would like to show the number 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tried to show the result of &lt;STRONG&gt;Critical&lt;/STRONG&gt; on a Listbox to check if it is null or not nothing came up, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Briefly my question is; how can I show the result as 0 when there is no results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 12:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Display-Problem/m-p/282077#M582483</guid>
      <dc:creator />
      <dc:date>2011-10-28T12:42:57Z</dc:date>
    </item>
    <item>
      <title>Gauge Display Problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Display-Problem/m-p/282078#M582484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe just append something like this to your script after your query (Result is your table name, change it to your given table name):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( NoOfRows('Result') ) = 0 then&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Critical&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 12:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Display-Problem/m-p/282078#M582484</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-28T12:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge Display Problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Display-Problem/m-p/282079#M582485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you try ensuring 0 is returned rather than null?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; if(isnull(Count(ProductID)),0,Count(ProductID)) AS Critical&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt; &lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 13:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Display-Problem/m-p/282079#M582485</guid>
      <dc:creator />
      <dc:date>2011-10-28T13:06:22Z</dc:date>
    </item>
  </channel>
</rss>

