<?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 Running Value for each column based on the previous column Value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835804#M184691</link>
    <description>&lt;P&gt;My data source is EXCEL.&amp;nbsp; read the excel data source and create a simple Dashboard in BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test data attached.&amp;nbsp; appreciate your help.&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Sep 2025 22:04:20 GMT</pubDate>
    <dc:creator>komaragiri</dc:creator>
    <dc:date>2025-09-25T22:04:20Z</dc:date>
    <item>
      <title>Running Value for each column based on the previous column Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835804#M184691</link>
      <description>&lt;P&gt;My data source is EXCEL.&amp;nbsp; read the excel data source and create a simple Dashboard in BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test data attached.&amp;nbsp; appreciate your help.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 22:04:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835804#M184691</guid>
      <dc:creator>komaragiri</dc:creator>
      <dc:date>2025-09-25T22:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Running Value for each column based on the previous column Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835826#M184693</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 23:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835826#M184693</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-09-25T23:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Running Value for each column based on the previous column Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835856#M184694</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp; Thank you for ur help.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 01:10:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835856#M184694</guid>
      <dc:creator>komaragiri</dc:creator>
      <dc:date>2025-09-26T01:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Running Value for each column based on the previous column Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835920#M184695</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;Instead of DAX for dailyremaing calc, can I create that column during the Transformation step?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 04:13:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4835920#M184695</guid>
      <dc:creator>komaragiri</dc:creator>
      <dc:date>2025-09-26T04:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Running Value for each column based on the previous column Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4837050#M184724</link>
      <description>&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("TZA7DkMhDATvQo308A9MnxOkRRSvyA1yf8WQ2KHZYpZFA2Okx/1+pZyesALTzCPphf3CgmIImC0r78Koc23Nslt+C4pB6Zblh9kxIxxYHGMrB1bHBHrgkCE5T0MJmfNuAMdCe+PuEPKEdZlmIfXub0Swuwqxq7FTXF0T/414NWasa0cZTGbODw==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t, Column3 = _t]),
    #"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]),
    #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Date", type date}, {"R1", Int64.Type}, {"R2", Int64.Type}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", (k)=&amp;gt; let t = Table.SelectRows(#"Changed Type",each [Date]&amp;lt;=k[Date])
in 
13749 - List.Sum(t[R1]) - List.Sum(t[R2])
,Int64.Type)
in
    #"Added Custom"&lt;/LI-CODE&gt;
&lt;P&gt;How to use this code: Create a new Blank Query. Click on "Advanced Editor". Replace the code in the window with the code provided here. Click "Done". Once you examined the code, replace the entire Source step with your own source.&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>Sat, 27 Sep 2025 20:55:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Value-for-each-column-based-on-the-previous-column-Value/m-p/4837050#M184724</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-09-27T20:55:42Z</dc:date>
    </item>
  </channel>
</rss>

