Forum Discussion
Pipi9
8 years agoFrequent 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 ...
Anonymous
8 years agoNot 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
Regards,
Xiaoxin Sheng
Pipi9
8 years agoFrequent Visitor
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