Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
23 | |
21 | |
20 | |
13 | |
12 |
User | Count |
---|---|
41 | |
32 | |
23 | |
23 | |
22 |