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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
MarcelBeug
Community Champion
Community Champion

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)
2 ACCEPTED SOLUTIONS
Greg_Deckler
Super User
Super User

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?


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

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

4 REPLIES 4
Greg_Deckler
Super User
Super User

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?


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

@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)

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)

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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