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
Anonymous
Not applicable

GET Current vs Last Month values from an aggregated measure.

I have a Credit measure that is calculated like X/Y. And I also have a hierarchy calendar table...

I want to compare The credit measure for this month vs last month dynamically or if not possible with a slicer to choose a month and compare to the previous one

 

Is it possible to accomplish?

 

Thank you in advance!

5 REPLIES 5
PVO3
Impactful Individual
Impactful Individual

Yes there are a number of time intelligence functions. 

You can try something like this.

CALCULATE([Credit measure], PREVIOUSMONTH(date[date])

Anonymous
Not applicable

I'ts returning blank values. 

 

 

PVO3
Impactful Individual
Impactful Individual

Did you select a month?

Anonymous
Not applicable

Yes

PVO3
Impactful Individual
Impactful Individual

It should work when using your date slicer. 

- Do you have a date table?

- Is it marked as a date table?

PVO3_0-1661263294570.png

 

But it's hard to guess, so please send a sample file, screenshots of model & visuals.

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