<?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 counter on a text dimension in a pivot chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/cumulative-counter-on-a-text-dimension-in-a-pivot-chart/m-p/1802350#M65087</link>
    <description>&lt;P&gt;hi, can you try this?:&lt;/P&gt;&lt;P&gt;RangeSum(Above(TOTAL [Team Count]),If(Team=Above(TOTAL Team), 0, 1))&lt;/P&gt;</description>
    <pubDate>Sat, 24 Apr 2021 07:33:29 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2021-04-24T07:33:29Z</dc:date>
    <item>
      <title>cumulative counter on a text dimension in a pivot chart</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-counter-on-a-text-dimension-in-a-pivot-chart/m-p/1802110#M65071</link>
      <description>&lt;P&gt;Good morning Qlikers,&lt;/P&gt;&lt;P&gt;I have a pivot table with several dimensions (which are grouped in the on screen view). Is it possible to dynamically calculate (in an expression)&amp;nbsp; how many different values there are in the dimension in a cumulative way?&lt;/P&gt;&lt;P&gt;To try and make that question clearer my data set would look something like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;Area&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;Team&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#0000FF"&gt;Staff Name&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#800080"&gt;Calc (No Hours)&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;Team Count&lt;/FONT&gt;&lt;/TD&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&lt;TD&gt;Chris&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Items with Blue headers are the dimensions.&lt;/P&gt;&lt;P&gt;Items with Purple headers are expressions.&lt;/P&gt;&lt;P&gt;The column in Red is the count... I can't do this via a mapping table in data load as the pivot changes dependent on filters and I need the count to be dynamic.&lt;/P&gt;&lt;P&gt;I have used cumulative sums previously but don't have a clue if / how that could be applied in this situation.&lt;/P&gt;&lt;P&gt;Any ideas would be welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 10:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-counter-on-a-text-dimension-in-a-pivot-chart/m-p/1802110#M65071</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2021-04-23T10:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative counter on a text dimension in a pivot chart</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-counter-on-a-text-dimension-in-a-pivot-chart/m-p/1802350#M65087</link>
      <description>&lt;P&gt;hi, can you try this?:&lt;/P&gt;&lt;P&gt;RangeSum(Above(TOTAL [Team Count]),If(Team=Above(TOTAL Team), 0, 1))&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 07:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-counter-on-a-text-dimension-in-a-pivot-chart/m-p/1802350#M65087</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-04-24T07:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative counter on a text dimension in a pivot chart</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-counter-on-a-text-dimension-in-a-pivot-chart/m-p/1802725#M65124</link>
      <description>&lt;P&gt;Perfect&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;This does exactly what I needed and adds the cumulative count as an expression.&lt;BR /&gt;&lt;BR /&gt;I have taken it further and referred to this field in my conditional formatting allowing me to add alternate stripes to the table by the Team groupings making my table easier to read!!&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;=if(odd(TeamCount)=0,rgb(242,242,242)&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means I&amp;nbsp;get a table looking like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chrismtb_0-1619445375210.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53718i10D830E2237D2190/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chrismtb_0-1619445375210.png" alt="chrismtb_0-1619445375210.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks once again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 13:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-counter-on-a-text-dimension-in-a-pivot-chart/m-p/1802725#M65124</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2021-04-26T13:57:09Z</dc:date>
    </item>
  </channel>
</rss>

