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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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