cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
usman96
Helper II
Helper II

Use filter to exclude Range of Dates

I want to use Filter to exlclude some range of date For example from May 2nd to June 15th 
can anyone how to do this? 

1 ACCEPTED SOLUTION

@usman96 There are many ways to apply filters, whether that is in DAX or using Power BI... As a straightforward approach you can use the Filters section on visual, page or report level and use advanced filtering.

You would select the "is on or before" May 2nd, and "Is on or after" June15th...filter.PNG

 

 

 


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

3 REPLIES 3

@usman96 There are many ways to apply filters, whether that is in DAX or using Power BI... As a straightforward approach you can use the Filters section on visual, page or report level and use advanced filtering.

You would select the "is on or before" May 2nd, and "Is on or after" June15th...filter.PNG

 

 

 


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

but I want to exclude these dates  by using this advanced filter

@usman96 ah, slight correction in the filter, use "and" instead of "or" - that should pull everything before and after those dates, thus, excluding that in between date range.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors