The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I currently have a visual that calculates the YTD and the I use the PREVIOUSYEAR function to calculate the full previous year. Is it possible to calculate the year previous to the previous year i.e. 2 years ago?
This is my Previous year measure -
Solved! Go to Solution.
= CALCULATE([Overall],DATEADD(CalendarTable[Dates],-2,YEAR))
= CALCULATE([Overall],DATEADD(CalendarTable[Dates],-2,YEAR))
User | Count |
---|---|
77 | |
76 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
79 | |
57 | |
48 | |
48 |