<?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 Total in Matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-in-Matrix/m-p/3025565#M156574</link>
    <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently struggling with a running total topic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's assume you have a table with the following columns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;balance_sheet_code,&lt;/P&gt;&lt;P&gt;as_of_date,&lt;/P&gt;&lt;P&gt;accounting_period,&lt;/P&gt;&lt;P&gt;cash_flow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We managed to create a running total on accounting periods (accumulation) IF the "accounting_period" field is on the column in the matrix.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In case we simply put the "as_of_date" on the columns in the matrix and create a slicer to select the "accounting_period", then the accumulation does not work. It simply displays the value for the single accounting_period (non-accumulated) in the matrix.&lt;BR /&gt;&lt;BR /&gt;The goal is that we select i.e. "accounting_period" = "10 days" in the slice and the matrix shows accumulated numbers (of cash_flow)&amp;nbsp; per "as_of_date" in the matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matrix layout is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;balance_sheet_code on the rows, accounting_period on columns, cash_flow in values and as_of_date in slicer --&amp;gt; all good&lt;BR /&gt;balance_sheet_code on the rows, as_of_date on columns, cash_flow in values and accounting_period in slicer --&amp;gt; issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is very much appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 11:21:57 GMT</pubDate>
    <dc:creator>bucsicsm</dc:creator>
    <dc:date>2023-01-17T11:21:57Z</dc:date>
    <item>
      <title>Running Total in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-in-Matrix/m-p/3025565#M156574</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently struggling with a running total topic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's assume you have a table with the following columns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;balance_sheet_code,&lt;/P&gt;&lt;P&gt;as_of_date,&lt;/P&gt;&lt;P&gt;accounting_period,&lt;/P&gt;&lt;P&gt;cash_flow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We managed to create a running total on accounting periods (accumulation) IF the "accounting_period" field is on the column in the matrix.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In case we simply put the "as_of_date" on the columns in the matrix and create a slicer to select the "accounting_period", then the accumulation does not work. It simply displays the value for the single accounting_period (non-accumulated) in the matrix.&lt;BR /&gt;&lt;BR /&gt;The goal is that we select i.e. "accounting_period" = "10 days" in the slice and the matrix shows accumulated numbers (of cash_flow)&amp;nbsp; per "as_of_date" in the matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matrix layout is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;balance_sheet_code on the rows, accounting_period on columns, cash_flow in values and as_of_date in slicer --&amp;gt; all good&lt;BR /&gt;balance_sheet_code on the rows, as_of_date on columns, cash_flow in values and accounting_period in slicer --&amp;gt; issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is very much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 11:21:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Running-Total-in-Matrix/m-p/3025565#M156574</guid>
      <dc:creator>bucsicsm</dc:creator>
      <dc:date>2023-01-17T11:21:57Z</dc:date>
    </item>
  </channel>
</rss>

