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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
eyelikedata2
Helper I
Helper I

Trouble with converting column with microseconds and timezone

Hello, Community!

 

I have a column of data, several actually, that are date, time and timezone output but will not transform to that data type. I presume this is due to a decimal being present in the data.

 

All of my columns of date/time/timezone data are currently text columns with data identical in format to

 

YYYY-MM-DD HH:MM:SS:mmmssssss +0000 UTC

 

How do I properly transform all of these date/time/timezone columns to useable date/time format and data types?

Any thoughts @lbendlin or anyone on how I might acheive this?

 

Thank you!

1 ACCEPTED SOLUTION
eyelikedata2
Helper I
Helper I

@parry2kThis does not work, as none of the date and time options would apply to the column type. I was able to get this resolved however, playing with OpenAI responses. All data in the columns has +0000 UTC. What I did was a find and replace "+0000 UTC" with "" or a null value. This removed the +0000 UTC and left only the time values. I was then able to chose the appropriate date/time for data type and was fixed!

 

@lbendlinI did not place this as I cannot copy and paste the data from that environment. I did share a sample of the format for all values, however. Thank you for your respones, you are awesome!

 

YYYY-MM-DD HH:MM:SS.mmmssssss +0000 UTC

or

2023-10-13 10:53:55.123456789 +0000 UTC

View solution in original post

3 REPLIES 3
eyelikedata2
Helper I
Helper I

@parry2kThis does not work, as none of the date and time options would apply to the column type. I was able to get this resolved however, playing with OpenAI responses. All data in the columns has +0000 UTC. What I did was a find and replace "+0000 UTC" with "" or a null value. This removed the +0000 UTC and left only the time values. I was then able to chose the appropriate date/time for data type and was fixed!

 

@lbendlinI did not place this as I cannot copy and paste the data from that environment. I did share a sample of the format for all values, however. Thank you for your respones, you are awesome!

 

YYYY-MM-DD HH:MM:SS.mmmssssss +0000 UTC

or

2023-10-13 10:53:55.123456789 +0000 UTC

lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

parry2k
Super User
Super User

@eyelikedata2 first convert it to datetimezone data type and then convert it to datetime.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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