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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
DJLight890
Helper II
Helper II

DAX Future Forecast Including Full Current Month

Hello! I am trying to display a future forecast cost for all future months including the full current month. Here is the closest I've found thus far:

Future_Forecast =
VAR LastActualsDate =
CALCULATE(
    MAX('IAT All Worker Timesheet Actual'[Date]),
    REMOVEFILTERS()
)
VAR FutureForecast =
    CALCULATE(
        [Forecast_Cost_SUM],
            KEEPFILTERS('Calendar'[Date] > LastActualsDate)
    )
VAR HoursResult = FutureForecast

RETURN
HoursResult
 
I am taking the last date in which there were actual hours or costs and displaying the forecast cost since that date.
However, this means I'm picking up some August actual hours/costs so the full August forecast isn't being shown.
See below for the current table result.
What I want is for the Future_Forecast column to match the current month(August) through end of year. I need this to continue each month too.
 
DJLight890_0-1660326015213.png

 

Any help is appreciated. Please ask any questions if something doesn't make sense. Thank you!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Try this
These two measure will be used for the target calculation
Sale sum = Sum('table'[sale])
Condition =
CALCULATE((Table[sale sum]*(10/100)+Table[Sale Sum]))   
 // You can add percentage of your own choice here it is 10 percent // 

Target value = CALCULATE([Condition],DATEADD(date_dim[Date],-1,YEAR),ALL(date_dim[Date],date_dim[Year],date_dim[Quarters],date_dim[Week No] ))+0




haseebsuhail943_0-1660334528490.png

 

 

 

Result should be like this

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Try this
These two measure will be used for the target calculation
Sale sum = Sum('table'[sale])
Condition =
CALCULATE((Table[sale sum]*(10/100)+Table[Sale Sum]))   
 // You can add percentage of your own choice here it is 10 percent // 

Target value = CALCULATE([Condition],DATEADD(date_dim[Date],-1,YEAR),ALL(date_dim[Date],date_dim[Year],date_dim[Quarters],date_dim[Week No] ))+0




haseebsuhail943_0-1660334528490.png

 

 

 

Result should be like this

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.