March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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!
Solved! Go to Solution.
@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
@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
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...
@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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
86 | |
76 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |