Forum Discussion
Prior Year dax
YuliyaMusiyuk , couple of reason can be .
Calendar is not marked as date tbale. option on right click.
you are not using period columns from Calendar table
Why Time Intelligence Fails - Power bi 5 Savior Steps for TI: https://youtu.be/OBf0rjpp5Hw
- YuliyaMusiyuk5 years agoRegular Visitor
thank you very much! my Calendar is a date table, i just double checked on that.
Could you elaborate on the 2d? my data goes by day, therefore i figured i'd need to grab Calendar[Date]...
- amitchandak5 years ago
Super User
YuliyaMusiyuk , If you take, day, month, year, or any period that should come from date table in visual
Also try this one
calculate(sum([Amount]),datesmtd(DATEADD('Calendar'[Date],-1,YEAR)))
- YuliyaMusiyuk5 years agoRegular Visitor
Thank you! i tried that too, it is just not reading it.... I have a slicer for month and year; tried removing it, putting back - same story: my current and prior numbers match 😞