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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
yakir_cohen
Regular Visitor

Adding Milliseconds to Date Time column

Hey,
I want to use Milliseconds on my report to compare two date columns, but I don't see it on the DateTime columns. 

The data imported from SQL looks like this:

 

yakir_cohen_0-1652355570924.png

but on Power BI the data looks like that:

yakir_cohen_1-1652355700893.png

How to transform the columns in order to have milliseconds in the date columns as well? 

or (if it's not possible)

How to extract the milliseconds to a different column on Power Query Editor?

yakir_cohen_2-1652355928389.png

 

Thanks.

 

 

3 REPLIES 3
amitchandak
Super User
Super User

@yakir_cohen , refer

https://community.powerbi.com/t5/Desktop/Dealing-with-milliseconds-in-timestamps/m-p/916176

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi - I am running into a similar issue. I am imported data from SQL Database into Power BI. One of the column fields is a datetime type in SQL and shows milliseconds. However, when it is imported into Power BI, the milliseconds go away as Power BI does not support milliseconds in datetime. 

 

The solution you posted suggests that we create a new column in SQL that shows the milliseconds of the time and there is no solution in Power BI to extract the milliseconds? 

Can you please detail and explain how to convert the time into precise milliseconds?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors