Forum Discussion
Value for Last Year
Hi All,
I have a situation where I want to check numbers for last year for my quarter.
By using the below calculation I can calculate data for the last year same date data eg. If today is 31-01-2023, I can check data for last year same date i.e 31-01-2022.
Now I want to check data for my last year which starts from 02-01-2022 to 31-01-23 but same expression is not working for that.
Any help regarding this?
Also I have made a calculated column for SameDay Last Year which is giving me data for last year same day:
Regards,
Himanshu
1 Reply
- amitchandak
Super User
Anonymous , make sure you you are using date table
Year behind Sales = CALCULATE[ACV],dateadd('Date'[Date],-1,Year))
Year behind Sales = CALCULATE([ACV],SAMEPERIODLASTYEAR('Date'[Date]))Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s