<?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: Calculated column that adds itself and other column in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778722#M86887</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;Pretty certain this is recursive at this point which means you won't be able to solve this with DAX. It is recursive because of your minimums and maximums. You have to compute a value at a point in time and then maintain that value. I'll give it some more thought but you are pretty much stuck with having to know your "previous value" from a calculation and once you are there, it's pretty much recursion and I've tried everything in the world to solve that problem and have never been able to. Note that Cthulhu is not recursive because you are actually just checking if something has changed from one state to another, defining the reset point and performing the calculation. Your case is not that.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 21:12:53 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2022-09-19T21:12:53Z</dc:date>
    <item>
      <title>Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2775974#M86677</link>
      <description>&lt;P&gt;Hi! I think this is pretty easy but i cant get through it by myself. I'm showing in Excel what i want to do in DAX. I need to create the calculated column A2 that, for the actual row adds its previous value and the actual value of A1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 17:31:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2775974#M86677</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-18T17:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2775986#M86679</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;You need an index or date column in order to define "previous".&amp;nbsp;See my article on Mean Time Between Failure (MTBF) which uses EARLIER: &lt;A href="http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/339586" target="_blank"&gt;http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/339586&lt;/A&gt;.&lt;BR /&gt;The basic pattern is:&lt;BR /&gt;Column =&amp;nbsp;&lt;BR /&gt;&amp;nbsp; VAR __Current = [Value]&lt;BR /&gt;&amp;nbsp; VAR __PreviousDate = MAXX(FILTER('Table','Table'[Date] &amp;lt; EARLIER('Table'[Date])),[Date])&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; VAR __Previous = MAXX(FILTER('Table',[Date]=__PreviousDate),[Value])&lt;BR /&gt;RETURN&lt;BR /&gt;&amp;nbsp; __Current - __Previous&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 17:59:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2775986#M86679</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-09-18T17:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776017#M86680</link>
      <description>&lt;P&gt;Hi! I tried to implement your solution but it doesnt work for me as the Excel formula I showed before. This is the result of doing what you told me to:&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 18:17:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776017#M86680</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-18T18:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776269#M86689</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;Looking at this closer, since you want this to be a running total I guess, you will need to get rid of the MAXX for your __Previous variable (so, you will just have the FILTER statement) In the FILTER statement, make the = a &amp;lt;. Then, in your Return, make it __Current + SUMX(__Previous, [Value]).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution you implemented adds the current row to the previous row only. This new version will add the current row to all of the previous rows.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 01:53:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776269#M86689</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-09-19T01:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776395#M86697</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please use&lt;/P&gt;
&lt;P&gt;Column =&lt;BR /&gt;VAR CurrentIndex = Test1[Index]&lt;BR /&gt;VAR T1 =&lt;BR /&gt;FILTER ( Test1, Test1[Index] &amp;lt;= CurrentIndex )&lt;BR /&gt;RETURN&lt;BR /&gt;SUMX ( T1, Test1[Value] )&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 03:03:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776395#M86697</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-19T03:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776545#M86705</link>
      <description>&lt;P&gt;Hi! The issue with this solution is that I don't want to sum all the previous rows, just the previous one, as it appears in the excel screenshot I shared before&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 05:50:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776545#M86705</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-19T05:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776863#M86714</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;And the previous one is the sum of its previous one and so on. You need to think outside the box. Check the sample file&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;A2 = 
VAR CurrentIndex = Test1[Index]
VAR T1 =
    FILTER ( Test1, Test1[Index] &amp;lt;= CurrentIndex )
RETURN
    SUMX ( T1, Test1[A1] )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 Sep 2022 07:39:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2776863#M86714</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-19T07:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777012#M86717</link>
      <description>&lt;P&gt;Hi, you are right, that should be the correct solution. The thing is that i had another restrictions that i forgot to mention. I'll show again what i need to implement with an excel formula screenshot:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;As you can see i have restrictions at 0 and 7500 so I cant simply add all the previous rows because it should kind of "reset" when the sum its lower than zero.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 08:28:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777012#M86717</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-19T08:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777153#M86722</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reset is very complex. Let me see what can I do&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 09:23:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777153#M86722</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-19T09:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777202#M86728</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;How many times the +ve to -ve to +ve cycle can reapeat?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 09:35:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777202#M86728</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-19T09:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777356#M86744</link>
      <description>&lt;P&gt;I don't understand. It's always changing from positive to negative. It should be as that excel formula but I know it isn't easy&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 10:18:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777356#M86744</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-19T10:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777382#M86746</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Then propably there is no DAX solution for this. You need to try other tools.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 10:28:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777382#M86746</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-19T10:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777409#M86750</link>
      <description>&lt;P&gt;Is it not possible to replicate that excel formula in DAX then?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 10:56:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777409#M86750</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-19T10:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777457#M86755</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, not possible&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 11:23:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777457#M86755</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-19T11:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777484#M86762</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;You will need a resetting calculation with criteria in this case. The solution for a resetting calculation with criteria is Cthulhu. &lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Cthulhu/m-p/509739#M211" target="_blank"&gt;Cthulhu - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 11:36:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777484#M86762</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-09-19T11:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777534#M86767</link>
      <description>&lt;P&gt;Okay, got it, thank you nevertheless. Do you think it would be possible to do it in Power Query? Because i might be able to do this calculations in powwer query instead of calculated columns&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 11:53:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2777534#M86767</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-19T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778101#M86814</link>
      <description>&lt;P&gt;I see how this could help me but i cant figure out how to use criteria in my own case, as i only have positive or negative values, not categories&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;</description>
      <pubDate>Mon, 19 Sep 2022 15:31:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778101#M86814</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-19T15:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778169#M86822</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;If you provide your sample data as text in a table, I'll see what I can put together. Always fun revisiting Cthulhu. There is also Bride of Cthulhu which might also provide some guidance.&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Bride-of-Cthulhu/m-p/2086709#M774" target="_blank"&gt;(2) Bride of Cthulhu! - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 15:56:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778169#M86822</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-09-19T15:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778206#M86826</link>
      <description>&lt;P&gt;Than you in advance, i dont know how i could export the data so i just pasted it here. Let me know if you need it in a different way! (This is a sample of the data, jus 50 rows)&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;Index Value&lt;BR /&gt;1 -954,411075901891&lt;BR /&gt;2 -2500&lt;BR /&gt;3 -2500&lt;BR /&gt;4 -2500&lt;BR /&gt;5 -2500&lt;BR /&gt;6 -2500&lt;BR /&gt;7 -2500&lt;BR /&gt;8 -2500&lt;BR /&gt;9 -2500&lt;BR /&gt;10 0&lt;BR /&gt;11 1292,62496353546&lt;BR /&gt;12 2500&lt;BR /&gt;13 2500&lt;BR /&gt;14 2500&lt;BR /&gt;15 2500&lt;BR /&gt;16 2500&lt;BR /&gt;17 2500&lt;BR /&gt;18 -1271,39435593431&lt;BR /&gt;19 -2500&lt;BR /&gt;20 -1922,67192230658&lt;BR /&gt;21 -738,409771717168&lt;BR /&gt;22 0&lt;BR /&gt;23 0&lt;BR /&gt;24 0&lt;BR /&gt;25 0&lt;BR /&gt;26 0&lt;BR /&gt;27 -143,049757979741&lt;BR /&gt;28 -397,091991513815&lt;BR /&gt;29 -431,30682926693&lt;BR /&gt;30 -120,203415804044&lt;BR /&gt;31 -364,388685324651&lt;BR /&gt;32 -308,09400236181&lt;BR /&gt;33 0&lt;BR /&gt;34 0&lt;BR /&gt;35 2500&lt;BR /&gt;36 2500&lt;BR /&gt;37 2500&lt;BR /&gt;38 2500&lt;BR /&gt;39 2500&lt;BR /&gt;40 2500&lt;BR /&gt;41 2500&lt;BR /&gt;42 -969,057069732473&lt;BR /&gt;43 -2500&lt;BR /&gt;44 -1907,42730128896&lt;BR /&gt;45 0&lt;BR /&gt;46 0&lt;BR /&gt;47 611,378249537367&lt;BR /&gt;48 320,513151761163&lt;BR /&gt;49 -776,089147254734&lt;BR /&gt;50 -2500&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 16:11:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778206#M86826</guid>
      <dc:creator>NachoSnchzCOYS</dc:creator>
      <dc:date>2022-09-19T16:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated column that adds itself and other column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778252#M86834</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443652" data-lia-user-login="NachoSnchzCOYS" class="lia-mention lia-mention-user"&gt;NachoSnchzCOYS&lt;/a&gt;&amp;nbsp;OK, give this a shot:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
    VAR __Value = [Value]
    VAR __Index = [Index]
RETURN
    IF( __Value &amp;lt;= 0,
        0,
            VAR __MaxIndex = MAXX(FILTER('Table',[Value] &amp;lt;= 0 &amp;amp;&amp;amp; [Index] &amp;lt; __Index),[Index]) + 1
            VAR __Sum = SUMX(FILTER('Table',[Index] &amp;lt;= __Index &amp;amp;&amp;amp; [Index] &amp;gt;= __MaxIndex),[Value])
        RETURN
            IF(__Sum &amp;gt;= 7500, 7500, __Sum)
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 Sep 2022 16:28:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-that-adds-itself-and-other-column-in-DAX/m-p/2778252#M86834</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-09-19T16:28:16Z</dc:date>
    </item>
  </channel>
</rss>

