<?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: QlikSense Saas - Cumulative YTD without using RangeSum &amp;amp; Above in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikSense-Saas-Cumulative-YTD-without-using-RangeSum-amp-Above/m-p/1970540#M80069</link>
    <description>&lt;P&gt;&lt;SPAN&gt;try this in cumulative column&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;RangeSum(Above(sum(Amount),0,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2022 05:31:02 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2022-08-19T05:31:02Z</dc:date>
    <item>
      <title>QlikSense Saas - Cumulative YTD without using RangeSum &amp; Above</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Saas-Cumulative-YTD-without-using-RangeSum-amp-Above/m-p/1970402#M80063</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to create the Measure below&amp;nbsp;&lt;EM&gt;Cumulative&amp;nbsp;&lt;/EM&gt;that is basically a cumulative YTD calculation applied to the &lt;EM&gt;Amount&amp;nbsp;&lt;/EM&gt;column (&lt;EM&gt;Amount = Count(ORDER_ID)&lt;/EM&gt;).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That print screen was taken from the desktop app, that natively integrates a cumulative option within the graph components. That's not an option in my context where I need to use the Saas version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik screenshot.png" style="width: 465px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87015i518E5864BB22BD6C/image-dimensions/465x455?v=v2" width="465" height="455" role="button" title="Qlik screenshot.png" alt="Qlik screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've seen many articles in the community that suggest to use a combination of &lt;EM&gt;rangesum&lt;/EM&gt; and &lt;EM&gt;above&lt;/EM&gt; but I'm trying to avoid that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coming from the Power BI world, I was used to calculate it with a&amp;nbsp;&lt;EM&gt;Calculate(Count(ORDER_ID), ALL(Date), DatesYTD(Date), Date&amp;lt;= max(Date)).&amp;nbsp;&lt;/EM&gt;The &lt;EM&gt;All()&lt;/EM&gt; removes all context filtering to the measure, and we then filter according to what we need, applying a set varibale &lt;EM&gt;max(Date)&lt;/EM&gt;, to ensure a cumulative calculation of the amount month to month.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't found yet a good equivalent of the&amp;nbsp;&lt;I&gt;All()&amp;nbsp;&lt;/I&gt;Power BI&amp;nbsp;function that actually removes the context filtering in a pivot table/graph (here the breakdown by the month dimension), to allow us a to then apply a different filtering for instance in our case on a cumulative YTD basis.&lt;/P&gt;
&lt;P&gt;I've tried something with total() in my set analysis, see below, but it's not working:&lt;/P&gt;
&lt;P&gt;Count ( Distinct total&amp;lt; [Date.autoCalendar.Year], Date&amp;gt; ${&amp;lt;RECORD_TYPE = {'Declared Transactions'}, Date &amp;gt;=${"=YearStart(MAX(Date))"}, Date&amp;lt;=${"=MAX(Date)"} &amp;gt;} ORDER_ID )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which gives that result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MikaelFriederich_0-1660844781015.png" style="width: 808px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87023i281DDFABACDFA20A/image-dimensions/808x200?v=v2" width="808" height="200" role="button" title="MikaelFriederich_0-1660844781015.png" alt="MikaelFriederich_0-1660844781015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any hints here?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Saas-Cumulative-YTD-without-using-RangeSum-amp-Above/m-p/1970402#M80063</guid>
      <dc:creator>MikaelFriederich</dc:creator>
      <dc:date>2022-08-18T17:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Saas - Cumulative YTD without using RangeSum &amp; Above</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Saas-Cumulative-YTD-without-using-RangeSum-amp-Above/m-p/1970540#M80069</link>
      <description>&lt;P&gt;&lt;SPAN&gt;try this in cumulative column&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;RangeSum(Above(sum(Amount),0,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 05:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Saas-Cumulative-YTD-without-using-RangeSum-amp-Above/m-p/1970540#M80069</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2022-08-19T05:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Saas - Cumulative YTD without using RangeSum &amp; Above</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Saas-Cumulative-YTD-without-using-RangeSum-amp-Above/m-p/1970786#M80095</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/69020"&gt;@zlam&lt;/a&gt;&amp;nbsp;, that works but I'm trying to avoid that method that is dependent on how you sort your table.&lt;/P&gt;
&lt;P&gt;I'd rather remove the Month dimension filtering, and recalculate my cumulative YTD value month to month.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 14:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Saas-Cumulative-YTD-without-using-RangeSum-amp-Above/m-p/1970786#M80095</guid>
      <dc:creator>MikaelFriederich</dc:creator>
      <dc:date>2022-08-19T14:14:29Z</dc:date>
    </item>
  </channel>
</rss>

