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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
HenryJS
Post Prodigy
Post Prodigy

Relative Date Filtering

Hi all,

 

I have created a new date column as per below.

 

Why can I not use 'Relative Date Filtering'? I would like to only show data in the last 1 week.

 

dax25.PNGdax35.PNG

 

Thanks,

 

Henry

1 ACCEPTED SOLUTION
MartynRamsden
Solution Sage
Solution Sage

Hi @HenryJS 

 

To use Relative Date filtering, your column must be formatted as Date or Date/time.

To check, click on the column and then select 'Column tools' from the menu bar.

 

Under 'Data Type' make sure the format is either Date/time or Date.

 

Capture.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Best regards,

Martyn

 

If I answered your question, please help others by accepting it as a solution.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

In the Model view, check its data type. In case it is text make it as date.

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p...
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
MartynRamsden
Solution Sage
Solution Sage

Hi @HenryJS 

 

To use Relative Date filtering, your column must be formatted as Date or Date/time.

To check, click on the column and then select 'Column tools' from the menu bar.

 

Under 'Data Type' make sure the format is either Date/time or Date.

 

Capture.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Best regards,

Martyn

 

If I answered your question, please help others by accepting it as a solution.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.