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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
LizardBoi
Regular Visitor

Date table not calculating correctly

Hi

Hoping someone can help with this.

I have a fiscal 544 date table set up with with the start of week set to Sunday (0)

Everything has been fine up to 2 weeks ago when the calculation of the week number has changed and moved it to a Saturday.

LizardBoi_0-1631278474894.png

Why would it do this?  And how do I rectify it ?

 

TIA

 

1 ACCEPTED SOLUTION

Hi @LizardBoi ,

 

Any chance you could share a pbix with your custom calendar table and query, would make it much easier to try to find the issue.

 

Thanks,



I hope this helps,
Richard

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

Proud to be a Super User!


View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@LizardBoi How are you calculating your date table? I created one once in DAX: I created a custom 445 Calendar once: DAX Custom 445 Calendar - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Yes its a custom 544 one 

= Table.TransformColumnTypes(_5_4_4_Calendar_Table,{{"Date", type date}, {"Period Start", type date}, {"Weeks", Int64.Type}, {"Days", Int64.Type}, {"Period End", type date}, {"Period", Int64.Type}, {"FinYear", type text}, {"Date - Copy", type date}, {"NewWeekNo", Int64.Type}})

Hi @LizardBoi ,

 

Any chance you could share a pbix with your custom calendar table and query, would make it much easier to try to find the issue.

 

Thanks,



I hope this helps,
Richard

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

Proud to be a Super User!


Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors