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
mterry
Helper V
Helper V

Custom Date Filters

I'm trying to figure out the best way to add a custom date filter. I'm looking at certain number counts by day, but there are some particular days I want to omit from the visualizations and the calculations. I have a spreadsheet that includes all of the dates I want to omit (with reasons). It would work doing this with DAX or in query editor. I know using a slicer is an option, but doesn't seem to be the best option for this. 

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@mterry

 

Currently, it's not possible to make a Relative Date Slicer, which is based on a custom filtered Date list. The build-in date slicer can only be based on a full calendar.

 

For your requirement, you may try to use Power Query to conver the date into a number. Then apply a TOP N filter to get expected results. I can't find a more "friendly" way to achieve it. 

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@mterry

 

Currently, it's not possible to make a Relative Date Slicer, which is based on a custom filtered Date list. The build-in date slicer can only be based on a full calendar.

 

For your requirement, you may try to use Power Query to conver the date into a number. Then apply a TOP N filter to get expected results. I can't find a more "friendly" way to achieve it. 

 

Regards,

Okay - maybe I'll just try to remove all applicable dates in the query editor

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.