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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ucmaoTWG
Helper I
Helper I

Importing a column into power query in a dataset without changing any formatting.

Hello,

I have a column that is a date/time field specifically formatted to show like the below.

2023-08-14 02:40:28.097

 

When i try and load this into power query, it consistently modifies the formatting so that it changes the field entirely. Is there any way to make it so that when it loads into power query it remains unformatted in the original form?

 

Thanks,

2 REPLIES 2
SumitChandra
New Member

Hi,

Depending on the locale settings or default formatting rules, Power Query may automatically format date and time fields when they are loaded. You can take the following actions to maintain the date/time column's original format:

Load the Data: Load the data into Power Query as you normally would.

Change the Data Type: Locate the column in the Power Query Editor that has the date and time values. Select the column heading by clicking the drop-down arrow. 
"Change Type" will appear; select "Text."

 

Hope this will works for you 😊

This doesn't work, it formats it as 'NOV 4, 2023 at 6:34 PM' for example.

 

The way that i solved this is by fixing it in sql with a convert to NVARCHAR with formatting 121. 

CONVERT(NVARCHAR(50),date,121)

 

Power query then reads this as a string and doesn't convert to date, even though it is technically a date.

Thanks,

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.