<?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 Values Going beyond Current Date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Values-Going-beyond-Current-Date/m-p/2510859#M69642</link>
    <description>&lt;P&gt;Add a new column to your date table like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Current month or before = 'Date'[Date] &amp;lt;= EOMONTH(TODAY(),0)&lt;/LI-CODE&gt;&lt;P&gt;then wrap the code for your measure inside&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF( SELECTEDVALUE( 'Date'[Current month or before], existing code here )&lt;/LI-CODE&gt;&lt;P&gt;that will return blank for future dates&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 14:29:35 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2022-05-12T14:29:35Z</dc:date>
    <item>
      <title>Cumulative Values Going beyond Current Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Values-Going-beyond-Current-Date/m-p/2510689#M69632</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for some help on the following Dax Formula&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Im looking for the "Cumulative Actuals to date" values to stop at 30-April-22 and not repeat to the end of the calander&lt;/P&gt;&lt;P&gt;The Dax formula I used is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cumulative Actuals to Date = &lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Calender[Date]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;Calender[Date]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Calender[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;[Total of Craft and Staff Cost]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I know it has to do with the &amp;lt;=Max Calander date but cant wrap my head around it....&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help would be appreciated&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 May 2022 13:16:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Values-Going-beyond-Current-Date/m-p/2510689#M69632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-12T13:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Values Going beyond Current Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Values-Going-beyond-Current-Date/m-p/2510859#M69642</link>
      <description>&lt;P&gt;Add a new column to your date table like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Current month or before = 'Date'[Date] &amp;lt;= EOMONTH(TODAY(),0)&lt;/LI-CODE&gt;&lt;P&gt;then wrap the code for your measure inside&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF( SELECTEDVALUE( 'Date'[Current month or before], existing code here )&lt;/LI-CODE&gt;&lt;P&gt;that will return blank for future dates&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 14:29:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Values-Going-beyond-Current-Date/m-p/2510859#M69642</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-05-12T14:29:35Z</dc:date>
    </item>
  </channel>
</rss>

