I am looking for a DAX formula in PowerPivot that shows last year value when date is previous year.
I have the following data (table) Data
I want to have a new column called "LastYear_Count" that shows values from previous year. For instance: Row Date:2/28/2017 - Branch: North - Count: 8 - LastYear_Count: 5 (since count value for last year 2/28/2016 was 5)