<?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 Rolling Totals for the last month  without Date context in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-Totals-for-the-last-month-without-Date-context/m-p/2900376#M94448</link>
    <description>&lt;P&gt;I am trying to get the 12 month&amp;nbsp; Rolling Total Amount to show in a table where I dont have the date in the row context&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have State or city dimention as row context&lt;BR /&gt;I just need the rolling totals for the last month&amp;nbsp; i.e.&amp;nbsp; Nov 2021 to Oct 2022&lt;BR /&gt;&lt;BR /&gt;I need the sum of the total amounts for the last 12 months as one of the columns in the table below (column 6)&amp;nbsp;&lt;BR /&gt;irrespective of whatever date filters / slicers are picked&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;can someone please help with this&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2022 14:04:30 GMT</pubDate>
    <dc:creator>Saurabh129</dc:creator>
    <dc:date>2022-11-11T14:04:30Z</dc:date>
    <item>
      <title>Rolling Totals for the last month  without Date context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-Totals-for-the-last-month-without-Date-context/m-p/2900376#M94448</link>
      <description>&lt;P&gt;I am trying to get the 12 month&amp;nbsp; Rolling Total Amount to show in a table where I dont have the date in the row context&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have State or city dimention as row context&lt;BR /&gt;I just need the rolling totals for the last month&amp;nbsp; i.e.&amp;nbsp; Nov 2021 to Oct 2022&lt;BR /&gt;&lt;BR /&gt;I need the sum of the total amounts for the last 12 months as one of the columns in the table below (column 6)&amp;nbsp;&lt;BR /&gt;irrespective of whatever date filters / slicers are picked&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;can someone please help with this&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 14:04:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-Totals-for-the-last-month-without-Date-context/m-p/2900376#M94448</guid>
      <dc:creator>Saurabh129</dc:creator>
      <dc:date>2022-11-11T14:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Totals for the last month  without Date context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-Totals-for-the-last-month-without-Date-context/m-p/2900614#M94461</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="402184" data-lia-user-login="Saurabh129" class="lia-mention lia-mention-user"&gt;Saurabh129&lt;/a&gt;&amp;nbsp;- I believe that you mean that you want the previous 12 months of sales based on Today date.&amp;nbsp; Do you have a calendar table?&amp;nbsp; If so the following should work:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Rolling Last 12 Month Sales Amount =
VAR _EndDate = EOMONTH( TODAY(), -1)
RETURN
CALCULATE (
    [Sales Amount],
    DATESINPERIOD (
        'Date'[Date],
        _EndDate,
        -1,
        YEAR
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Nov 2022 16:28:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-Totals-for-the-last-month-without-Date-context/m-p/2900614#M94461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-11T16:28:48Z</dc:date>
    </item>
  </channel>
</rss>

