<?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: Decreasing Running Total Measure with Date Hierarchy in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313523#M57583</link>
    <description>&lt;P&gt;Another thing I've tried was creating a table with all the years and quarters then doing a Full Outer Merge to give me the null Quarters then remake the measure, which is closer but now it's omitting the empty Quarters even if I select the "Show items with no Data" option in the visual".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Out of ideas.  &lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 16:11:17 GMT</pubDate>
    <dc:creator>moldfield</dc:creator>
    <dc:date>2022-02-01T16:11:17Z</dc:date>
    <item>
      <title>Decreasing Running Total Measure with Date Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313289#M57566</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a running total measure of costs with an end date and the quick measure function with some small changes gives a correct output.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I'd like to represent this in Quarters, however using the date hierarchy to do so runs into a problem as we don't have items expiring in every quarter, so when it hits an empty one it defaults to the max value as shown. This is a particular problem if I filter down into item type as there are many more empty quarters.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; The desired output would be like this, giving the previous Quarter's value if there were no end dates in that Quarter.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Can the dax measure be changed to get this output? The relevant data columns I have are an identfying serial number, asset type, lease start date, lease end date and the quarterly lease cost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: Formula should be SUM, not COUNTA. I've changed this but it does not affect any of the outputs.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 14:55:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313289#M57566</guid>
      <dc:creator>moldfield</dc:creator>
      <dc:date>2022-02-01T14:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Decreasing Running Total Measure with Date Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313372#M57574</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="187073" data-lia-user-login="moldfield" class="lia-mention lia-mention-user"&gt;moldfield&lt;/a&gt; , Try a measure like the example &lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] &amp;gt;=max('Date'[date])))&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 15:14:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313372#M57574</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-01T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Decreasing Running Total Measure with Date Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313408#M57578</link>
      <description>&lt;P&gt;Thank you for the response. The difference between this example (which I think is the default running total measure) and mine is the date column in the all selected and the max instead of min (since I need a decreasing total). Adding the column back in to the filter doesn't look right.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 15:26:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313408#M57578</guid>
      <dc:creator>moldfield</dc:creator>
      <dc:date>2022-02-01T15:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Decreasing Running Total Measure with Date Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313523#M57583</link>
      <description>&lt;P&gt;Another thing I've tried was creating a table with all the years and quarters then doing a Full Outer Merge to give me the null Quarters then remake the measure, which is closer but now it's omitting the empty Quarters even if I select the "Show items with no Data" option in the visual".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Out of ideas.  &lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 16:11:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313523#M57583</guid>
      <dc:creator>moldfield</dc:creator>
      <dc:date>2022-02-01T16:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Decreasing Running Total Measure with Date Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313534#M57584</link>
      <description>&lt;P&gt;Nevermind, used the wrong columns.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; This is what I wanted.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 16:17:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Decreasing-Running-Total-Measure-with-Date-Hierarchy/m-p/2313534#M57584</guid>
      <dc:creator>moldfield</dc:creator>
      <dc:date>2022-02-01T16:17:58Z</dc:date>
    </item>
  </channel>
</rss>

