<?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: Straight table average using columns excluding zeros in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-table-average-using-columns-excluding-zeros/m-p/1658262#M448501</link>
    <description>&lt;P&gt;I would believe you are likely going to have to use Set Analysis in that case to accomplish things:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Excluding-values-in-Set-Analysis/ba-p/1471704" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Excluding-values-in-Set-Analysis/ba-p/1471704&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;That post may get you on the right track, here is the base Design Blog URL in case you want to search for other related posts there:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2019 22:14:52 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-12-16T22:14:52Z</dc:date>
    <item>
      <title>Straight table average using columns excluding zeros</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-average-using-columns-excluding-zeros/m-p/1654988#M448154</link>
      <description>&lt;P&gt;Hi - I have a straight table, with 8 columns.&amp;nbsp; I'd like to work out the average of these 8 columns but excluding zeros as this will skew the count.&lt;/P&gt;&lt;P&gt;This works well, but gives me skewed average due to the zeros within columns:&lt;/P&gt;&lt;P&gt;(Column(1)+Column(2)+Column(3)+Column(4)+Column(5)+Column(6)+Column(7)+Column(8))/8&lt;/P&gt;&lt;P&gt;Thanks guys.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 12:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-average-using-columns-excluding-zeros/m-p/1654988#M448154</guid>
      <dc:creator>jlampard40</dc:creator>
      <dc:date>2019-12-06T12:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table average using columns excluding zeros</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-average-using-columns-excluding-zeros/m-p/1655010#M448160</link>
      <description>&lt;P&gt;Obviously you can use if conditions. But if you need a solution without if condition then use the below expression. This might solve your problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;(Column(1)+Column(2)+Column(3)+Column(4)+Column(5)+Column(6)+Column(7)+Column(8))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;/&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;(-1*( (column(1)&amp;gt;0) + (column(2)&amp;gt;0) + (column(3)&amp;gt;0) + (column(4)&amp;gt;0) + (column(5)&amp;gt;0) + (column(6)&amp;gt;0) + (column(7)&amp;gt;0) + (column(8)&amp;gt;0) ))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 13:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-average-using-columns-excluding-zeros/m-p/1655010#M448160</guid>
      <dc:creator>prabhuappu</dc:creator>
      <dc:date>2019-12-06T13:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table average using columns excluding zeros</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-average-using-columns-excluding-zeros/m-p/1658262#M448501</link>
      <description>&lt;P&gt;I would believe you are likely going to have to use Set Analysis in that case to accomplish things:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Excluding-values-in-Set-Analysis/ba-p/1471704" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Excluding-values-in-Set-Analysis/ba-p/1471704&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;That post may get you on the right track, here is the base Design Blog URL in case you want to search for other related posts there:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 22:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-average-using-columns-excluding-zeros/m-p/1658262#M448501</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-16T22:14:52Z</dc:date>
    </item>
  </channel>
</rss>

