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 September 15. Request your voucher.

Reply
Anonymous
Not applicable

calculation between two report

Hi, 

 

I have a volume report used for months. Now we face a problem that we need to re-calculate the number of last year Dec and this year Jan. 

 

We prepared another report with volume amount and date column. Like below. 

AmountDate
1001/1/2020
2001/2/2020
2001/1/2019
... 

 

I want to minus the amounts of the year/month of (date) from the current report. And then append these amount to previous month. Usually , it only happen for Jan every year. For example,  If the current report have 1000 (Volumes) for Jan 2020 , then we need to minus 300 from 1000 and append 300 to Dec last year. 

 

Do anyone have any idea how to do this? 

 

Thanks!

2 REPLIES 2
AllisonKennedy
Super User
Super User

@Anonymous
I don't fully understand your problem yet.
Where does your second report come from? How is the data source different or similar to the first report? What do the data source look like in their raw format?

What do you want to do with the 200 amount from Feb 2020 in the second report in your sample you have posted?

Do you always add to December of previous year, or just to previous month?

So for the example above, would we need to take the 200 from Feb 2020 and move that to Jan 2020? to Dec 2020? Or leave in Feb 2020?

Let us know some more info and we can offer up ideas.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Anonymous
Not applicable

@AllisonKennedy , 

 

The first report is the full report of volume including all years amounts. The second report which is only including the amount of Jan every year , is for adjustment to move the amounts from Jan to last year Dec. The second report data format is as below. 

 

AmountDate
100Jan/1/2020
200Jan/2/2020
200Jan/1/2019
... 

 

For example , we have 300 in Jan 2020 and 200 in Jan 2019 . I want to move 300 to Dec 2019 and 200 to Dec 2018 of first report. 

 

Thank you for your kindly help 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors