<?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: Cumulative Count Distinct Ignoring Certain Dimension Filters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1764524#M719470</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6190"&gt;@sqlpuzzle&lt;/a&gt;&amp;nbsp; try below expression&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=sum(aggr(rangesum(above(Count(distinct {&amp;lt;date_month_year,month_year,year,weekstart&amp;gt;}Id),0,RowNo(TOTAL))),($(=GetCurrentField([YMD])),(NUMERIC,ASCENDING))))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 22:38:57 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-11-25T22:38:57Z</dc:date>
    <item>
      <title>Cumulative Count Distinct Ignoring Certain Dimension Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1764505#M719468</link>
      <description>&lt;P&gt;Here is the issue I am having. I have a table chart with a count and cumulative count(using the Full Accumulation radio button on the Expressions Tab).&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I have nothing filtered the values are as expected.&amp;nbsp; But as I start filtering the cumulative Count adjusts to the filter by excluding values outside the filter context.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the two screenshots posted. I want the #CumCount values shown in the screenshot without filters also to show up in&amp;nbsp; the case where filters are selected.&lt;/P&gt;&lt;P&gt;The #CumCount for Jun 2020 should be 19,035 instead of 3,000 all the time.&lt;/P&gt;&lt;P&gt;I want to calculate the cumulative count ignoring some or all of the filter contexts.&amp;nbsp; Is there an expression for that?&lt;/P&gt;&lt;P&gt;With out Filters&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sqlpuzzle_0-1606335338429.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44835i88B017575ABBF58F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sqlpuzzle_0-1606335338429.png" alt="sqlpuzzle_0-1606335338429.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Filters&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sqlpuzzle_1-1606335391524.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44836i61E18B84836E58E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sqlpuzzle_1-1606335391524.png" alt="sqlpuzzle_1-1606335391524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1764505#M719468</guid>
      <dc:creator>sqlpuzzle</dc:creator>
      <dc:date>2024-11-16T17:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count Distinct Ignoring Certain Dimension Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1764513#M719469</link>
      <description>&lt;P&gt;I came to this expression.&lt;/P&gt;&lt;P&gt;RangeSum (above(count({$&amp;lt;year,month_year=&amp;gt;} distinct Id),0,RowNo()))&lt;/P&gt;&lt;P&gt;It seems to get me the cumulative count but it is showing&amp;nbsp; some datarows that I shouldn't bee seeing. The ones outside the filter selection.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sqlpuzzle_0-1606341075485.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44838i4DE55D02F11C117E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sqlpuzzle_0-1606341075485.png" alt="sqlpuzzle_0-1606341075485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can be done.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 21:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1764513#M719469</guid>
      <dc:creator>sqlpuzzle</dc:creator>
      <dc:date>2020-11-25T21:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count Distinct Ignoring Certain Dimension Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1764524#M719470</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6190"&gt;@sqlpuzzle&lt;/a&gt;&amp;nbsp; try below expression&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=sum(aggr(rangesum(above(Count(distinct {&amp;lt;date_month_year,month_year,year,weekstart&amp;gt;}Id),0,RowNo(TOTAL))),($(=GetCurrentField([YMD])),(NUMERIC,ASCENDING))))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 22:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1764524#M719470</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-11-25T22:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count Distinct Ignoring Certain Dimension Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1765278#M719471</link>
      <description>&lt;P&gt;This seems to work on the sample. But for some reason I am not getting the result when I add it into my full Project.&lt;/P&gt;&lt;P&gt;It is not feasible to post the full project here. Any hints on where it could go wrong with this expression.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 14:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1765278#M719471</guid>
      <dc:creator>sqlpuzzle</dc:creator>
      <dc:date>2020-11-30T14:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Count Distinct Ignoring Certain Dimension Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1765322#M719472</link>
      <description>&lt;P&gt;I got your expression to work. My full project had a Calendar Dimension and I had to include the Year, Month, Date from the Calendar and it seems to be fine.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 18:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Count-Distinct-Ignoring-Certain-Dimension-Filters/m-p/1765322#M719472</guid>
      <dc:creator>sqlpuzzle</dc:creator>
      <dc:date>2020-11-30T18:34:24Z</dc:date>
    </item>
  </channel>
</rss>

