Forum Discussion
Anonymous
3 years agoNot applicable
DAX Expression to return last year's value
I need to create a measure that returns a value for the same month as the current month, except it's last years value. I have a YearMonthSort column in my table 202302 --> The year 2023, Feb 20...
bolfri
Solution Sage
3 years agoIt's works like this because somewere on the page you have a filter on you fact data for column yearmonthsort. Thats why this measure "don't see" any other values from that columns. Do you consider using calendar as it should be? 🙂 You can believe me that working with calendar is SO MUCH EASIER for development.