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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ola1996
Helper I
Helper I

Adding values from one month to another

Hello, 

I would like to ask you how I can add values from one month to another in Power BI, frequency is 3 months.

I have data for all months and I want to see some kind of forecast but prepare it manualy. I have revenue and I want to see it in this way:

January 5000$

February 1000$

March 3000$

April =January+data from April (12000$)

May =February+data from May (1000$)

June=March +data form June (12000$)

...

2 REPLIES 2
amitchandak
Super User
Super User

@ola1996 , with help from date table, try like these examples

 

Rolling 4 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX(Sales[Sales Date]),-4,MONTH))
Rolling 4 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-4,MONTH))

 

Rolling 4 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],eomonth(MAX('Date'[Date ]),0),-4,MONTH))

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

It is not working correctly. I need to sum data from first month with data from the third one. 

January 5000$

February 1000$

March 3000$

April =January+data from April (12000$)

May =February+data from May (1000$)

June=March +data form June (12000$)

July = April +data from July 

August =May +data from August 

September = June +data from June 

October  = July + data from October

November = August +data from November 

December = September +data from December

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.

Top Solution Authors