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.
I am using the following calculation to get the data for last year, but the values in the table are blank
Any assistance you can provide is appreciated.
Heather
@Heather_W_876 , need little bit of change
Try
MTD LY = CALCULATE(TOTALMTD(SUM('Month_Dataset'[Value]),dateadd('DIM_Date'[Date]),-1, year))
or
MTD LY = CALCULATE(SUM('Month_Dataset'[Value]),SAMEPERIODLASTYEAR('DIM_Date'[Date]))
make sure DIM_Date is marked as date table
Why Time Intelligence Fails - Power bi 5 Savior Steps for TI: https://youtu.be/OBf0rjpp5Hw