Skip to main content

Power BI

Needs Votes

Expand Relative date filtering options with 'not in' function

Vote (127) Share
Paul de Graaf's profile image

Paul de Graaf on 03 May 2019 17:21:28

Relative Date filtering is now available for all options regarding 'in'. In current Year, last Year, Month etc.

But wouldn't it be handy to also include 'not in' functions to the Relative date filtering.

Example: I'm Currently building a report for stock with long shelf life.
Currently I have it set up with a relative date filter for all stock which has been delivered in the last 5 Years, and then filter out all deliveries with dates between 2017 and 2019.

With Relative date 'not in' filtering it would be more dynamic as it could exclude dates within the last 2 years.

Comments (7)
Paul de Graaf's profile image Profile Picture

Albert Lukan on 07 Mar 2024 18:44:25

RE: Expand Relative date filtering options with 'not in' function

This is a very necessary function. Upvoting.

Paul de Graaf's profile image Profile Picture

Carlyle Atkinson on 20 Feb 2024 13:04:19

RE: Expand Relative date filtering options with 'not in' function

Simply adding a filter option for "is NOT in the last" would allow us to use two filters to target almost any date window easily. Want to see employees hired in the last 12 months but not those within their 3 month probationary period? Simply apply two relative date filters, 12 months inclusive and 3 months exclusive, it would be so easy. This would make it a breeze to apply these kinds of filters to reports using bookmarks rather than having to hack together an additional column or using DAX, which makes it more complicated to maintain.

Paul de Graaf's profile image Profile Picture

Jesse Litton on 04 Nov 2023 14:02:58

RE: Expand Relative date filtering options with 'not in' function

I'm new to Power BI and I ran into this hassle the very first report I tried creating; this would seem to be a very common problem. I'm making a simple report to show service accounts that haven't had their password changed in the last year, but I don't want to include accounts created in the last 6 months. It's not intuitive that it would be so easy to include only records in a relative range but not do the opposite. I'm sure a bunch of beginners google around to find this feature request the same as I did.

Paul de Graaf's profile image Profile Picture

Cory Cook on 22 Jun 2023 06:02:35

RE: Expand Relative date filtering options with 'not in' function

It would be very useful to have a relative date filter that looks at NOT in X {Insert period}Side note @Christopher - I use a relative date filter looking at last X calendar months and ensure the filter interacts with the date slicer above it as well as all the data.End result is that it ignores the current month, looking only to the end of the previous month. ie, Rolling 18: 1/12/2021 to 31/05/2023 as of the 22/06/2023Unfortunate you can tag people here..

Paul de Graaf's profile image Profile Picture

Marc Rohde on 18 Jan 2022 17:04:13

RE: Expand Relative date filtering options with 'not in' function

I came here to vote on this. Again today I was looking to do a filter for records that were older than 90 days old and was reminded again I needed to do a calculated field to accomplish this.Is not in the last 90 days would have been a great option and would save the need for dev time for a pretty basic user request.

Paul de Graaf's profile image Profile Picture

Christopher Thoms on 08 Dec 2021 15:40:42

RE: Expand Relative date filtering options with 'not in' function

And I have situations where the current month is not fully coded so presenting current month's data is misleading. Would love a relative date filter to show "not in the this month" or similar.

Paul de Graaf's profile image Profile Picture

Josh Halverson on 23 Jun 2021 18:46:49

RE: Expand Relative date filtering options with 'not in' function

I have a similar issue, good idea!