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
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
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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.