Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 Name | Current Rating | Rating 12mths prev |
1/1/2020 | ABC | 3 | N/A |
1/1/2021 | ABC | 8 | 3 |
1/1/2022 | ABC | 9 | 8 |
1/1/2023 | ABC | 2 | 9 |
Thanks
Dan
Solved! Go to Solution.
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
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