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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Data_Analystz
Regular Visitor

DateTime column is adding one hour automatically when imported

Hi Friends, I have column in SQL table which is actually date column but it is in NVARCHAR (MAX).

 

Current value in SQL table is 

2023-04-30T23:56:07.949+0000

 

After importng it in Power BI, by default PBI is showing it as TEXT column. When righ click and change the format to DateTime. The value becomes as 01/05/2023 00:56:08

 

1 hour is added to the result. May I know why and how to fix this issue. I have 8 date fields 😂

 

 

1 ACCEPTED SOLUTION

In the query editor, delete the existing Changed Type step and then click on the icon on left side of the column name and choose datetimezone.

ppm1_0-1683547565720.png

 

 

Pat

Microsoft Employee

View solution in original post

4 REPLIES 4
ppm1
Solution Sage
Solution Sage

It is likely converting to your local timezone. Try converting it to datetimezone instead of datetime.

 

Pat

Microsoft Employee

Hi @ppm1 ,

 

Having converted datetime to timezone shows me how many hours is my time shifted by but it still shows incorrect date. Do I need to create a calulated column to correct the date?

 

Thanks,

 

WJ

Can you please help me how to do that? And I dont want the field t display timezone in my visuals

In the query editor, delete the existing Changed Type step and then click on the icon on left side of the column name and choose datetimezone.

ppm1_0-1683547565720.png

 

 

Pat

Microsoft Employee

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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