Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I am looking fot forcasting in the future, however I am getting results in the past.
Jobs Kosten 30D = IF ( ISBLANK( [TotalJobKosten]);
BLANK();
AVERAGEX(
DATESINPERIOD(
Dim_Date[DateKey];
LASTDATE(Dim_Date[DateKey]);
-30;DAY);
[TotalJobKosten]))Jobs Forecast = IF ( ISBLANK( [TotalJobKosten]); CALCULATE([Jobs Kosten 30D]; SAMEPERIODLASTYEAR(Dim_Date[DateKey])
); BLANK())
The result in the chart what I get is:
the dark blue in the past is not what i want
Can anyone help?
Kind regards,
Ezz
Hi @Anonymous ,
As checked the formula of your measure "Jobs Forecast", it will return the data of last year not future... The Forecasting feature is available for the line chart, you can select the related line chart and set the forecast options in "Analytics" pane just like below screen shot.
Forecast
You can refer the contents in following links for more details.
How to forecast sales with Power BI
Best Regards
Rena
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!