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