Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
This is probably staring me right in the face, but I can seem to get the conversion to work. I've loaded data from an excel file. The columns with Date and Time data read, for example, 2025-06-20 16:23:55 UTC.
When I load the data into PBI, the columns show up as text. I'm assuming it's because of the "UTC" that comes along with the Date/Timestamp. When I try to convert the columns I just get an Error.
Am I doing something wrong? Is there an easy way to convert these?
Solved! Go to Solution.
Right click a cell then click Replace Value. Replace UTC with nothing.
Change the type to datetime. If you need just the date, change it to type date after changing to datetime. Power Query will return an error if you change it to date directly.
Right click a cell then click Replace Value. Replace UTC with nothing.
Change the type to datetime. If you need just the date, change it to type date after changing to datetime. Power Query will return an error if you change it to date directly.
Hi @PowerBINoob24 ,
Thank you for reaching out to the Microsoft Community Forum.
This issue is common when working with datetime strings that include time zone indicators like "UTC". Power BI reads such strings as text, and the "UTC" suffix can prevent automatic conversion to a proper datetime format.
Please follow below steps to fix the issue.
1. Created table "Table" with sample data. please refer below snap.
2. In Power Query editor, Add column --> Custom column , and use below code. refer below snap.
3. Custom column "Custom" was created and then select the custom column and change the data type to "Date/Time". refer the snap.
4. converted the custom column from "text" to "Date/Time" format. Please refer the output snap and attached PBIX file.
I hope this information helps. Please do let us know if you have any further queries.
Regards,
Dinesh
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 64 |