Reply
Highlighted
Super Contributor
Posts: 1,468
Registered: ‎11-25-2016
Accepted Solution

Datetime field in Report View not the same value as in Data View

Today I noticed a difference between the Data View and Report View for 1 specific field value.

 

I'm working on a dashboard with global date and time values according to Windows and according to www.timeanddate.com.

On March 27, 2017 02:00 local time (according to the Data View), clocks were moved ahead with 1 hour to March 27, 2017 03:00 in Chita (Russia).

 

Data view.png

 

However, that very same field in my dashboard displays March 27, 2017 03:00 instead of March 2017, 02:00.

 

Report view.png

 

I can't think of any logical explanation why the very same field would display different values.

 

Yesterday I noticed a similar phenomenon where a datetime value differed between Power Query and the loaded value to Excel.

(It was a datetime somewhere in 2009, so the cause is not the different numbering between 1/1/1900 and 2/28/1900).

 

Would there be any technical explanation for this strange phenomenon?

Specializing in Power Query Formula Language (M)

Accepted Solutions
Super User
Posts: 9,286
Registered: ‎07-11-2015

Re: Datetime field in Report View not the same value as in Data View

Only explanation that I can think of is that the date/time value is being stored in its "raw" state but when rendering that value within a report, the report is factoring in daylight savings time somehow?


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

Proud to be a Datanaut!


View solution in original post

Super Contributor
Posts: 1,468
Registered: ‎11-25-2016

Re: Datetime field in Report View not the same value as in Data View

Spot on @Greg_Deckler !

 

Due to local time switches (typically Daylight Saving Time), some date/time combinations do not exist.
Such date/time combinations are allowed in Power Query and the Data Model, but in Report View, such combinations are adjusted, both in Power BI Desktop and in Power BI.


This video clearly illustrates the issue.

 

Expecting a "Wad" * when raising an issue, I raised an idea for improvement, expecting lots of votes Robot LOL

 

* "Works as designed" 

Specializing in Power Query Formula Language (M)

View solution in original post


All Replies
Super User
Posts: 9,286
Registered: ‎07-11-2015

Re: Datetime field in Report View not the same value as in Data View

Only explanation that I can think of is that the date/time value is being stored in its "raw" state but when rendering that value within a report, the report is factoring in daylight savings time somehow?


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

Proud to be a Datanaut!


Super Contributor
Posts: 1,468
Registered: ‎11-25-2016

Re: Datetime field in Report View not the same value as in Data View

@Greg_Deckler Good suggestion. That would explain why the difference is exactly a multiple of an hour (1 hour in Power BI Desktop, 2 hours in Excel / Power Query). Otherwise the issue only happens in very rare situations (these are the only 2 I spotted so far).

 

Anyhow, I'll take your suggestion for further testing and come back once I have more information or questions.

Specializing in Power Query Formula Language (M)
Super Contributor
Posts: 1,468
Registered: ‎11-25-2016

Re: Datetime field in Report View not the same value as in Data View

Spot on @Greg_Deckler !

 

Due to local time switches (typically Daylight Saving Time), some date/time combinations do not exist.
Such date/time combinations are allowed in Power Query and the Data Model, but in Report View, such combinations are adjusted, both in Power BI Desktop and in Power BI.


This video clearly illustrates the issue.

 

Expecting a "Wad" * when raising an issue, I raised an idea for improvement, expecting lots of votes Robot LOL

 

* "Works as designed" 

Specializing in Power Query Formula Language (M)
Frequent Visitor
Posts: 12
Registered: ‎08-08-2018

Re: Datetime field in Report View not the same value as in Data View

Hi Marcel,

 

I'm having a similar problem with some datetime values. I've read and watched the video you posted. But I still have an issue with the datetime values I'm getting from an Excel file. I'm writing you because I see you have experience with datetime format and some changes can have this kind of data. So I kindly give you the post link of this datetime problem I'm having, please check it when you have a chance, I appreciate your suggestions. 

 

Kind regards,

 

Ernesto