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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
bourne2000
Helper V
Helper V

How to convert date/time stamp into date and time ?

Hi

 

I am having an excel file that has date/time column as below format

 

bourne2000_0-1641674694771.png

 

 

When I tried to import into Power BI, I get the wrong time. 

 

For example for the above time, it should be 16:56 pm, instead, it shows 3.36.19 am

 

bourne2000_1-1641674793323.png

 

Can anyone advise me? My data is in a CSV file.

https://we.tl/t-t4zhnBzxmM

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @bourne2000 ,

According to your description, here's my solution.

1.Select Get Data>CSV.

vkalyjmsft_0-1641979411385.png

When connect to your sample data, the following screen will pop up automatically.

vkalyjmsft_1-1641979590152.png

Click the Delimiter bar, many options will appear, select Custom.

vkalyjmsft_2-1641979673495.png

Then enter a dot in the box, 

vkalyjmsft_3-1641979855694.png

Get the correct result.

vkalyjmsft_4-1641980195801.png

Best Regards,
Community Support Team _ kalyj

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
v-yanjiang-msft
Community Support
Community Support

Hi @bourne2000 ,

According to your description, here's my solution.

1.Select Get Data>CSV.

vkalyjmsft_0-1641979411385.png

When connect to your sample data, the following screen will pop up automatically.

vkalyjmsft_1-1641979590152.png

Click the Delimiter bar, many options will appear, select Custom.

vkalyjmsft_2-1641979673495.png

Then enter a dot in the box, 

vkalyjmsft_3-1641979855694.png

Get the correct result.

vkalyjmsft_4-1641980195801.png

Best Regards,
Community Support Team _ kalyj

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

bcdobbs
Community Champion
Community Champion

So are you getting the right number of rows but it's shuffling the timezone:

 

bcdobbs_0-1641680143025.png

Are you able to import the csv into Power Bi your end and share the pbix? 

 

(Off to bed now but will look in morning!)



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
bcdobbs
Community Champion
Community Champion

Hi @bourne2000 ,

 

I can't recreate the issue you're seeing with the file exactly.

 

However when I go to import it Power Bi mistakenly thinks the file is colon separated. Suspect it's not the issue but just to check have you switched it back to comma:

 

bcdobbs_0-1641675809376.png

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

@bcdobbs  It's comma only

 

bourne2000_0-1641676785912.png

 

bcdobbs
Community Champion
Community Champion

The only other thing I can think of is whether something is happening with the timezone at the end (+000). Long shot but try selecting the original "Changed Type" step and changing the column to Date/Time/Timezone

 

bcdobbs_1-1641676733222.png

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

@bcdobbs  When I import the csv file into power bi with comma operator, MY date table like below

 

bourne2000_0-1641677390235.png

 

Then I changed the data type into date/time/Timezone

 

bourne2000_1-1641677431506.png

 

When I extracted hours from this table, I am not able to see the complete hours. I checked the csv file, it has hours from 1 pm to 4 pm, but that was not captured. 

 

Is the data also missing once in power bi? Just trying to rule things out as running out of ideas I'm

afraid.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

@bcdobbs Power BI conisder 13.00 pm into 3.00 am. I think some timezone is not recognized. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors