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

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.

Reply
Anonymous
Not applicable

How to get and display Forecast data

Hello

I have actual data until current month. I have used forecasting pbi tool to project until end of year. 

I want to disply the forecasted value of december but I don't find how to do that.

Do you have a tips on that?

Thanks!

1 ACCEPTED SOLUTION
Kaly
Resolver II
Resolver II

Hi @Anonymous ,

According to your description, the logic of calculating the forecast values is not indicated. I create a sample.

Kaly_0-1660101978122.png

For example you want to take the average of the sales for the previous six months as a forecast value, create a measure:

Forecast =
IF (
    MAX ( 'Table'[Sales] ) = BLANK (),
    CALCULATE (
        AVERAGE ( 'Table'[Sales] ),
        DATESINPERIOD ( 'Table'[Month], MAX ( 'Table'[Month] ), -7, MONTH )
    )
)

Get the correct result.

Kaly_1-1660102565546.png

Best Regards,

Kaly

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

View solution in original post

2 REPLIES 2
Kaly
Resolver II
Resolver II

Hi @Anonymous ,

According to your description, the logic of calculating the forecast values is not indicated. I create a sample.

Kaly_0-1660101978122.png

For example you want to take the average of the sales for the previous six months as a forecast value, create a measure:

Forecast =
IF (
    MAX ( 'Table'[Sales] ) = BLANK (),
    CALCULATE (
        AVERAGE ( 'Table'[Sales] ),
        DATESINPERIOD ( 'Table'[Month], MAX ( 'Table'[Month] ), -7, MONTH )
    )
)

Get the correct result.

Kaly_1-1660102565546.png

Best Regards,

Kaly

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

lbendlin
Super User
Super User

Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?

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.