<?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 Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824110#M1213824</link>
    <description>&lt;P&gt;Hi VK&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;Tried it, while the expression says its ok there is no problem, I do get a result of 0 for the current month and for the 2 months ago just returns the total sum all months, not cumulative for the month which is 2 months ago.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Date={"&amp;gt;=$(=num(monthstart(max([Effective Date]),-2))) &amp;lt;=$(=num(monthend(max([Effective Date]),-2)))"}&amp;gt;}TOTAL_CASH)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2021 10:54:56 GMT</pubDate>
    <dc:creator>Chloe19</dc:creator>
    <dc:date>2021-07-23T10:54:56Z</dc:date>
    <item>
      <title>Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824041#M1213820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me with the formula for cumulative but only for:&lt;/P&gt;&lt;P&gt;Cumulative for &lt;FONT color="#FF0000"&gt;THIS MONTH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;then separate formula for:&lt;/P&gt;&lt;P&gt;Cumulative for &lt;FONT color="#FF0000"&gt;LAST MONTH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;then separate formula for:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Cumulative for &lt;FONT color="#FF0000"&gt;2 MONTHS AGO&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I have a variable already summed up $(vSUM_OF_X) and a date field [Effective Date].&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 04:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824041#M1213820</guid>
      <dc:creator>Chloe19</dc:creator>
      <dc:date>2021-07-23T04:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824054#M1213822</link>
      <description>&lt;P&gt;Hi Cloe,&lt;/P&gt;&lt;P&gt;You can achieve this by using set expression. Try the below expressions-&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;This Month&lt;/STRONG&gt;-&lt;BR /&gt;sum({$&amp;lt;Date={"&amp;gt;=$(=num(monthstart(max(Date)))) &amp;lt;=$(=num(monthend(max(Date))))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;Last Month&lt;/STRONG&gt; -&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Date={"&amp;gt;=$(=num(monthstart(max(Date),-1))) &amp;lt;=$(=num(monthend(max(&lt;STRONG&gt;Date&lt;/STRONG&gt;),-1)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;2nd Last Month&lt;/STRONG&gt; -&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Date={"&amp;gt;=$(=num(monthstart(max(Date),-2))) &amp;lt;=$(=num(monthend(max(Date),-2)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:-&lt;/STRONG&gt; Use your date dimensions and Measures. like- For Date, use&amp;nbsp;&lt;SPAN&gt;[Effective Date]..etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VK&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 05:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824054#M1213822</guid>
      <dc:creator>Vikash</dc:creator>
      <dc:date>2021-07-23T05:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824110#M1213824</link>
      <description>&lt;P&gt;Hi VK&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;Tried it, while the expression says its ok there is no problem, I do get a result of 0 for the current month and for the 2 months ago just returns the total sum all months, not cumulative for the month which is 2 months ago.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Date={"&amp;gt;=$(=num(monthstart(max([Effective Date]),-2))) &amp;lt;=$(=num(monthend(max([Effective Date]),-2)))"}&amp;gt;}TOTAL_CASH)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 10:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824110#M1213824</guid>
      <dc:creator>Chloe19</dc:creator>
      <dc:date>2021-07-23T10:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824352#M1213846</link>
      <description>&lt;P&gt;Hi Cloe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to check the date value from your date field. Check below -&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({$&amp;lt;&lt;STRONG&gt;[Effective Date]&lt;/STRONG&gt;={"&amp;gt;=$(=num(monthstart(max([Effective Date]),-2))) &amp;lt;=$(=num(monthend(max([Effective Date]),-2)))"}&amp;gt;}TOTAL_CASH)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Try the above expression, I think it should work now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VK&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jul 2021 10:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824352#M1213846</guid>
      <dc:creator>Vikash</dc:creator>
      <dc:date>2021-07-25T10:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824397#M1213850</link>
      <description>&lt;P&gt;Hi VK&lt;/P&gt;&lt;P&gt;Ah I see I missed the date replacement there, however still the same issue, still get 0&lt;/P&gt;&lt;P&gt;Chloe&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 04:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824397#M1213850</guid>
      <dc:creator>Chloe19</dc:creator>
      <dc:date>2021-07-26T04:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824399#M1213851</link>
      <description>&lt;P&gt;Hi Cloe,&lt;/P&gt;&lt;P&gt;The same expression works for me. There must be some Date type of issue.&lt;/P&gt;&lt;P&gt;Could you please let me know the format of your&amp;nbsp;&lt;STRONG&gt;[Effective Date] &lt;/STRONG&gt;field?&lt;/P&gt;&lt;P&gt;VK&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 05:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824399#M1213851</guid>
      <dc:creator>Vikash</dc:creator>
      <dc:date>2021-07-26T05:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824402#M1213852</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The filed is DD/MM/YYYY&lt;/P&gt;&lt;P&gt;What I am trying to do is this formula from POWER BI:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cummulative Cash = CALCULATE([Total Cash],FILTER(ALLSELECTED('Date'),'Date'[Date] &amp;lt;= MAX('Date'[Date]))) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So the result would look like the attached screenshot out of POWER BI&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Chloe&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 05:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824402#M1213852</guid>
      <dc:creator>Chloe19</dc:creator>
      <dc:date>2021-07-26T05:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824412#M1213854</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Means it takes the previous months values too. Ex; if I select Feb month means it shows the cumulative sum of Jan+Feb. Similarly for Mar = JanFebMar. Here in this calculation right now I using Order Date but I want to calculate the same formula based on Fiscal month .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.krogerfeed.net/" target="_self"&gt;&lt;SPAN&gt;Kroger Feed&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 03:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824412#M1213854</guid>
      <dc:creator>Radford85</dc:creator>
      <dc:date>2021-07-27T03:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Month</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824429#M1213856</link>
      <description>&lt;P&gt;So the below works for cumulative&amp;nbsp;&lt;/P&gt;&lt;P&gt;=RangeSum(Above(TOTAL Sum(TOTAL_CASH), 0, RowNo(TOTAL)))&lt;/P&gt;&lt;P&gt;However am trying to write a cumulative for previous month and month before that.&lt;/P&gt;&lt;P&gt;So then no matter what month I filter on it will take into account the previous month and the month before that.&lt;/P&gt;&lt;P&gt;Example in&amp;nbsp; the attached, even though I filtered date to be FEB only, I still have the cumulative for the previous 2 months.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 07:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Month/m-p/1824429#M1213856</guid>
      <dc:creator>Chloe19</dc:creator>
      <dc:date>2021-07-26T07:29:42Z</dc:date>
    </item>
  </channel>
</rss>

