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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Alberto95
Frequent Visitor

cumulative, Month, budget and Forecast

Hi to everyone, 

i need a huge help about this budget project, i have to show 4 columns in a matrix or table:

the budget is for month not for project. 

 

1. amount for selected month on page filter

2. cumulative amount until selected month on page filter

3. cumulative amount until selected month on page filter (column 2) + bdg for the remaining months (forecast)

4. Total cumulative amount previous year

 

here the structure of the dwh:

 

productions table

skudateid projectqtypricetotal
AB-000101/01/2022220000110550
AB-001501/02/2022220000192.3621,24
AB-005214/06/202222000151001,5150
AB-002121/11/20222200018580,5531,90

 

sales table 

skudateid projectqtypricetotal
AS-000101/05/2022220000710550
AC-001501/07/2022220001192.3621,24
WW-005214/10/202222000881001,5150
ER-002121/12/20222100045580,5531,90

 

production bdg ( for each months) table 

dateyear total qty 

january

20223500
february20224500
march20225000
...  
january20235000

 

sales bdg ( for each months) table 

dateyear total qty 

january

20228000
february20227500
march20226400
...  
january20238100

 

what i expect:

 

 month (selected)cumlativecumulative + forecasatprevius year
production435087509275094500
sales443585609025096500

 

 

thanks in advance to everyone. 

best regards

1 REPLY 1
amitchandak
Super User
Super User

@Alberto95 , with help from a date table

 

Month

MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))

this month = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(ENDOFMONTH('Date'[Date])))

 

Cumulative sales

Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))

 

 

Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s

 

Power BI Offset Compare Categories, Time Intelligence MOM, QOQ, and YOY: https://youtu.be/5YMlkDNGr0U

Power BI Window function Rolling, Cumulative/Running Total, WTD, MTD, QTD, YTD, FYTD: https://youtu.be/nxc_IWl-tTc

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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