<?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: RunningTotal to stop at max Date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2536606#M71306</link>
    <description>&lt;P&gt;Thank you for the reply, I have created that measure it did say we can't use it on the report so how can it be used to fitler the graph? Do I drag it to filters because it won't let me add it to values.&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 14:29:47 GMT</pubDate>
    <dc:creator>Callmeadel</dc:creator>
    <dc:date>2022-05-24T14:29:47Z</dc:date>
    <item>
      <title>RunningTotal to stop at max Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2534413#M71182</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just wondering what can of dax formula can I use to show the max date of my line&lt;/P&gt;&lt;P&gt;the orange line is Actual transaction amount and blue line is the Estimated amount problem is I dont want the orange line to keep going the max date should be may.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 21:43:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2534413#M71182</guid>
      <dc:creator>Callmeadel</dc:creator>
      <dc:date>2022-05-23T21:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: RunningTotal to stop at max Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2534479#M71189</link>
      <description>&lt;P&gt;Here it is how to do what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Navigate to this page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.daxpatterns.com/standard-time-related-calculations/" target="_blank"&gt;Standard time-related calculations – DAX Patterns&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and then to this header:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Controlling the visualization in future dates&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This shows exactly how to deal with such issues.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 23:01:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2534479#M71189</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-05-23T23:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: RunningTotal to stop at max Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2536606#M71306</link>
      <description>&lt;P&gt;Thank you for the reply, I have created that measure it did say we can't use it on the report so how can it be used to fitler the graph? Do I drag it to filters because it won't let me add it to values.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 14:29:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2536606#M71306</guid>
      <dc:creator>Callmeadel</dc:creator>
      <dc:date>2022-05-24T14:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: RunningTotal to stop at max Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2536692#M71316</link>
      <description>&lt;P&gt;They wanted me to use it in a column and then use a slicer that makes sense, but my table doesnt have any data after may so everything is returning True which still keeps the line &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 14:59:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2536692#M71316</guid>
      <dc:creator>Callmeadel</dc:creator>
      <dc:date>2022-05-24T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: RunningTotal to stop at max Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2540524#M71545</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393149" data-lia-user-login="Callmeadel" class="lia-mention lia-mention-user"&gt;Callmeadel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try the following methods.&lt;/P&gt;
&lt;P&gt;Measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RunningTotal =
IF (
    MONTH ( SELECTEDVALUE ( 'Table'[Date] ) ) &amp;lt;= MONTH ( TODAY () ),
    CALCULATE (
        SUM ( 'Table'[Actual transaction] ),
        FILTER ( ALL ( 'Table' ), [Date] &amp;lt;= SELECTEDVALUE ( 'Table'[Date] ) )
    ),
    BLANK ()
)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 05:41:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2540524#M71545</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2022-05-26T05:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: RunningTotal to stop at max Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2541627#M71602</link>
      <description>&lt;P&gt;Thank you zhangti, I will test your method out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a method I used and worked great&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ActivateDates = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;maxActiveDates&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TR-Combined'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;minactivedates&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;MIN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TR-Combined'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;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t;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'TR-Combined'[Spent]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;all&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DateCombined[Date]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DateCombined[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;DateCombined[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 May 2022 14:14:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RunningTotal-to-stop-at-max-Date/m-p/2541627#M71602</guid>
      <dc:creator>Callmeadel</dc:creator>
      <dc:date>2022-05-26T14:14:40Z</dc:date>
    </item>
  </channel>
</rss>

