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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.