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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Making a rolling forecast

Hi all,

I'm trying to make a rolling forecast in which you select a month and it gives you an overview of the revenue until that month and the budget until the end of the year. Right now i got this:

Thijnvh_0-1639667989384.png

For the rolling forecast in this example i took the sum of the revenue in month 1 to 6 and for the budget i took the total of the whole year minus the budget in month 1 to 6. But I would like to make a matrix with the month as columns. Right now the slicer makes that impossible as it would hide the months 7 through 12 in the matrix. Is there a way to implement this?

 

Thanks!

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , with help from date table

 

till date

YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))

 

Complete year

This year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR('Date'[Date]),"12/31"))

or

This Year = CALCULATE(sum('Table'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks for your response! These measures won't show month 7 till 12 in a matrix still though right? The slicer makes it that only month 1 to 6 are shown.

Hi @Anonymous ,

 

To remove the slicer affecting you can use eidt interaction.

vchenwuzmsft_0-1640069592963.png

 

Or you can use the some measures with REMOVEFILTERS() to return values without affecting by slicer.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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