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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.