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 September 15. Request your voucher.

Reply
83dons
Helper III
Helper III

Date Filter Issue

I have imported several tables from SQL Server database and created a reference table to one of them which I am not filtering as required. I need the date column to only show dates that are TODAY+2 days. Excel and Access etc all allow this to be done but I cant find any option in the date filters on the table to allow me to do this in power BI desktop. I have tried every combination I can see. Can I apply a coding filter somehow to get round this?

 

eg today is 08/05/2022 and I want to only see rows where date column = 10/05/2022 (ie TODAY + 2 days).

 

Or do I need to filter the date on that table when I import it in the first place from SQL Server. I was trying to avoid using a SQL statement to import tables to avoid complexity though.

 

Any help appreciated.

1 ACCEPTED SOLUTION
mahenkj2
Solution Sage
Solution Sage

Hello @83dons ,

You can create a conditional column and use as a filter to remove all non confirming rows or use on the page or visual filters:

mahenkj2_0-1652013245371.png

 

You can add a custom column to check if date column date is today +2 days?:

mahenkj2_1-1652013321845.png

 

I attach a sample file:

 

https://drive.google.com/drive/folders/1AcTszqN1Y7VaAlRjHsmZTN8fftAtIOSG?usp=sharing

 

 

View solution in original post

2 REPLIES 2
mahenkj2
Solution Sage
Solution Sage

Hello @83dons ,

You can create a conditional column and use as a filter to remove all non confirming rows or use on the page or visual filters:

mahenkj2_0-1652013245371.png

 

You can add a custom column to check if date column date is today +2 days?:

mahenkj2_1-1652013321845.png

 

I attach a sample file:

 

https://drive.google.com/drive/folders/1AcTszqN1Y7VaAlRjHsmZTN8fftAtIOSG?usp=sharing

 

 

Thanks that worked.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors