<?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 why add a new expression would make previously suppressed zero values show up. How to remove it? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/why-add-a-new-expression-would-make-previously-suppressed-zero/m-p/974705#M959561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I met a problem&amp;nbsp; when I added a new expression of running total into the pivot table.&lt;/P&gt;&lt;P&gt;At first, there was only one expression to calculate 'Uninvoiced_Amount' by dimensions of year, month, state, program and subprogram.&lt;/P&gt;&lt;P&gt;And the zero values of expression have been suppressed.&lt;/P&gt;&lt;P&gt;--expression of 'Uninvoiced amount' =&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'Invoiced' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'Cancelled' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;finishTimeStamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PO_DocDate_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;finishTimeStamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PO_DocDate_Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PO_NetAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="running total.PNG" class="jive-image image-1" src="/legacyfs/online/103263_running total.PNG" style="width: 620px; height: 468px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="zero value1.PNG" class="jive-image image-2" src="/legacyfs/online/103264_zero value1.PNG" style="width: 207px; height: 254px;" width="292" /&gt;&lt;/P&gt;&lt;P&gt;But when I added a new expression to calculate Running Total , the suppressed zero values all showed up.&amp;nbsp; In order to make table neat,&amp;nbsp; I used IF function in my&amp;nbsp; Running Total expression :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Uninvoiced_Amount&amp;gt;0, rangesum(Above(TOTAL sum(if(name&amp;lt;&amp;gt;'Invoiced' and name&amp;lt;&amp;gt;'Cancelled' and year(finishTimeStamp)=PO_DocDate_Year &lt;BR /&gt; and Month(finishTimeStamp)=PO_DocDate_Month, PO_NetAmount)),0,RowNo(TOTAL)))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Now the table look like below. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG alt="RT.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/103268_RT.PNG" style="width: 620px; height: 408px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I think maybe that's because I use ROWNO() in the new expression let the zero values show up. And I already checked the 'Suppress zero values' under the new expression but it didn't work.&amp;nbsp; I appreciate some one could help me remove those redundant zero values. Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 01:31:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-28T01:31:39Z</dc:date>
    <item>
      <title>why add a new expression would make previously suppressed zero values show up. How to remove it?</title>
      <link>https://community.qlik.com/t5/QlikView/why-add-a-new-expression-would-make-previously-suppressed-zero/m-p/974705#M959561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I met a problem&amp;nbsp; when I added a new expression of running total into the pivot table.&lt;/P&gt;&lt;P&gt;At first, there was only one expression to calculate 'Uninvoiced_Amount' by dimensions of year, month, state, program and subprogram.&lt;/P&gt;&lt;P&gt;And the zero values of expression have been suppressed.&lt;/P&gt;&lt;P&gt;--expression of 'Uninvoiced amount' =&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'Invoiced' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'Cancelled' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;finishTimeStamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PO_DocDate_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;finishTimeStamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PO_DocDate_Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PO_NetAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="running total.PNG" class="jive-image image-1" src="/legacyfs/online/103263_running total.PNG" style="width: 620px; height: 468px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="zero value1.PNG" class="jive-image image-2" src="/legacyfs/online/103264_zero value1.PNG" style="width: 207px; height: 254px;" width="292" /&gt;&lt;/P&gt;&lt;P&gt;But when I added a new expression to calculate Running Total , the suppressed zero values all showed up.&amp;nbsp; In order to make table neat,&amp;nbsp; I used IF function in my&amp;nbsp; Running Total expression :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Uninvoiced_Amount&amp;gt;0, rangesum(Above(TOTAL sum(if(name&amp;lt;&amp;gt;'Invoiced' and name&amp;lt;&amp;gt;'Cancelled' and year(finishTimeStamp)=PO_DocDate_Year &lt;BR /&gt; and Month(finishTimeStamp)=PO_DocDate_Month, PO_NetAmount)),0,RowNo(TOTAL)))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Now the table look like below. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG alt="RT.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/103268_RT.PNG" style="width: 620px; height: 408px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I think maybe that's because I use ROWNO() in the new expression let the zero values show up. And I already checked the 'Suppress zero values' under the new expression but it didn't work.&amp;nbsp; I appreciate some one could help me remove those redundant zero values. Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 01:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-add-a-new-expression-would-make-previously-suppressed-zero/m-p/974705#M959561</guid>
      <dc:creator />
      <dc:date>2015-10-28T01:31:39Z</dc:date>
    </item>
  </channel>
</rss>

