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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Cobra77
Post Patron
Post Patron

How calculate forecast on YTD with the last values

Hi ,

how to calculate a kind of forecast based on the last value of the month with data ?

Take for example with this dataset :

 

ytdforecast.jpgytdforecast2.jpg

 

we would like to have this YTD + forecast measure, which recovers the last existing monthly value and adds it up each month, dynamically.

 

thanks for your help

 

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @Cobra77 

 

Please kindly add the calculated column in calendar table:

Monthnum = MONTH([Date])

and then add the measure:

Measure = var a = MAX('Calendar'[Monthnum])-6
Return
IF([Sales YTD]=BLANK(),20*a+[Sales (YTD) basic],[Sales YTD])

3.PNG

Community Support Team _ Dina Ye
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

4 REPLIES 4
Manish0664
New Member

20230103_160253.jpg

20230103_160300.jpg

 how I calculate measure for this????

Need actual 2023 then remaining forecast

v-diye-msft
Community Support
Community Support

Hi @Cobra77 

 

Please kindly add the calculated column in calendar table:

Monthnum = MONTH([Date])

and then add the measure:

Measure = var a = MAX('Calendar'[Monthnum])-6
Return
IF([Sales YTD]=BLANK(),20*a+[Sales (YTD) basic],[Sales YTD])

3.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
v-diye-msft
Community Support
Community Support

Hi @Cobra77 

 

You need to add the index column and create a measure. please kindly share your simple worksheet/dummy pbix, I'll draw it up for you.

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors