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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to calculate MOM without Dates?

I have monthly aggregated table and I want to do month over month calcualtions. How can I achieve that?

I have a date table linked to YearMonth but it is not helping.

I have to pull aggregated data on Month level otherwise the data size becomes too big.

 

PS: I have other category columns also so there are multiple rows with same YearMonth.

 

Thanks for helping

 

YearMonthValueMOM%
20190115 
2019021713%
20190312-29%
2019041417%
2019051614%
2019061813%
2019072011%
2019082210%
20190921-5%
20191019-10%
20191116-16%
2019122025%
2020012210%
2020022514%v
3 REPLIES 3
camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

if you have a date table it is easier using PREVIOUSMONTH function. However, you can do it with this measure:

MOM % = 
VAR _currentMonth = SELECTEDVALUE('Table'[YearMonth])
VAR _previousMonth = CALCULATE(MAX('Table'[YearMonth]), FILTER(ALL('Table'), 'Table'[YearMonth] < _currentMonth))
VAR _previousValue = CALCULATE(SUM('Table'[Value]), FILTER(ALL('Table'), 'Table'[YearMonth] = _previousMonth))
VAR _currentValue = SUM('Table'[Value])
RETURN
    DIVIDE(_currentValue - _previousValue, _previousValue)

 

Capture.PNG



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

You need to have a calendar Table.

 

1.jpg

 

 

Sales Amount = SUMX ( Sales, Sales[Quantity] * Sales[Net Price] )
 
Sales LM =  CALCULATE([Sales Amount],DATEADD('Date'[Date],-1,MONTH))
 
MOM Growth = DIVIDE(Sales[Sales LM],Sales[Sales Amount])
 
Regards,
Harsh Nathani
 
 

 

Anonymous
Not applicable

I have but it is not working this way.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.