<?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: need help modifying this cumulative dax formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/699798#M769</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109262" data-lia-user-login="Gwhiz" class="lia-mention lia-mention-user"&gt;Gwhiz&lt;/a&gt; you should use less than equal to instead of greater than equal to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Opportunity[CreatedDate].[date]&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;/FONT&gt;=MAX(Opportunity[CreatedDate].[date])&lt;/PRE&gt;</description>
    <pubDate>Sat, 25 May 2019 13:18:44 GMT</pubDate>
    <dc:creator>parry2k</dc:creator>
    <dc:date>2019-05-25T13:18:44Z</dc:date>
    <item>
      <title>need help modifying this cumulative dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/698601#M746</link>
      <description>&lt;P&gt;I am having trouble getting this formula to reset every month as it doesn't go to 0 but when I have it reset each year it works fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Business cumulative = 
SUMX(
    FILTER(
        ALLSELECTED(Opportunity[CreatedDate].[date]),
        Opportunity[CreatedDate].[date]&amp;lt;=MAX(Opportunity[CreatedDate].[date])
        &amp;amp;&amp;amp; MONTH(Opportunity[CreatedDate].[date])= month(max(Opportunity[CreatedDate].[date]))
        )
        ,[business days]
    )&lt;/PRE&gt;&lt;P&gt;If I literally just change out "month" for "year" in this formula it works for a yearly cumulative but it never works on the month level. Here is what happens when I try the formula above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I changed the formula around so now it resets every month but it gives me a descending cumulative sum?&lt;/P&gt;&lt;PRE&gt;Business cumulative = 
SUMX(
    FILTER(
        ALLSELECTED(Opportunity[CreatedDate].[date]),
        Opportunity[CreatedDate].[date]&amp;gt;=MAX(Opportunity[CreatedDate].[date])
        &amp;amp;&amp;amp; month(Opportunity[CreatedDate].[date])= month(max(Opportunity[CreatedDate].[date]))
        )
        ,[business days]
    )&lt;/PRE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 17:20:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/698601#M746</guid>
      <dc:creator>Gwhiz</dc:creator>
      <dc:date>2019-05-23T17:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: need help modifying this cumulative dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/699798#M769</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109262" data-lia-user-login="Gwhiz" class="lia-mention lia-mention-user"&gt;Gwhiz&lt;/a&gt; you should use less than equal to instead of greater than equal to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Opportunity[CreatedDate].[date]&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;/FONT&gt;=MAX(Opportunity[CreatedDate].[date])&lt;/PRE&gt;</description>
      <pubDate>Sat, 25 May 2019 13:18:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/699798#M769</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2019-05-25T13:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: need help modifying this cumulative dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/701585#M824</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507" data-lia-user-login="parry2k" class="lia-mention lia-mention-user"&gt;parry2k&lt;/a&gt;&amp;nbsp;I used that in the first formula in my post and you can see that the sum does not reset every month that way.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 15:54:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/701585#M824</guid>
      <dc:creator>Gwhiz</dc:creator>
      <dc:date>2019-05-28T15:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: need help modifying this cumulative dax formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/701668#M833</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507" data-lia-user-login="parry2k" class="lia-mention lia-mention-user"&gt;parry2k&lt;/a&gt;&amp;nbsp;here is a replica of the pbix&amp;nbsp;&lt;A href="https://www.dropbox.com/s/ay6uqsw4e1ocdpe/cumulative%20business%20days.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/ay6uqsw4e1ocdpe/cumulative%20business%20days.pbix?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of the dates got cut off but 2015 is a good year to look at.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 18:33:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-modifying-this-cumulative-dax-formula/m-p/701668#M833</guid>
      <dc:creator>Gwhiz</dc:creator>
      <dc:date>2019-05-28T18:33:24Z</dc:date>
    </item>
  </channel>
</rss>

