Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
KristyP
Helper I
Helper I

Running Forecast based on Actual data

Hi,

 

Been working on this one for a while. I will greaty appreciate some assistance. The data I have is:

  • Two data points - with average monthly usage calculated
  • Usage calculated to 31/12/2023

 

What I require is:

  • Running forecast based on actual usage month to month. Bascially usage to 31/12/2023 plus average monthly usage for every month on an ongoing basis
  • How the data is to be presented is below  - each row is a different serial number

 

KristyP_0-1711348539943.png

 

Please see link for some mock data 

 

https://docs.google.com/spreadsheets/d/1xvNJTyI9NCGBF1A8as9FgcuwBezPH8LI/edit?usp=sharing&ouid=10732...

 

Any assistance is greatly appreciated.

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

In another tab of that file, show the expected result very clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

 

I have updated the file with a second tab. The output needs to include the following columns A, C and N onwards.

Someone else will help you with this.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-kongfanf-msft
Community Support
Community Support

Hi @KristyP ,

 

You can try below formula:

avg_ =
VAR monthdifference =
    DATEDIFF ( UsageData[2022 Read date], UsageData[2023 Read Date], MONTH )
RETURN
    DIVIDE (
        UsageData[2023 Read Date] - UsageData[2022 Read date],
        monthdifference
    )
ForecastedUsage =
VAR MonthsAhead =
    DATEDIFF ( TODAY (), DATE ( 2023, 12, 31 ), MONTH )
RETURN
    'UsageData'[2023 Usage] + ( 'UsageData'[average_] * MonthsAhead )

vkongfanfmsft_0-1711421420484.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.