<?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 &amp;quot;Sales Running Total&amp;quot;... start date not being adhered to in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341815#M23999</link>
    <description>&lt;P&gt;&amp;nbsp;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Problem:&amp;nbsp;&lt;/STRONG&gt;I am busy learning DAX. I worked through this &lt;A href="https://www.daxpatterns.com/cumulative-total/" target="_self"&gt;Cummulative Total DAX PATTERN&lt;/A&gt; article. Whilst it works fine provided I select the initial date in my dataset... if I select anything later (such as 02/01/2018) the values before this date are still summed up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question:&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;How do I modify this code such that the start date is adhered to?&amp;nbsp;&lt;/STRONG&gt;I attempted to add a second condition Dates[Date]&amp;gt;=FirstVisibleDate in the second argument of Calculate, but that really didn't work as intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 15:57:50 GMT</pubDate>
    <dc:creator>michellepace</dc:creator>
    <dc:date>2020-09-02T15:57:50Z</dc:date>
    <item>
      <title>"Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341815#M23999</link>
      <description>&lt;P&gt;&amp;nbsp;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Problem:&amp;nbsp;&lt;/STRONG&gt;I am busy learning DAX. I worked through this &lt;A href="https://www.daxpatterns.com/cumulative-total/" target="_self"&gt;Cummulative Total DAX PATTERN&lt;/A&gt; article. Whilst it works fine provided I select the initial date in my dataset... if I select anything later (such as 02/01/2018) the values before this date are still summed up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question:&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;How do I modify this code such that the start date is adhered to?&amp;nbsp;&lt;/STRONG&gt;I attempted to add a second condition Dates[Date]&amp;gt;=FirstVisibleDate in the second argument of Calculate, but that really didn't work as intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 15:57:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341815#M23999</guid>
      <dc:creator>michellepace</dc:creator>
      <dc:date>2020-09-02T15:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: "Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341887#M24001</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="133502" data-lia-user-login="michellepace" class="lia-mention lia-mention-user"&gt;michellepace&lt;/a&gt;&amp;nbsp;- Can you post sample data as text so that I can recreate?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 16:16:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341887#M24001</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-02T16:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: "Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341923#M24003</link>
      <description>&lt;P&gt;&lt;FONT color="#808080"&gt;&amp;gt; &lt;SPAN&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;DATE|SALES&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;01/01/2018|60507&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;02/01/2018|69471&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;03/01/2018|100845&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#808080"&gt;&amp;gt; 2.&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#808080"&gt;Expected output from sample data&lt;/FONT&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;&lt;FONT color="#808080"&gt;&amp;gt;&amp;nbsp;3. Explanation in words of how to get from 1. to 2.&lt;/FONT&gt;&lt;BR /&gt;&lt;EM&gt;Whilst it works fine provided I select the initial date in my dataset... if I select anything later (such as 02/01/2018) the values before this date are still summed up.&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 16:30:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341923#M24003</guid>
      <dc:creator>michellepace</dc:creator>
      <dc:date>2020-09-02T16:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: "Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341955#M24005</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="133502" data-lia-user-login="michellepace" class="lia-mention lia-mention-user"&gt;michellepace&lt;/a&gt; , try like &lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(max(Sales[Purchase Date]),filter(date,date[date] &amp;lt;=maxx(date,date[date])))&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Sales[Purchase Date]),filter(allselected(date),date[date] &amp;lt;=maxx(date,date[date])))&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 16:45:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341955#M24005</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-02T16:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: "Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341972#M24007</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, thank you for your reply. I have that solution too. However, I am trying to learn dax. And I am trying to figure out how one could modify the equation given by DAX PATTERNS above such that the cumulative total begins at the minimum selected dated. Any ideas or is ti completely not possible?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 16:48:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1341972#M24007</guid>
      <dc:creator>michellepace</dc:creator>
      <dc:date>2020-09-02T16:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: "Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1342025#M24009</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="133502" data-lia-user-login="michellepace" class="lia-mention lia-mention-user"&gt;michellepace&lt;/a&gt;&amp;nbsp; - just a suggestion, but the pages of the DAX Patterns have a comment section and the authors actively respond to questions specifically for their patterns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 17:13:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1342025#M24009</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2020-09-02T17:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: "Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1342032#M24010</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="133502" data-lia-user-login="michellepace" class="lia-mention lia-mention-user"&gt;michellepace&lt;/a&gt;&amp;nbsp;- The standard Running Total quick measure works great. See attached PBIX, Table (13), Page 13.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SALES running total in DATE = 
CALCULATE(
	SUM('Table (13)'[SALES]),
	FILTER(
		ALLSELECTED('Table (13)'[DATE]),
		ISONORAFTER('Table (13)'[DATE], MAX('Table (13)'[DATE]), DESC)
	)
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 17:14:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1342032#M24010</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-02T17:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: "Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1342183#M24019</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="133502" data-lia-user-login="michellepace" class="lia-mention lia-mention-user"&gt;michellepace&lt;/a&gt;&amp;nbsp;- Also works with separate Calendar table:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SALES running total in Date 2 = 
CALCULATE(
	SUM('Table (13)'[SALES]),
	FILTER(
		ALLSELECTED('Calendar'[Date]),
		ISONORAFTER('Calendar'[Date], MAX('Calendar'[Date]), DESC)
	)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 02 Sep 2020 18:59:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1342183#M24019</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-02T18:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: "Sales Running Total"... start date not being adhered to</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1367492#M24845</link>
      <description>&lt;P&gt;Thank you Greg.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 03:40:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/quot-Sales-Running-Total-quot-start-date-not-being-adhered-to/m-p/1367492#M24845</guid>
      <dc:creator>michellepace</dc:creator>
      <dc:date>2020-09-14T03:40:30Z</dc:date>
    </item>
  </channel>
</rss>

