<?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 Accumlation without NULL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumlation-without-NULL/m-p/1651656#M731839</link>
    <description>&lt;P&gt;Hello qlikers, I need some help for my accumlation chart.&lt;/P&gt;&lt;P&gt;I have a sorce data which has fields : No., Category, ReceptionDate, CloseDate and Rank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data.PNG" style="width: 599px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24496i7CA206FD106A7573/image-dimensions/599x203?v=v2" width="599" height="203" role="button" title="data.PNG" alt="data.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I made a straight table which calculates monthly numbers of cases,&amp;nbsp;accumulation cases, and Remaining Cases of each Rank(A,B,C).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="casesasc.PNG" style="width: 747px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24497i1723C861F63FDA60/image-size/large?v=v2&amp;amp;px=999" role="button" title="casesasc.PNG" alt="casesasc.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="casesdesc.PNG" style="width: 747px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24498i6168F2496827CE33/image-size/large?v=v2&amp;amp;px=999" role="button" title="casesdesc.PNG" alt="casesdesc.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the chart monthly ascending order, I use an expression as&amp;nbsp;follows to calculate Remaining cases of each Rank.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366ff"&gt;RangeSum&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;Above&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#993300"&gt;%Rank&lt;/FONT&gt;={A}&amp;gt;}&lt;FONT color="#993300"&gt;%ReceptionFlag&lt;/FONT&gt;),0,&lt;FONT color="#3366ff"&gt;RowNo&lt;/FONT&gt;()))-&lt;FONT color="#3366ff"&gt;RangeSum&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;Above&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#993300"&gt;%Rank&lt;/FONT&gt;={A}&amp;gt;}&lt;FONT color="#993300"&gt;%CloseFlag&lt;/FONT&gt;),0,&lt;FONT color="#3366ff"&gt;RowNo&lt;/FONT&gt;()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the chart monthly descending order, I use an expression as&amp;nbsp;follows.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366ff"&gt;Aggr&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;RangeSum&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;Above&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#993300"&gt;%Rank&lt;/FONT&gt;={A}&amp;gt;}&lt;FONT color="#993300"&gt;%ReceptionFlag&lt;/FONT&gt;), 0, &lt;FONT color="#3366ff"&gt;RowNo&lt;/FONT&gt;())), (&lt;FONT color="#993300"&gt;%Date&lt;/FONT&gt;, &lt;FONT color="#0000ff"&gt;NUMERIC&lt;/FONT&gt;))-&lt;FONT color="#3366ff"&gt;Aggr&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;RangeSum&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;Above&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#993300"&gt;%Rank&lt;/FONT&gt;={A}&amp;gt;}&lt;FONT color="#993300"&gt;%CloseFlag&lt;/FONT&gt;), 0, &lt;FONT color="#3366ff"&gt;RowNo&lt;/FONT&gt;())), (&lt;FONT color="#993300"&gt;%Date&lt;/FONT&gt;, &lt;FONT color="#0000ff"&gt;NUMERIC&lt;/FONT&gt;))&lt;/P&gt;&lt;P&gt;&amp;nbsp;However, in case to use the expressions as above, NULL is shown in the descending chart.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="casesnull.PNG" style="width: 314px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24499i33D46A1E44D3E24A/image-size/large?v=v2&amp;amp;px=999" role="button" title="casesnull.PNG" alt="casesnull.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I avoid this issue?&lt;/P&gt;&lt;P&gt;Thank you for your support!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:50:31 GMT</pubDate>
    <dc:creator>Yuhka</dc:creator>
    <dc:date>2024-11-16T01:50:31Z</dc:date>
    <item>
      <title>Accumlation without NULL</title>
      <link>https://community.qlik.com/t5/QlikView/Accumlation-without-NULL/m-p/1651656#M731839</link>
      <description>&lt;P&gt;Hello qlikers, I need some help for my accumlation chart.&lt;/P&gt;&lt;P&gt;I have a sorce data which has fields : No., Category, ReceptionDate, CloseDate and Rank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data.PNG" style="width: 599px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24496i7CA206FD106A7573/image-dimensions/599x203?v=v2" width="599" height="203" role="button" title="data.PNG" alt="data.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I made a straight table which calculates monthly numbers of cases,&amp;nbsp;accumulation cases, and Remaining Cases of each Rank(A,B,C).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="casesasc.PNG" style="width: 747px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24497i1723C861F63FDA60/image-size/large?v=v2&amp;amp;px=999" role="button" title="casesasc.PNG" alt="casesasc.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="casesdesc.PNG" style="width: 747px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24498i6168F2496827CE33/image-size/large?v=v2&amp;amp;px=999" role="button" title="casesdesc.PNG" alt="casesdesc.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the chart monthly ascending order, I use an expression as&amp;nbsp;follows to calculate Remaining cases of each Rank.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366ff"&gt;RangeSum&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;Above&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#993300"&gt;%Rank&lt;/FONT&gt;={A}&amp;gt;}&lt;FONT color="#993300"&gt;%ReceptionFlag&lt;/FONT&gt;),0,&lt;FONT color="#3366ff"&gt;RowNo&lt;/FONT&gt;()))-&lt;FONT color="#3366ff"&gt;RangeSum&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;Above&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#993300"&gt;%Rank&lt;/FONT&gt;={A}&amp;gt;}&lt;FONT color="#993300"&gt;%CloseFlag&lt;/FONT&gt;),0,&lt;FONT color="#3366ff"&gt;RowNo&lt;/FONT&gt;()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the chart monthly descending order, I use an expression as&amp;nbsp;follows.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366ff"&gt;Aggr&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;RangeSum&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;Above&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#993300"&gt;%Rank&lt;/FONT&gt;={A}&amp;gt;}&lt;FONT color="#993300"&gt;%ReceptionFlag&lt;/FONT&gt;), 0, &lt;FONT color="#3366ff"&gt;RowNo&lt;/FONT&gt;())), (&lt;FONT color="#993300"&gt;%Date&lt;/FONT&gt;, &lt;FONT color="#0000ff"&gt;NUMERIC&lt;/FONT&gt;))-&lt;FONT color="#3366ff"&gt;Aggr&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;RangeSum&lt;/FONT&gt;(&lt;FONT color="#3366ff"&gt;Above&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#993300"&gt;%Rank&lt;/FONT&gt;={A}&amp;gt;}&lt;FONT color="#993300"&gt;%CloseFlag&lt;/FONT&gt;), 0, &lt;FONT color="#3366ff"&gt;RowNo&lt;/FONT&gt;())), (&lt;FONT color="#993300"&gt;%Date&lt;/FONT&gt;, &lt;FONT color="#0000ff"&gt;NUMERIC&lt;/FONT&gt;))&lt;/P&gt;&lt;P&gt;&amp;nbsp;However, in case to use the expressions as above, NULL is shown in the descending chart.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="casesnull.PNG" style="width: 314px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24499i33D46A1E44D3E24A/image-size/large?v=v2&amp;amp;px=999" role="button" title="casesnull.PNG" alt="casesnull.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I avoid this issue?&lt;/P&gt;&lt;P&gt;Thank you for your support!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumlation-without-NULL/m-p/1651656#M731839</guid>
      <dc:creator>Yuhka</dc:creator>
      <dc:date>2024-11-16T01:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accumlation without NULL</title>
      <link>https://community.qlik.com/t5/QlikView/Accumlation-without-NULL/m-p/1655699#M731840</link>
      <description>&lt;P&gt;Only thing I have to try to help is the following Design Blog post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Above-Function/ba-p/1465357" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Above-Function/ba-p/1465357&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Might get you what you need to figure things out.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 22:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumlation-without-NULL/m-p/1655699#M731840</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-09T22:48:54Z</dc:date>
    </item>
  </channel>
</rss>

