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 August 31st. Request your voucher.

Reply
theferret
Frequent Visitor

Odd filter behaviour on a column in data view

I am struggling to understand why the date filter on one of my columns is producing odd results

 

For some reason I can add photos so this may not make sense

 

My date filter is on or after 16/7/22 and on or before 17/7/22 gives me a single line dated 16/7  implying there is not data for 16/7.  If I widen my filter to on or after 15/7 I get 2 results for 16th. So seems the on or after is actually being treated as after??

 

If i try equals 17/7 I get nothing so again equal seems to be after not on???

 

If instead of using the data filters I use the list of dates and check 17/7 I get a single row as expected

 

So basically the date filters seem to have gotten broken. Same on any other date field anywhere in this model. Actually I tried another model and same issue.  is this a new bug in power BI as sure this didnt used to happen? Dont think it can be my data as 2 completely different data sources. 

 

Thanks

Mike

 

 

 

 

 

1 ACCEPTED SOLUTION

Well just updated my version of powerbi and it is now working normally. How strange. Thanks for trying to help

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

I also had this issue - I was using the latest vertion of Power Bi (September 2022). However after i uninstalled and reinstalled the bug was fixed. 

PaulDBrown
Community Champion
Community Champion

I just tested the filter and it seems to work

is.png

 

on or after.png

Might be a silly question, but is the date set to type date? 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






sorry this is in the data view not on the report view. Works fine in the visuals, but not when filtering the underlying data table.  Yes they are formatted as dates.  i dont know why I can add a photo to the forum

You can add a photo using the icon:

photo.png

Also works in data view

data view.png





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Wont let me click done after  I select the photo

 

so if you do equals 4/1/22 you get a result?

So I did what you did with a new pbix and created a small table and works fine, but not in any of my models

 

i tried 28/2 wondering if it was something t odo with UTC time as I'm in the UK but same issue.  These are all datetime fields, but one modelis coming form MS Dynmaics and the other is from an excel spreadhseet.  Fields are formatted as dates in Power Query.

 

i tried loading one of the excel sheets up in anew model formatting one field as a date and does exactly the same thing.  Attached is a cut down version with just 2 columns with the pbix

 

excel 

 

pbix 

 

If I filter this for a data i can see I get nothing. ???

Equals 4/01/2022

equals.png

 

equals 4.png

 

(As regards the photo, it could be due to wrong file type or size)

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Well just updated my version of powerbi and it is now working normally. How strange. Thanks for trying to help

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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