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

Reply
yagorsrocha
Regular Visitor

Help with DAX - MoM% - Compare with last month that presents data

Good morning,

I have a problem, I cannot perform a month-over-month comparison using the last month that presents data. Like, June over February, etc.

I need to perform MoM% separately for each item.
Ps: My months are in Portuguese. lol

 

yagorsrocha_0-1627482966365.png

 

And the fields are:

yagorsrocha_2-1627483308009.png

 

 

1 REPLY 1
lbendlin
Super User
Super User

Divide your problem into smaller steps.

 

- for each row find the item id and the month

- in the entire table find the row for the same item that has the maximum month value smaller than the current month

- get the monetary value for that row

- do your MoM calculation.

 

This is best done with variables, and frequent debug checks to make sure the intermediate steps return the right result.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.