date slicer not

Public Schedule Face-to-Face & Virtual Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Power BI training and help » Date slicer with 'not'

Date slicer with 'not'

resolvedResolved · Medium Priority · Version 365

Date slicer with 'not'

Hello :-)

Is it possible to have a date slicer which would be filtering what's not on that date range?

I have a 'closed date' and I want people to be able to filter all cases / data where 'closed' date was NOT in that range...

Thank you!

RE: Date slicer with 'not'

Hi Grazi,

Thankyou for your question to the forum.

To the best of my knowledge there is no way for a slicer in Power BI to filter visuals outside a selected date range. The only work around I can suggest is using the Filter pane:

1. Create a table with the all the 'closed dates'

2. In the Filter pane under 'Filters on this page' drag the relevant date field into the 'Add data fields here' bucket

Say you wanted to exclude all dates in 2022:

3. Choose 'Advanced filtering' from the filter type drop down and set 'is before' 01/01/2022.

4. Then select the 'Or' radio button and select 'is after' 31/12/2022

5. Hit the 'Apply filter'

I hope this helps in arriving at some kind of solution

Kind regards
Martin Sutherland
(IT Trainer)

RE: Date slicer with 'not'

Thank you Martin.

I'll have a go trying to do it this way. Thanks

 

Training courses

 

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Power BI tip:

Scheduled Refresh and Power BI Service

If you're using Power BI Service, set up scheduled refresh for your datasets. This ensures that your reports are always up-to-date with the latest data. Understand the refresh limits imposed by Power BI Service and optimize your data model and queries to stay within those constraints.

View all Power BI hints and tips


Server loaded in 0.07 secs.