<?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 chart details in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127761#M918149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="124350" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124350_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom chart expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT {&amp;lt;Year = {"$(='&amp;lt;=' &amp;amp; Max(Year))"}&amp;gt;} Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top chart expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Above(Count(DISTINCT {1} Name), 0, RowNo())) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With no accumulation option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 20:02:13 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-11T20:02:13Z</dc:date>
    <item>
      <title>Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127760#M918148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a bar chart where am counting the number of employees for every year and displaying the cumulative count.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For example: For 2012, I have a cumulative count of 7 which includes employees from its previous years. If I click on the bar at 2012, Is it possible to show the names of all 7 people in the table below instead of employees only to 2012?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Attached is my sample application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127760#M918148</guid>
      <dc:creator>reshmakala</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127761#M918149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="124350" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124350_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom chart expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT {&amp;lt;Year = {"$(='&amp;lt;=' &amp;amp; Max(Year))"}&amp;gt;} Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top chart expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Above(Count(DISTINCT {1} Name), 0, RowNo())) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With no accumulation option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127761#M918149</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127762#M918150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!! That worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127762#M918150</guid>
      <dc:creator>reshmakala</dc:creator>
      <dc:date>2016-05-11T20:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127763#M918151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, I am glad I was able to help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127763#M918151</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T20:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127764#M918152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;In the below expression, what is the significance of &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Avg(1) ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Top chart expression:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=RangeSum(Above(Count(DISTINCT {1} Name), 0, RowNo())) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127764#M918152</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-05-11T20:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127765#M918153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So if you remove Avg(1), you will see that the bar chart will continue to show all the years because of my first expression &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Count(DISTINCT &lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; Name), 0, RowNo())) &lt;/STRONG&gt;where I am telling it not filter on any selections. The reason I do this is because I want it to accumulate which it won't do without the one. But now the issue is, I don't want to see all the years. I just want to see the selected year. So in order to do that, I can multiply by Avg(1). Avg(1) will equal to 0 for all the years not selected and will equal to 1 where selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative to the above expressions would be something like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;=If(Count(Name) &amp;gt; 0, RangeSum(Above(Count(DISTINCT {1} Name), 0, RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was introduced to this technique by my Qlik Hero &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127765#M918153</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T20:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127766#M918154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Superb Sunny..&lt;/P&gt;&lt;P&gt;Or we can say that Avg(1) should read as Avg({$}1) which apply the current selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127766#M918154</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2016-05-11T20:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127767#M918155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, exactly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127767#M918155</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T20:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative chart details</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127768#M918156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant techniques.... I learn a lot from you and Swuehi and please keep up the good work... I always think there is lot to learn...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 20:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-chart-details/m-p/1127768#M918156</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-05-11T20:42:11Z</dc:date>
    </item>
  </channel>
</rss>

