Forum Discussion

tameismael's avatar
tameismael
Helper I
4 years ago
Solved

Filter data based on prior year

Hello everyone,

 

In my table I added a new column I inserted the below formula :

 

Prior Year = IF(‘Table1’[Column1].[Date]<TODAY(),'Date Dimension'[PriorYearEndDate].[Year],TODAY().[Year])

 

I tried to implement the above formula in order to filter my data based on prior year but wasn’t successful and when I deleted the year part as highlighted above [Year], it got implemented but it didn’t give the correct results as years instead it gave me the numbers as  the below image in filters section. So as a result I need to see years in the filter section not Numbers. !!

 

 

 

 

2 Replies