<?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 Total  , no dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706851#M82102</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426650" data-lia-user-login="UrAvgWally" class="lia-mention lia-mention-user"&gt;UrAvgWally&lt;/a&gt;&amp;nbsp;Right, one of the reasons I prefix my variables with __ to avoid conflicts like that. Tough to troubleshoot in forums without access to the PBIX or sample data to build the model myself. The theory behind the forumla is that you get the current period as variable Pno so PeriodicTable[PeriodNo] should be used in the X-Axis. You then use that to get all periods equal or less than that period. You can use CONCATENATEX to view the items in that table. Then you filter your unrelated table UnpivotCP for only the rows where the period is in your list of current and previous periods (Periods variable). Perhaps you have a relationship that is messing this up? If so, you could use ALL to get around this like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VAR Table1 = FILTER(ALL(UnpivotCP),[PeriodMFMA] IN Periods)&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 17 Aug 2022 13:36:46 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2022-08-17T13:36:46Z</dc:date>
    <item>
      <title>Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2703925#M81939</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to turn this line chart into a cumulative chart :&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data Source looks like this , the X axis is the period Column&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Y Axis is based on these values :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Is it possible to cumulative add the Totals so my line chart can show case the cumulative totals rather than value for each period?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also note, I have a slicer which looks at funder and see which department it belongs to. And so the graph changes to data for each department .&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated :)!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 16:32:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2703925#M81939</guid>
      <dc:creator>UrAvgWally</dc:creator>
      <dc:date>2022-08-16T16:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2703946#M81942</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426650" data-lia-user-login="UrAvgWally" class="lia-mention lia-mention-user"&gt;UrAvgWally&lt;/a&gt;&amp;nbsp;Hard to be specific since the data was incomplete without the department and posted as images versus copyable text. But, in general you are going to need to break context in your measure like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __PNo = MAX('XTable'[PeriodNo])
  VAR __Periods = SELECTCOLUMNS(FILTER(ALL('XTable'),[PeriodNo] &amp;lt;= __PNo,"__PeriodMFMA",[PeriodMFMA])
  VAR __Table = FILTER('YTable',[PeriodMFMA] IN __Periods)
RETURN
  SUMX(__Table,[Value])
  &lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 16 Aug 2022 16:41:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2703946#M81942</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-16T16:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704005#M81952</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, thanks for getting back to me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is more snippets of data which I didnt show earlier :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So the established relationships are&amp;nbsp; between UnpivotCP[PeriodMFMA] and PeriodTable[PeriodMFMA] and RSKCL[Funder] and UnpivotCP[Funder].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Hopes to use "Period" in Y axis instead of PeriodMFMA and Use RSKCL[Function] as Slicer due to the relationships with Funder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that makes sense, any elaborations , please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the below measure from what you sent, but I am guessing I made some mistakes typing it..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;PNo&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&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t;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Value]&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;Thank you for your help again.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Aug 2022 17:06:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704005#M81952</guid>
      <dc:creator>UrAvgWally</dc:creator>
      <dc:date>2022-08-16T17:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704090#M81956</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426650" data-lia-user-login="UrAvgWally" class="lia-mention lia-mention-user"&gt;UrAvgWally&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Periods&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SELECTCOLUMNS&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;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;PeriodicTable&lt;/SPAN&gt;&lt;SPAN&gt;[PeriodNo])&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;lt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PNo)&lt;/SPAN&gt;&lt;SPAN&gt;,"__PeriodMFMA",&lt;/SPAN&gt;&lt;SPAN&gt;PeriodicTable&lt;/SPAN&gt;&lt;SPAN&gt;[PeriodMFMA]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 17:58:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704090#M81956</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-16T17:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704124#M81957</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&amp;nbsp; Thanks for getting back to me, unfortunately I am unfortunately still getting a syntax error !&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;PNo&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;PeriodicTable&lt;/SPAN&gt;&lt;SPAN&gt;[PeriodNo]&lt;/SPAN&gt;&lt;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t;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;Table&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Value]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 18:14:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704124#M81957</guid>
      <dc:creator>UrAvgWally</dc:creator>
      <dc:date>2022-08-16T18:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704142#M81960</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426650" data-lia-user-login="UrAvgWally" class="lia-mention lia-mention-user"&gt;UrAvgWally&lt;/a&gt;&amp;nbsp;Ah, try this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Periods&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SELECTCOLUMNS&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;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;PeriodicTable),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[PeriodNo])&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;lt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PNo)&lt;/SPAN&gt;&lt;SPAN&gt;,"__PeriodMFMA",&lt;/SPAN&gt;&lt;SPAN&gt;PeriodicTable&lt;/SPAN&gt;&lt;SPAN&gt;[PeriodMFMA]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 18:25:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704142#M81960</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-16T18:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704533#M81978</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Hiya! Still not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; .&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;PNo&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;PeriodicTable&lt;/SPAN&gt;&lt;SPAN&gt;[PeriodNo]&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;Periods&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;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AN&gt;&lt;SPAN&gt;[Value]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Aug 2022 21:53:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2704533#M81978</guid>
      <dc:creator>UrAvgWally</dc:creator>
      <dc:date>2022-08-16T21:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706750#M82093</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426650" data-lia-user-login="UrAvgWally" class="lia-mention lia-mention-user"&gt;UrAvgWally&lt;/a&gt;&amp;nbsp;Yeah, there is a stray ) in there:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR PNo = MAX(PeriodicTable[PeriodNo])
VAR Periods = 
  SELECTCOLUMNS(
    FILTER(
      ALL(PeriodicTable), 
      [PeriodNo] &amp;lt;= PNo
    ),
    "__PeriodMFMA",
    PeriodicTable[PeriodMFMA]
  )
VAR Table = FILTER(UnpivotCP,[PeriodMFMA] IN Periods)
RETURN
SUMX( Table,[Value])&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Aug 2022 13:11:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706750#M82093</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-17T13:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706822#M82099</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The syntax error has been fixed, it gave an error saying Table is reserved so changed it to Table1, not sure if that is the right thing to do? But to add to that, it is still showing me on the graph, the sum by period rather than cumulative Sum in the graph not sure if it because I changed to Table1?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 13:27:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706822#M82099</guid>
      <dc:creator>UrAvgWally</dc:creator>
      <dc:date>2022-08-17T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706851#M82102</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426650" data-lia-user-login="UrAvgWally" class="lia-mention lia-mention-user"&gt;UrAvgWally&lt;/a&gt;&amp;nbsp;Right, one of the reasons I prefix my variables with __ to avoid conflicts like that. Tough to troubleshoot in forums without access to the PBIX or sample data to build the model myself. The theory behind the forumla is that you get the current period as variable Pno so PeriodicTable[PeriodNo] should be used in the X-Axis. You then use that to get all periods equal or less than that period. You can use CONCATENATEX to view the items in that table. Then you filter your unrelated table UnpivotCP for only the rows where the period is in your list of current and previous periods (Periods variable). Perhaps you have a relationship that is messing this up? If so, you could use ALL to get around this like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VAR Table1 = FILTER(ALL(UnpivotCP),[PeriodMFMA] IN Periods)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Aug 2022 13:36:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706851#M82102</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-17T13:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706890#M82104</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Awesome! The code fixed the issue and is now showing cumulative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although my slicer for different functions not working for that.I ideally want to be able to Slice by function , is there a way to enable that? As per above I use RSKCL[Function] as a slicer, which has a relation to the Funder column.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 13:45:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2706890#M82104</guid>
      <dc:creator>UrAvgWally</dc:creator>
      <dc:date>2022-08-17T13:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2707035#M82115</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426650" data-lia-user-login="UrAvgWally" class="lia-mention lia-mention-user"&gt;UrAvgWally&lt;/a&gt;&amp;nbsp;You will want to use ALLEXCEPT instead of ALL in that case. Basically ignore all of the context except for the context you specify.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 14:25:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2707035#M82115</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-17T14:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2707103#M82119</link>
      <description>&lt;P&gt;Alright, thanks . Thank you for being patient with me. Will start reading the book on Dax over the weekend to learn, it is arriving tommorow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Allexcept is having syntax error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 14:47:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2707103#M82119</guid>
      <dc:creator>UrAvgWally</dc:creator>
      <dc:date>2022-08-17T14:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total  , no dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2707648#M82159</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426650" data-lia-user-login="UrAvgWally" class="lia-mention lia-mention-user"&gt;UrAvgWally&lt;/a&gt;&amp;nbsp;ALLEXCEPT takes additional parameters. So something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VAR Table1 = FILTER(ALLEXCEPT(UnpivotCP, 'UnpivotCP'[Function]),[PeriodMFMA] IN Periods)&lt;/LI-CODE&gt;
&lt;P&gt;So that code would ignore all context other than context created by a Function column in your UnpivotCP table for example.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 18:24:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-no-dates/m-p/2707648#M82159</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-17T18:24:04Z</dc:date>
    </item>
  </channel>
</rss>

