Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Steffen1
Frequent Visitor

Power BI Filter returns wrong Date Range

Hi Community, 

 

I have another problem with the Date / Time intelligence 

 

I have a Data Model with a custom date table which is defined as a date table. 

In options I disabled the auto date / time for this file and global.

In a visual I want to filter based on the Date column of my custom Date Table a relative date for this week.  

 

Now my problem: Today is Sunday 12.11.2023 and according to my custom date Table it would be week 45 starting Monday 06.11.2023 to Sunday 12.11.2023. ( blue frame 😞 

Steffen1_0-1699794672993.png

However, applying the filter he selects 12.11.2023 Sunday to Friday 18.11.2023 (green frame) : 

Steffen1_1-1699794730324.png

It seems the filter does not consider the week from my custom date table. 

 

I would be thankful for any idear why the filter choose the "wrong date" and if possible, how to change it ?

 

Best regards

 

 

1 ACCEPTED SOLUTION

Hi some_bih, 

 

thank you for checking into this problem, 

 

my weekday starts on Mondays, as you can see in the column "Day of Week No for Sort " its 0 Monda - 6 Sunday. 

 

I did the Date Table within Power Query not with Dax.

 

Meanwhile I created a solution with the "offset-method":  https://www.youtube.com/watch?v=NKr2TizM-KU

View solution in original post

2 REPLIES 2
some_bih
Community Champion
Community Champion

Hi @Steffen1 

as weeks are involved, details are important 🙂

please check your definition for weekday when it start, like is it Sunday or Monday

If you use WEEKNUM function please notice that different values could return different start of week, like 2 is Monday.

Check link for some details

https://learn.microsoft.com/en-us/dax/weeknum-function-dax?WT.mc_id=DP-MVP-4025372 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Hi some_bih, 

 

thank you for checking into this problem, 

 

my weekday starts on Mondays, as you can see in the column "Day of Week No for Sort " its 0 Monda - 6 Sunday. 

 

I did the Date Table within Power Query not with Dax.

 

Meanwhile I created a solution with the "offset-method":  https://www.youtube.com/watch?v=NKr2TizM-KU

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.