<?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 Forecast Last 6 Months using the last forecast in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Forecast-Last-6-Months-using-the-last-forecast/m-p/4007751#M157060</link>
    <description>&lt;P&gt;Hi! Im &lt;SPAN&gt;struggling&amp;nbsp;&lt;/SPAN&gt;with forecasting in Power BI.&lt;BR /&gt;I have a table with dates, Attributes and amounts. My idea is to calculate the amount for the nexts months based on the last 6 values I have. For the next the calc should consider the 5 actual months and the forecast done, for example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;(dummy data)&lt;BR /&gt;&lt;BR /&gt;in this case, april should be the average of the last six months, and May should be the average of last five filled and April that was just calculated.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 21:16:43 GMT</pubDate>
    <dc:creator>luismolle</dc:creator>
    <dc:date>2024-06-24T21:16:43Z</dc:date>
    <item>
      <title>Forecast Last 6 Months using the last forecast</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Forecast-Last-6-Months-using-the-last-forecast/m-p/4007751#M157060</link>
      <description>&lt;P&gt;Hi! Im &lt;SPAN&gt;struggling&amp;nbsp;&lt;/SPAN&gt;with forecasting in Power BI.&lt;BR /&gt;I have a table with dates, Attributes and amounts. My idea is to calculate the amount for the nexts months based on the last 6 values I have. For the next the calc should consider the 5 actual months and the forecast done, for example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;(dummy data)&lt;BR /&gt;&lt;BR /&gt;in this case, april should be the average of the last six months, and May should be the average of last five filled and April that was just calculated.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 21:16:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Forecast-Last-6-Months-using-the-last-forecast/m-p/4007751#M157060</guid>
      <dc:creator>luismolle</dc:creator>
      <dc:date>2024-06-24T21:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Forecast Last 6 Months using the last forecast</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Forecast-Last-6-Months-using-the-last-forecast/m-p/4008201#M157302</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="609485" data-lia-user-login="luismolle" class="lia-mention lia-mention-user"&gt;luismolle&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, this is an iterative calculation. That is, the value of the current row is based on the result of the calculation of the previous row. This cannot be achieved in DAX. It is recommended that you use Power Query M code.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/list-accumulate" target="_blank"&gt;List.Accumulate - PowerQuery M | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 04:42:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Forecast-Last-6-Months-using-the-last-forecast/m-p/4008201#M157302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-25T04:42:22Z</dc:date>
    </item>
  </channel>
</rss>

