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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
D_HL
Frequent Visitor

12 months prior return

Hi All, 

 

May have been answered previously but I'm struggling to locate. I'm trying to create a new measure which will bring what another measure was 12 months ago. Table below, the red column is what I want to acheive. 

 

Date

Customer NameCurrent RatingRating 12mths prev

1/1/2020

ABC 3N/A
1/1/2021ABC83
1/1/2022ABC98
1/1/2023ABC29

 

Thanks

Dan 

1 ACCEPTED SOLUTION
JoeBarry
Solution Sage
Solution Sage

Hi @D_HL 

 

Please try

 

Rating 12 months Previously = CALCULATE(SUM('Table'[Rating]), DATEADD('Table'[Date], -1, YEAR))

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution

View solution in original post

1 REPLY 1
JoeBarry
Solution Sage
Solution Sage

Hi @D_HL 

 

Please try

 

Rating 12 months Previously = CALCULATE(SUM('Table'[Rating]), DATEADD('Table'[Date], -1, YEAR))

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.