Forum Discussion

doubi1899's avatar
doubi1899
Regular Visitor
2 years ago

Year on Year Calculation

For first column I use following formula to calculate the current month total revenue. It did work.

 

Current = TOTALMTD([total revenue],'IOSalesRecordbyCustomer'[Date])

 

And second column I want to calculate the total revenue of same month of last year.  By the way , I already create a datesheet by using Dates = CALENDAR("2022/01/01", "2024/06/01").

 

YOY = CALCULATE(sum(IOSalesRecordbyCustomer[Total Revenue]),PARALLELPERIOD('Dates'[Date],-1,MONTH))

 

But I am so confused that why shows the same number ( the exact number - the total revenue of current month)

https://drive.google.com/file/d/10wx09SN3fd5oceYe4PvKxadHZCsITUw4/view?usp=drive_link 

 

 
 

3 Replies