Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi! Im struggling with forecasting in Power BI.
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:
(dummy data)
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.
Hi @luismolle ,
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.
List.Accumulate - PowerQuery M | Microsoft Learn
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
13 | |
12 | |
10 | |
7 | |
7 |
User | Count |
---|---|
19 | |
14 | |
11 | |
10 | |
10 |