<?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: Nulls and Zeros in SUM function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139450#M92867</link>
    <description>&lt;P&gt;And have you a filter currently applied? I haven't noticed that SORT 7 is grayed out in the listbox, so it is not available in the current context.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2023 15:27:11 GMT</pubDate>
    <dc:creator>vincent_ardiet_</dc:creator>
    <dc:date>2023-11-20T15:27:11Z</dc:date>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139421#M92864</link>
      <description>&lt;P&gt;Unfortunately, this didn't work for me.&amp;nbsp; In my example, I try to show all the possible timeslots during the date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data are available from 07:00-09:30 and from 10:30 and so on. I'd like to show that for 10:00 it was zero.&amp;nbsp;&lt;BR /&gt;In my sorting, data are coming for null values(look SORT = 7).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it a setting in the pivot chart or need to change my expression?&amp;nbsp; ( &lt;STRONG&gt;sum(field)&lt;/STRONG&gt; )&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="panosalexand_1-1700489471669.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120249i725C24DE472C0649/image-size/medium?v=v2&amp;amp;px=400" role="button" title="panosalexand_1-1700489471669.png" alt="panosalexand_1-1700489471669.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;PA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 14:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139421#M92864</guid>
      <dc:creator>panosalexand</dc:creator>
      <dc:date>2023-11-20T14:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139443#M92865</link>
      <description>&lt;P&gt;Stupid question but are you sure that the Suppress Zero Values or Suppress Missing options are not checked?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 15:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139443#M92865</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-20T15:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139447#M92866</link>
      <description>&lt;P&gt;Isn't a stupid question, but yes, options are not checked. &lt;BR /&gt;Most probably I have to change the expression in order to get the values without data but I still struggle to find the right.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 15:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139447#M92866</guid>
      <dc:creator>panosalexand</dc:creator>
      <dc:date>2023-11-20T15:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139450#M92867</link>
      <description>&lt;P&gt;And have you a filter currently applied? I haven't noticed that SORT 7 is grayed out in the listbox, so it is not available in the current context.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 15:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139450#M92867</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-20T15:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139455#M92868</link>
      <description>&lt;P&gt;Exactly! I've applied a filter on a particular day. On this day we have production records from 7 am to 7 pm.&amp;nbsp;&lt;BR /&gt;If there isn't a record I need to know this time.&lt;/P&gt;
&lt;P&gt;Is something similar to the date. eg You need to know sales for the current year. If you don't have sales for June you will not get the gap and maybe you will not understand it. For this reason you have to apply a master calendar.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 15:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139455#M92868</guid>
      <dc:creator>panosalexand</dc:creator>
      <dc:date>2023-11-20T15:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139465#M92869</link>
      <description>&lt;P&gt;In this case try something like this:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Rangesum(sum(field),sum({1} 0))&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 15:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139465#M92869</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-20T15:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139640#M92870</link>
      <description>&lt;P&gt;Vincent many thanks!! Is working!!!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="panosalexand_0-1700552778359.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120276i056072E2D2FD9434/image-size/medium?v=v2&amp;amp;px=400" role="button" title="panosalexand_0-1700552778359.png" alt="panosalexand_0-1700552778359.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 07:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139640#M92870</guid>
      <dc:creator>panosalexand</dc:creator>
      <dc:date>2023-11-21T07:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139827#M92871</link>
      <description>&lt;P&gt;Vincent, I try to apply the same for AVG.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Redline just a simple average which is the correct --&amp;gt; avg(Field1)&lt;/P&gt;
&lt;P&gt;The blue line is what you suggested but with AVG. In this case, I have all the range but the values are approximately half --&amp;gt; Rangeavg(avg(Field1),avg({1} 0))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="panosalexand_0-1700572133324.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120326i2CEBCEF3712F3071/image-size/medium?v=v2&amp;amp;px=400" role="button" title="panosalexand_0-1700572133324.png" alt="panosalexand_0-1700572133324.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any idea?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 13:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139827#M92871</guid>
      <dc:creator>panosalexand</dc:creator>
      <dc:date>2023-11-21T13:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139837#M92872</link>
      <description>&lt;P&gt;Yes, because RangeAvg is doing the average between all arguments.&lt;BR /&gt;Keep RangeSum in this case too :&amp;nbsp;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;RangeSum(avg(Field1),avg({1} 0))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 13:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139837#M92872</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-21T13:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls and Zeros in SUM function</title>
      <link>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139853#M92873</link>
      <description>&lt;P&gt;Thanks for the immediate response&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 13:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Re-Nulls-and-Zeros-in-SUM-function/m-p/2139853#M92873</guid>
      <dc:creator>panosalexand</dc:creator>
      <dc:date>2023-11-21T13:49:05Z</dc:date>
    </item>
  </channel>
</rss>

