<?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: Rangeavg() inside if(), unable to avoid null rows&amp;columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786602#M667970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try suppress missing values&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Harshita Gaur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 11:33:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-20T11:33:49Z</dc:date>
    <item>
      <title>Rangeavg() inside if(), unable to avoid null rows&amp;columns</title>
      <link>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786601#M667969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;I tried the expression below and the result I got is show in the image(1) below.&lt;/LI&gt;&lt;/UL&gt;&lt;H6&gt;&lt;/H6&gt;&lt;H6&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;Type={'Inventory'}&amp;gt;} Units)&lt;/H6&gt;&lt;P&gt;Note: I'm using QV10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; image(1)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="71951" alt="image01.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71951_image01.JPG.jpg" style="width: 620px; height: 97px;" /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Thereafter I modified the expression with "rangeavg()" function. But I get additional null rows&amp;amp;columns (highlighted in the image below)&lt;/LI&gt;&lt;LI&gt;Also I tried suppress null values, but still I'm getting the same result.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;H6 style="padding-left: 60px;"&gt;=if(sum({&amp;lt;Type={'Inventory'}&amp;gt;} Units),&lt;/H6&gt;&lt;H6 style="padding-left: 60px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;Type={'Inventory'}&amp;gt;} Units)/&lt;/H6&gt;&lt;H6 style="padding-left: 60px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rangeavg(before(if(sum({&amp;lt;Type={'SalesOut'}&amp;gt;} Units)&amp;gt;=0,sum({&amp;lt;Type={'SalesOut'}&amp;gt;} Units)),0,8))&lt;/H6&gt;&lt;H6 style="padding-left: 60px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/H6&gt;&lt;P&gt;&lt;IMG __jive_id="71952" alt="image02.JPG.jpg" class="jive-image" height="112" src="https://community.qlik.com/legacyfs/online/71952_image02.JPG.jpg" style="width: 925.714px; height: 112px;" width="926" /&gt;&lt;/P&gt;&lt;P&gt;Could anyone please help me to solve this problem?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: gunenthiran b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 09:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786601#M667969</guid>
      <dc:creator />
      <dc:date>2014-11-20T09:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rangeavg() inside if(), unable to avoid null rows&amp;columns</title>
      <link>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786602#M667970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try suppress missing values&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Harshita Gaur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 11:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786602#M667970</guid>
      <dc:creator />
      <dc:date>2014-11-20T11:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rangeavg() inside if(), unable to avoid null rows&amp;columns</title>
      <link>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786603#M667971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;But i tried suppress missing/null values also not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 06:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786603#M667971</guid>
      <dc:creator />
      <dc:date>2014-11-21T06:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rangeavg() inside if(), unable to avoid null rows&amp;columns</title>
      <link>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786604#M667972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can you attach your QVW? and &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; your data sheet? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards&lt;/P&gt;&lt;P&gt;Harshita gaur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 06:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786604#M667972</guid>
      <dc:creator />
      <dc:date>2014-11-21T06:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rangeavg() inside if(), unable to avoid null rows&amp;columns</title>
      <link>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786605#M667973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harshita gaur,&lt;BR /&gt;I attached my qvw and data sheet in the question.&lt;BR /&gt;please find the attachment and please note that we are using QV10.&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 12:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangeavg-inside-if-unable-to-avoid-null-rows-columns/m-p/786605#M667973</guid>
      <dc:creator />
      <dc:date>2014-11-24T12:06:22Z</dc:date>
    </item>
  </channel>
</rss>

