<?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: Count distinct Cumulative in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981614#M335097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Only({&amp;lt;Quarter_year = , Quarter_Year_Num = &amp;gt;} Quarter_Year_Num) &amp;lt;= Max(TOTAL Quarter_Year_Num),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Quarter_year = , Quarter_Year_Num = &amp;gt;}Aggr(Count({&amp;lt;Quarter_year = , Quarter_Year_Num = &amp;gt;}Customer), Customer)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: Make sure 'Full Accumulation' in checked:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103367_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 16:29:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-10-28T16:29:05Z</dc:date>
    <item>
      <title>Count distinct Cumulative</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981610#M335093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I need some help to resolve a problem to calculate&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; a cumulative count distinct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to calculate how customers I have from the beginning till the last quarter/year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load this data :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 249px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="89"&gt;Quarter_year&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="80"&gt;Customer&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="80"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A5&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2013_Q4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A7&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2014_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2014_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2014_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2014_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2014_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2014_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2014_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A9&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2014_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A10&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I want to have this "result" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 189px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Quarter_year&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Result&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2013_Q1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2013_Q2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2013_Q3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2013_Q4&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2014_Q1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2014_Q2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2013_Q1 : count distinct customer from 2013_Q1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 249px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="89"&gt;uarter_year&lt;/TD&gt;&lt;TD class="xl63" style="border-left-style: none;" width="80"&gt;Customer&lt;/TD&gt;&lt;TD class="xl63" style="border-left-style: none;" width="80"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2013_Q2 : count distinct customer from all customers in&amp;nbsp; ( &lt;SPAN style="font-size: 13.3333px;"&gt;2013_Q1 and &lt;SPAN style="font-size: 13.3333px;"&gt;2013_Q2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 249px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="89"&gt;Quarter_year&lt;/TD&gt;&lt;TD class="xl63" style="border-left-style: none;" width="80"&gt;Customer&lt;/TD&gt;&lt;TD class="xl63" style="border-left-style: none;" width="80"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2014_Q1 : Count distinct customer from all customers in (&lt;SPAN style="font-size: 13.3333px;"&gt;2013_Q1, &lt;SPAN style="font-size: 13.3333px;"&gt;2013_Q2, &lt;SPAN style="font-size: 13.3333px;"&gt;2013_Q3, &lt;SPAN style="font-size: 13.3333px;"&gt;2013_Q4, &lt;SPAN style="font-size: 13.3333px;"&gt;2014_Q1°&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 249px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="89"&gt;Quarter_year&lt;/TD&gt;&lt;TD class="xl63" style="border-left-style: none;" width="80"&gt;Customer&lt;/TD&gt;&lt;TD class="xl63" style="border-left-style: none;" width="80"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q2&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q3&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q3&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A5&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q3&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q4&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q4&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A6&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2013_Q4&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A7&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2014_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2014_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A4&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top-style: none;"&gt;2014_Q1&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none;"&gt;A8&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-style: none; border-left-style: none;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 13:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981610#M335093</guid>
      <dc:creator />
      <dc:date>2015-10-28T13:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct Cumulative</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981611#M335094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if the attached helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(KeepChar(Only({&amp;lt;Quarter_year = &amp;gt;}Quarter_year), '0123456789') &amp;lt;= Max(TOTAL KeepChar(Quarter_year, '0123456789')),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Quarter_year = &amp;gt;}Aggr(Count({&amp;lt;Quarter_year = &amp;gt;}Customer), Customer)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="103350" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103350_Capture.PNG" style="height: 166px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="103351" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/103351_Capture.PNG" style="height: 157px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981611#M335094</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-28T14:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct Cumulative</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981612#M335095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;It works when I use the function "&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;KeepChar(Quarter_year, '0123456789')".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application, I transform quarter year into number like : left(Quarter_year,4)*4+right(Quarter_year,1) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the quarter_year_num&amp;nbsp; let me compare data for différent quarter year.&lt;/P&gt;&lt;P&gt;example :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 201px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Quarter_year&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Quarter_Year_Num&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2013_Q1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;8053&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2013_Q2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;8054&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2013_Q3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;8055&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2013_Q4&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;8056&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2014_Q1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;8057&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;2014_Q2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;8058&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-style: none; border-left-style: none; color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;when I use this expression, it doesn't work :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Quarter_Year_Num &amp;lt;= Max(TOTAL Quarter_Year_Num),&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Quarter_year = &amp;gt;}Aggr(Count({&amp;lt;Quarter_year = &amp;gt;}Customer), Customer)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981612#M335095</guid>
      <dc:creator />
      <dc:date>2015-10-28T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct Cumulative</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981613#M335096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And where are you making selection for quarter? In Quarter_year or Quater_Year_Num list box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981613#M335096</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-28T16:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct Cumulative</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981614#M335097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Only({&amp;lt;Quarter_year = , Quarter_Year_Num = &amp;gt;} Quarter_Year_Num) &amp;lt;= Max(TOTAL Quarter_Year_Num),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Quarter_year = , Quarter_Year_Num = &amp;gt;}Aggr(Count({&amp;lt;Quarter_year = , Quarter_Year_Num = &amp;gt;}Customer), Customer)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: Make sure 'Full Accumulation' in checked:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103367_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981614#M335097</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-28T16:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct Cumulative</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981615#M335098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In quarter year.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981615#M335098</guid>
      <dc:creator />
      <dc:date>2015-10-28T16:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct Cumulative</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981616#M335099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 09:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-Cumulative/m-p/981616#M335099</guid>
      <dc:creator />
      <dc:date>2015-10-29T09:51:22Z</dc:date>
    </item>
  </channel>
</rss>

