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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Bryanna
Helper II
Helper II

Forcasting Last 90 Days

Hi,

 

We are trying to forecast forward how many cases we will ship based on the Past 90 days excluding weekends and applying a weighted percentage increase based on what time of the month we are in. The first third is a 1.0 multiplier second 1.05, Third 1.12.  

 

Below is a screenshot of the table and the output along with the formula that we are using. Currently the issue is its only looking at the the specific date for the past 90 days but its not accounting for the weekend.

 

Volume Forecast =

VAR

    MonthlyLY = Calculate([Customer Cases Shipped],DATEADD('Calendar Table'[Date],-1,MONTH))

    VAR

        MONTHLY2 = CALCULATE([Customer Cases Shipped],DATEADD('Calendar Table'[Date], -2,MONTH))

        VAR

        MONTHLY3 = CALCULATE([Customer Cases Shipped],DATEADD('Calendar Table'[Date], -3,MONTH))

        RETURN

        DIVIDE(MonthlyLY + MONTHLY2 + MONTHLY3 , 3, 0)

 

Bryanna_0-1680199603273.png

 

3 REPLIES 3
lbendlin
Super User
Super User

 excluding weekends and applying a weighted percentage increase based on what time of the month we are in. 

That is guaranteed to end in tears and frustration. Weeks and months are not compatible. Please explain what a third is for a month like August  with  31 days.

 

And you haven't even mentioned holidays yet.

Hi,

 

The months are broken down by date so < 11, 1 < 22 ,2 and > 22, is 3..if we could take holidays into account as well that would be great but it wasnt brought up in the initial ask. 

 

So youre saying the best way to do a forcast is month to month and not week to week?

no, I would rather do it by working days.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.