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
shelbsassy
Resolver I
Resolver I

How to exclude starting month from a previous month calculation

My end goal is to try and get the percentage difference between month in claims $.  I finally figured out how to get the Previous Month in my calculated table but I am not sure how to tell it for the January values it should be blank. Can anyone assist?

Thanks in advance.Untitled.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Highly recommend you work on "measures" instead of "calculated columns".

 

Total Paid := SUM('Table'[Paid])

Total Paid - PM := CALCULATE([Total Paid], PREVIOUSMONTH(Dates[Date]))

Paid Growth := DIVIDE([Total Paid] - [Total Paid - PM], [Total Paid - PM])

 

In this way, your calculations will work, even if you start slicing on month groups, carrier groups, geography, etc.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Highly recommend you work on "measures" instead of "calculated columns".

 

Total Paid := SUM('Table'[Paid])

Total Paid - PM := CALCULATE([Total Paid], PREVIOUSMONTH(Dates[Date]))

Paid Growth := DIVIDE([Total Paid] - [Total Paid - PM], [Total Paid - PM])

 

In this way, your calculations will work, even if you start slicing on month groups, carrier groups, geography, etc.

Thank you so much!  Seems I really was trying to make things hard on myself!  Worked perfectly!

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