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
DW868990
Helper IV
Helper IV

Value 12 Months Ago

Hi, 

 

I need to get a spot value of a measure from 12 months ago, but this needs to be a dynamic calculation.

 

I don't need the rolling/last 12 months cumulative figure, just spot value of the measure from 12 months ago.

 

I have a conventional date table in my model and am struggling with the DAX.

 

Any advice appreciated, thank you.

1 ACCEPTED SOLUTION
DW868990
Helper IV
Helper IV

Thanks all I managed to resolve my using month offsets 🙂

View solution in original post

7 REPLIES 7
Ekapusuz
Regular Visitor

Hi how did you solve it because I'm also trying to do the same but all the formulas in DAX i tried, giving me blank or sum or fixed results..Thanks

DW868990
Helper IV
Helper IV

Thanks all I managed to resolve my using month offsets 🙂

Anonymous
Not applicable

Hi @DW868990 

Can you provide your sample and expected result through a pbix file(remove sensitive info) or a screenshot ? 

 

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Adescrit
Impactful Individual
Impactful Individual

Hi @DW868990 ,

 

12 Months Ago = 
    CALCULATE( [Measure to Calculate], DATEADD( 'Calendar'[Date], -1, YEAR ) )

 

You could try this, but need to replace the [Measure to Calculate] with whatever calculation you're trying to perform - it could be an existing measure or it could be a SUM / AVERAGE over a fact table column. 


Did I answer your question? Mark my post as a solution!
My LinkedIn

Thanks but this returns 12 data points, of the last 12 months, and i am looking for only 1 data point, but 12 months ago. 

Adescrit
Impactful Individual
Impactful Individual

How are you trying to present the data? Is it one data point in a card visual? A matrix of dates with their value from 12 months ago? Or a line chart in which you want to show for each date what the data point was from 12 months prior?


Did I answer your question? Mark my post as a solution!
My LinkedIn

a line shart with the data point of today, and only other data point showing being 12 months ago

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.