<?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 Count based on accumulated % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-based-on-accumulated/m-p/2448426#M1231649</link>
    <description>&lt;P&gt;How to count the number of customers who have an accumulated % of 30%, 50% and 100%, as per the example&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capturar 0305.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165393i31E680CA1A36A9E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capturar 0305.PNG" alt="Capturar 0305.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator>Rogeriotigre</dc:creator>
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>Count based on accumulated %</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-accumulated/m-p/2448426#M1231649</link>
      <description>&lt;P&gt;How to count the number of customers who have an accumulated % of 30%, 50% and 100%, as per the example&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capturar 0305.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165393i31E680CA1A36A9E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capturar 0305.PNG" alt="Capturar 0305.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-accumulated/m-p/2448426#M1231649</guid>
      <dc:creator>Rogeriotigre</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on accumulated %</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-accumulated/m-p/2448750#M1231652</link>
      <description>&lt;P&gt;Hi, solution attached.&lt;/P&gt;
&lt;P&gt;I created a variable vPorAcumVenda to store the expression that calculates the accumulation, just to help with construction and easy readiness of expressions.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;RangeSum(Above(Sum(VENDA)/Sum(TOTAL VENDA),0, RowNo(TOTAL)))&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;And used this expression in Aggr with sorting parameters so it simulates the table by customer sorted by descendant sales.&lt;/P&gt;
&lt;P&gt;Inside the aggr each column only counts the customer between the % values.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Sum(Aggr(If($(vPorAcumVenda)&amp;gt;0.3 and $(vPorAcumVenda)&amp;lt;=0.5, 1, 0),(COD_CLIENTE,(=Sum(VENDA),Desc))))&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Also added a table to confirm the customers counted in each column.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Concat(Aggr(If($(vPorAcumVenda)&amp;gt;0.5, COD_CLIENTE),(COD_CLIENTE,(=Sum(VENDA),Desc))),'-')&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 06:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-accumulated/m-p/2448750#M1231652</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2024-05-04T06:29:14Z</dc:date>
    </item>
  </channel>
</rss>

