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

View all the Fabric Data Days sessions on demand. View schedule

Reply
aghoang12
New Member

[HELP] How do I calculate the difference from previous month!!

CurrentEndingMembership =
CALCULATE([Net Movement],
FILTER (ALLSELECTED('Effective Dates'[Effective Date]),
ISONORAFTER('Effective Dates'[Effective Date], MAX('Effective Dates'[Effective Date]), DESC)
))

[Net Movement] is a calculated measure

How do I calculate the previous month of CurrentEndingMembership and the difference of CurrentEndingMembership and PreviousMonthEndingMembership

Thank you

1 ACCEPTED SOLUTION
VijayP
Super User
Super User

@aghoang12 
This measure can help ! - 

Previous month = CALCULATE([CurrentEndingMembership],DATEADD(DateDim[Date],-1,MOMTH))
Try this and let me know. you can share your kudos as well!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @aghoang12 

Based on @VijayP 's formula I made a simple sample for reference.

If your problem is solved, please mark his reply as the solution to close this thread, it will help other user who has a similar problem to solve it.

 

Best Regards,
Community Support Team _ Eason

 

VijayP
Super User
Super User

@aghoang12 
This measure can help ! - 

Previous month = CALCULATE([CurrentEndingMembership],DATEADD(DateDim[Date],-1,MOMTH))
Try this and let me know. you can share your kudos as well!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


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.

Top Solution Authors
Top Kudoed Authors