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 ,
how to calculate a kind of forecast based on the last value of the month with data ?
Take for example with this dataset :
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
Solved! Go to Solution.
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])
how I calculate measure for this????
Need actual 2023 then remaining forecast
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])
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.
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!