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
sandeep_potturi
Frequent Visitor

date filter skipping date!

So i have dates in a table which is basically fridays. Today im noticing that 6/20 somehow isnt being recognized when im doing this filter:

sandeep_potturi_0-1750548569722.png

 

 

'is latest' works and picks up 6/27 which exists as the max date in my table. But the 'in the previous 5 weeks' is missing 6/20. Any ideas? I see 6/20 just fine in the database.

 

sandeep_potturi_1-1750548657739.png

 

1 ACCEPTED SOLUTION
PwerQueryKees
Super User
Super User

Add in the formula bar the following to your SelecxtRows():

or Date.IsInCurrentWeek([WEEK_END_DATE])

I could not find a way to create the full filter using the dialog boxes: The advanced filter does not support Last 5 weeks and the basic filter does not support this week...

View solution in original post

5 REPLIES 5
PwerQueryKees
Super User
Super User

Add in the formula bar the following to your SelecxtRows():

or Date.IsInCurrentWeek([WEEK_END_DATE])

I could not find a way to create the full filter using the dialog boxes: The advanced filter does not support Last 5 weeks and the basic filter does not support this week...

that was totally it. 

 

Didnt realize i was in the current week and that it wouldnt get picked up under "previous" and "latest". Thank you!

lbendlin
Super User
Super User

I am not familiar with the filter dialog you are showing. Is that used in on-object interaction?

 

Cannot reproduce the missing value

 

lbendlin_0-1750554683550.png

 

hi,

 

use this file as your source.

 

in the power query editor, click 'in the previous'

 

sandeep_potturi_0-1750558724922.png

 

type 3 and pick weeks then do or 'is latest'

 

sandeep_potturi_1-1750558806278.png

 

click ok

 

and then for me, 6/20 disappears...cant figure it out.

 

sandeep_potturi_2-1750558834700.png

 

@sandeep_potturi 

You filter condition in the above screenshot is, "IS IN PREVIOUS 3 WEEKS" OR "LATEST"

so, as per "IS IN PREVIOUS 3 WEEKS" - 13th June, 6th June and 30th May

"LATEST" : 27th June i.e the max date in your data. Results are correct.

 

20th June is current week, NOT the PREVIOUS week.

even if you select next 3 weeks you will not see 20th June, you can test and check 

 

Hope this answers your question

 

 

 

Connect on LinkedIn

 

 

 








Did I answer your question? Mark my post as a solution!
If I helped you, click on the Thumbs Up to give Kudos.

Proud to be a Super User!


PBI_SuperUser_Rank@2x.png

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors