<?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: Table: avg totals without 0's in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054035#M86602</link>
    <description>&lt;P&gt;Avg({&amp;lt; Values -= {"0"} &amp;gt;} Values)&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 10:33:24 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-03-28T10:33:24Z</dc:date>
    <item>
      <title>Table: avg totals without 0's</title>
      <link>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054004#M86598</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I would like to ask about the totals row in tables.&lt;/P&gt;
&lt;P&gt;It seems the only thing that can be done in QlikSense tables is choosing a total function and, by default, this calculation take into account all row values shown. This means, for example, the avg function will take into account the '0' values.&lt;/P&gt;
&lt;P&gt;My question is: is there any way to exclude the '0' values from this calculation?&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 09:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054004#M86598</guid>
      <dc:creator>idrb</dc:creator>
      <dc:date>2023-03-28T09:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table: avg totals without 0's</title>
      <link>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054035#M86602</link>
      <description>&lt;P&gt;Avg({&amp;lt; Values -= {"0"} &amp;gt;} Values)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 10:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054035#M86602</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-03-28T10:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table: avg totals without 0's</title>
      <link>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054380#M86616</link>
      <description>&lt;P&gt;G'day, another approach is to remember that null values are excluded automatically, so you can convert the '0' values in the table column to nulls with something like this ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if( value &amp;lt;&amp;gt; 0, value )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The table will now show '-' for all the '0' values, so the average function will now do what you want.&lt;/P&gt;
&lt;P&gt;Cheers, Barnaby.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 20:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054380#M86616</guid>
      <dc:creator>barnabyd</dc:creator>
      <dc:date>2023-03-28T20:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table: avg totals without 0's</title>
      <link>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054592#M86633</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This solution worked like a charm!&lt;/P&gt;
&lt;P&gt;Thank you very much!!&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 10:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-avg-totals-without-0-s/m-p/2054592#M86633</guid>
      <dc:creator>idrb</dc:creator>
      <dc:date>2023-03-29T10:43:01Z</dc:date>
    </item>
  </channel>
</rss>

