Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PrivateAnalytic
Helper IV
Helper IV

DAX Formula to remove dates from before the previous year...

Good morning all!

 

I am reaching out to figure out the perfect DAX formula to help filter out dates from more than 365 days ago.

 

I was able to filter out days past today's by using the following formula 

Less than Today =
IF('DateDim'[Date] < TODAY(), "Yes", "No")
 
However the report I am working with only wants values from the last year. Is there a formula I can use to filter out dates from my slicer from the last 365 days?
1 ACCEPTED SOLUTION
PrivateAnalytic
Helper IV
Helper IV

I am also completely forgetting about applying a filter to display dates only within the last 365 days. So this is fixed

View solution in original post

1 REPLY 1
PrivateAnalytic
Helper IV
Helper IV

I am also completely forgetting about applying a filter to display dates only within the last 365 days. So this is fixed

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.