<?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 Accumulated distinct count and sum in one chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12981#M2128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to create a chart with a mix of cumulated values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On one hand I have to sum the cumulated calls per month for specific customer groups (this is already working),&lt;/P&gt;&lt;P&gt;further I have to count the cumulated unique customers with calls for the selected period. --&amp;gt; Like the example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="cummulated count.JPG" class="jive-image image-1" src="/legacyfs/online/199122_cummulated count.JPG" style="width: 620px; height: 148px;" /&gt;&lt;/P&gt;&lt;P&gt;The problem is, that the count of the cumulated customers per Month is not working as whished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this by an expression like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;before&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {1} { &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; MyEpression= {'abc'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt; } &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ColumnNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But the expression is cumulating the unique customers per month and adding this to the previous month value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Due to this the Customers are not unique over the different month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in February I want to know the number of unique customers for January and February&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in March I want to know the number of unique customers for January, February and March...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks and best regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2018 14:52:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-10T14:52:42Z</dc:date>
    <item>
      <title>Accumulated distinct count and sum in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12981#M2128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to create a chart with a mix of cumulated values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On one hand I have to sum the cumulated calls per month for specific customer groups (this is already working),&lt;/P&gt;&lt;P&gt;further I have to count the cumulated unique customers with calls for the selected period. --&amp;gt; Like the example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="cummulated count.JPG" class="jive-image image-1" src="/legacyfs/online/199122_cummulated count.JPG" style="width: 620px; height: 148px;" /&gt;&lt;/P&gt;&lt;P&gt;The problem is, that the count of the cumulated customers per Month is not working as whished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this by an expression like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;before&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {1} { &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; MyEpression= {'abc'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt; } &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ColumnNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But the expression is cumulating the unique customers per month and adding this to the previous month value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Due to this the Customers are not unique over the different month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in February I want to know the number of unique customers for January and February&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in March I want to know the number of unique customers for January, February and March...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks and best regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 14:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12981#M2128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-10T14:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated distinct count and sum in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12982#M2129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the cumulated operation try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangesum(above(count(&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{ &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt; MyEpression= {'abc'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &amp;gt; } &lt;/SPAN&gt;&amp;gt;} 'Your_Field'),0,rowno()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12982#M2129</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-04-10T15:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated distinct count and sum in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12983#M2130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for your response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this is depending from the table design.&lt;/P&gt;&lt;P&gt;In my case I want to cumulate by month and not by row.&lt;/P&gt;&lt;P&gt;Due to this I think "&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; text-decoration: underline;"&gt;&lt;STRONG&gt;before&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {1} { &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; MyEpression= {'abc'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt; } &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; text-decoration: underline;"&gt;&lt;STRONG&gt;ColumnNo&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;" should be ok?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12983#M2130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-10T15:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated distinct count and sum in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12984#M2131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way to address this problem is to use &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12984#M2131</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-10T15:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated distinct count and sum in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12985#M2132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your answer!&lt;/P&gt;&lt;P&gt;I need some time to understand the idea behind the "as of table" but I think I get it now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After implementation of the solution the calculation is now correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-distinct-count-and-sum-in-one-chart/m-p/12985#M2132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T12:55:53Z</dc:date>
    </item>
  </channel>
</rss>

