Tag not monitored by Microsoft.
PQ works the same in Excel and PowerBI.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In PowerBI, I am trying to clean up some incoming data to follow consistent formatting.
I have a column which has a text string meant to represent date and time. The format of the data from the source changed over time, so the data is in one of two formats.
Within the "StartDate" Column, some values look like this:
YYYY-MM-DD HH:MM:SS AMPM (Example: 2021-03-25 05:48:12 PM)
Others look like this:
ddd mmm d HH:MM:SS YYYY (Example: Thu Mar 25 17:48:12 2021)
My goal is to end up with two columns like this:
"Start Date" column ... format: YYYY-MM-DD (Example: 2021-03-25)
"Start Time" column ... format (24 hour): HH:MM:SS (Example: 17:48:12)
In plain explanation of steps, I was thinking I need to do something like:
Thanks in advance for helping a newbie!
Tag not monitored by Microsoft.
PQ works the same in Excel and PowerBI.
Excel 365 Pro Plus with Power Query.
Transform date/time formats.
https://www.mediafire.com/file/vsnuxmk8edv9iur/03_26_21b.xlsx/file
https://www.mediafire.com/file/55oz8ejve7f9nnz/03_26_21b.pdf/file