<?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 Substract from previous row and keep it in same column in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Substract-from-previous-row-and-keep-it-in-same-column/m-p/1753374#M28686</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi I have question how to substract from previous row and input it in current row and for the 1st row we have 1,000,000 as starting value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;</description>
    <pubDate>Tue, 30 Mar 2021 05:11:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-03-30T05:11:20Z</dc:date>
    <item>
      <title>Substract from previous row and keep it in same column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Substract-from-previous-row-and-keep-it-in-same-column/m-p/1753374#M28686</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi I have question how to substract from previous row and input it in current row and for the 1st row we have 1,000,000 as starting value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 05:11:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Substract-from-previous-row-and-keep-it-in-same-column/m-p/1753374#M28686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-30T05:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Substract from previous row and keep it in same column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Substract-from-previous-row-and-keep-it-in-same-column/m-p/1755927#M28701</link>
      <description>&lt;P&gt;Use the List.Accumulate function.&amp;nbsp; You need some sort of an index column that makes each row unique and sortable.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 00:35:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Substract-from-previous-row-and-keep-it-in-same-column/m-p/1755927#M28701</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-31T00:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Substract from previous row and keep it in same column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Substract-from-previous-row-and-keep-it-in-same-column/m-p/1760668#M28748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can create two measures as below to achieve it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FORECAST REDUCER = SUM('Table'[PRODUCTIVITY])*SUM('Table'[PEOPLE])*30&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;FORECAST = 
VAR _tab =
    SUMMARIZE (
        'Table',
        'Table'[DATE],
        "Forecast",
            1000000
                - SUMX (
                    FILTER ( ALL ( 'Table' ), 'Table'[DATE] &amp;lt;= SELECTEDVALUE ( 'Table'[DATE] ) ),
                    [FORECAST REDUCER]
                )
    )
RETURN
    SUMX ( _tab, [Forecast] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 01:13:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Substract-from-previous-row-and-keep-it-in-same-column/m-p/1760668#M28748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-02T01:13:34Z</dc:date>
    </item>
  </channel>
</rss>

