<?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 Total - displaying only the last 12 months. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122271#M8501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data comes through fine for the Y Axis, but on the dimension's/x axis, its showing all the historical months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. the Y-Axis is still showing months (with 0 value) from 2015, and then only begins properly populating the data from &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210471_Screenshot.png" style="height: 346px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I'm using &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[CreatedDate.autoCalendar.YearMonth]&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; as my dimension, and if i change it to &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[CreatedDate.autoCalendar.Month] &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the values aren't right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FYI - i'm sorting by max(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[CreatedDate.autoCalendar.YearMonth]&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;Thanks again Sunny, really great help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2018 00:26:48 GMT</pubDate>
    <dc:creator>chientan</dc:creator>
    <dc:date>2018-08-10T00:26:48Z</dc:date>
    <item>
      <title>Cumulative Total - displaying only the last 12 months.</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122269#M8499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to calculate a cumulative total, which counts the total number of courses created since the "beginning", but want to only display the last 12 months on a bar graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noting however, I don't want a running 12 month total, but the accumulative total since the first course was created.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;=rangesum(above(TOTAL Count({&amp;lt;[CreatedDate.autoCalendar.Date]=, &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;[CreatedDate.autoCalendar.Month]=,[CreatedDate.autoCalendar.Year]=,[CreatedDate.autoCalendar.YearMonth]={"&amp;gt;=$(=addMonths(max([CreatedDate.autoCalendar.Date]),-12)) &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;lt;= $(=addmonths(max([CreatedDate.autoCalendar.Date])))"}&amp;gt;}[Name]),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While this displays the last 12 months, which is what i want,&amp;nbsp; it only shows the accumulative total of the last 12 months as well; as opposed to the total overall courses created up until that time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. August-2017 starts from a 0 base, as opposed to a base of 4352.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the data attached. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 07:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122269#M8499</guid>
      <dc:creator>chientan</dc:creator>
      <dc:date>2018-08-09T07:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total - displaying only the last 12 months.</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122270#M8500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Above(TOTAL Count({&amp;lt;[CreatedDate.autoCalendar.Date], [CreatedDate.autoCalendar.Month], [CreatedDate.autoCalendar.Year], [CreatedDate.autoCalendar.YearMonth]&amp;gt;} [Name]), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt;[CreatedDate.autoCalendar.YearMonth] = {"&amp;gt;=$(=AddMonths(Max([CreatedDate.autoCalendar.Date]), -12))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12.8px; font-family: arial, sans-serif; color: #222222;"&gt;&lt;STRONG&gt;&amp;lt;=$(=AddMonths(Max([CreatedDate.autoCalendar.Date])))"}&amp;gt;} 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122270#M8500</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-09T17:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total - displaying only the last 12 months.</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122271#M8501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data comes through fine for the Y Axis, but on the dimension's/x axis, its showing all the historical months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. the Y-Axis is still showing months (with 0 value) from 2015, and then only begins properly populating the data from &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210471_Screenshot.png" style="height: 346px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I'm using &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[CreatedDate.autoCalendar.YearMonth]&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; as my dimension, and if i change it to &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[CreatedDate.autoCalendar.Month] &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the values aren't right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FYI - i'm sorting by max(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[CreatedDate.autoCalendar.YearMonth]&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;Thanks again Sunny, really great help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 00:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122271#M8501</guid>
      <dc:creator>chientan</dc:creator>
      <dc:date>2018-08-10T00:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total - displaying only the last 12 months.</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122272#M8502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try to uncheck 'Include Zero Values' under Add-ons-&amp;gt; Data Handling to remove month with 0 value...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you want to use Month as a dimension instead of YearMonth? Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(TOTAL Count({&amp;lt;[CreatedDate.autoCalendar.Date], [CreatedDate.autoCalendar.Month], [CreatedDate.autoCalendar.Year], [CreatedDate.autoCalendar.YearMonth]&amp;gt;} [Name]), 0, RowNo())), ([CreatedDate.autoCalendar.YearMonth], (NUMERIC)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 15:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122272#M8502</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-10T15:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total - displaying only the last 12 months.</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122273#M8503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just out of curiosity, what is Numeric?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 04:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122273#M8503</guid>
      <dc:creator>chientan</dc:creator>
      <dc:date>2018-08-15T04:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total - displaying only the last 12 months.</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122274#M8504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 14:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Total-displaying-only-the-last-12-months/m-p/122274#M8504</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-15T14:58:03Z</dc:date>
    </item>
  </channel>
</rss>

