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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Pipi9
Frequent Visitor

Date Bug in Power BI

Hi,

 

I have noticed a date bug in Power BI Desktop. PowerBI desktop display 1st of Oct incorrectly for certain years.  

 

1 Oct 1972 and 1 Oct 1978 are displayed and exported as 30 Sep 1972 and 30 Sep 1978 respectively.  I don't seem to be able to insert images.

 

Our company has contacted Microsoft for this bug. They accepted this bug and fixed in the May 2018 release of the Power BI Desktop. 

8 REPLIES 8
Anonymous
Not applicable

HI @Pipi9,

 

I can't reproduce your scenario, I try to filter on oct 1st without similar issue.

5.PNG

 

Please provide more detail content to help us clarify this issue.

 

E.g.

Desktop version, filter options and formula, relationship, sample data, pbix file, screenshots...

 

Regards,

Xiaoxin Sheng

 

 

I don't seem to be able to format the date into DD/MM/YYYY format. I haven't applied any filter.date option.jpg

Anonymous
Not applicable

Hi @Pipi9,

 

You can try to use below formula to generate calendar table.

let
    DateList = List.Dates(#date(1970, 1, 1), Duration.TotalDays(Date.From(Date.EndOfYear(DateTime.LocalNow()))-#date(1970,1,1)), #duration(1, 0, 0, 0)),
    AddColumns = List.Transform(DateList, each {_}),
    DateTable = #table(type table[Date=date], AddColumns)
in
    DateTable

12.PNG

 

Regards,

Xiaoxin Sheng

I think this issue specifically impacts on the first Sunday in October in years later than 1972, the year the daylight saving was introduced for time zone ‘(UTC+10:00) Canberra, Melbourne, Sydney’ if automatic adjustments for daylight saving is turned on.

 

This is clearly related to the daylight saving adjustments applied by Microsoft Windows for time zone ‘(UTC+10:00) Canberra, Melbourne, Sydney’ as the problem is not present for other time zones or if auto adjustment is turned off.   

 

Rules applied by Microsoft are not correct as the daylight saving in this time zone used to start on the last Sunday in Oct prior to 2008 (not first Sunday in Oct as of now) and it should starts at 2:00 am not 1Photo1.jpgPhoto2.jpgPhoto3.jpgPhoto4.jpg2:00am.

 

When exported,  for these year with incorrect date, the time is shifted back by one hour. I think it might have something to do with daylight saving that started from 1972. See https://www.timeanddate.com/time/change/australia/sydney?year=1989

 

exported data.JPG

recurring date issue.JPG

I have tried your code and still failed miserablly. When I dragged the 'Date' column into a table visual, the date field was automatically changed to Date Hierarchy. However if I remove the hierarchy, it becomes incorrect.

 

Date and Date Hierarchy.JPG

Can you please run this code then drag the date into a table visual? Also I am in Australia.

 

let
DateList = List.Dates(#date(1970,1,1), (Date.Year(Date.EndOfYear(DateTime.LocalNow()))-1970)*366, #duration(1,0,0,0)),
AddColumns = List.Transform(DateList, each {_}),
DateTable = #table(type table[Date=date], AddColumns)
in
DateTable

date bug.jpg

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.