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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Date field missmatch

Currently, when dates are converted to ISO dates, we add a time component too (midnight).

eg. 01/11/2014 -> '2014-11-01T00:00:00.000Z'

This is fine for dates fall in winter (before clock change). However, dates fall in the summer (BST), conversion off set 1 hour making the midnight of a day to the 11PM on previous day.

eg. 01/04/2014 -> '2014-03-31T23:00:00.000Z'

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

 Please first convert the data type of these columns to Date/Time in Query Editor.

You can refer to these thread:

https://community.powerbi.com/t5/Desktop/Support-for-ISO-8601-Date-Time-format-DateTime-ToString-quot-O/m-p/309187 

https://community.powerbi.com/t5/Power-Query/Convert-Date-Time-in-UTC-to-Local-Time-with-Daylight-savings/m-p/789919 

 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

The Z here means ZULU, or UTC.  If you use UTC timestamps throughout your data then that is not impacted by DST changes.  

In ISO8601 you can also specify the UTC offset as needed.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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