- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Calculating predicted values by averaging previous months of Available Data
Hello,
I have consumption data from 2017 to Aug. 2023 in Consumptio_Cost table and Calendar Table, and an already calculated measure for Electric predicted values. It is calculating the average of previous months.
The ELE Predicted values is calculating, September 2023 value = (Sep. 2022 + Sep2021 + Sep 2020 + Sep 2019 + Sep2018) / 5
and so on..
If I choose the FY to be FY2025, then Sep2024 value will take = (Sep 2023 + Sep2022 + Sep2021+Sep2020+Sep19 ) / 5 , but Sep 2023 value is equal to 0 because it is missing, so the forecast will be wrong as shown in this image.
I want it get the value by dividing by the last 5 years of only Available data.
So, Sep2024 will be = (Sep2022 + Sep2021+ Sep2020+Sep19 ) / 4.
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
04-09-2024 07:53 AM | |||
Anonymous
| 06-02-2023 12:14 AM | ||
05-28-2024 03:59 AM | |||
03-28-2024 10:17 PM | |||
04-10-2024 07:15 AM |