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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
wooand
Helper II
Helper II

Time Decimals

I need to order a series by time measured to 0.001 of a second.  (hh:mm:ss.000 is my data format)  by I am unable to change the format to anything beyond hh:mm:ss.  This is causing my results to be bunched on a scatter plot.  Can anyone help with formatting the timestamp so that all decimals of the second can be captured?

1 ACCEPTED SOLUTION
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @wooand,

After research, Power BI desktop can't properly handle the milliseconds. Please review this feature request and vote it. More peoplw need it, maybe it will come ture soonSmiley Happy. As a workaround to your scenario, you can convert the time to number of milliseconds in new columns, please create a calculated column using the formula.

NewColumn = FORMAT(Table[Date],"MM/DD/YYYY HH:mm:ss:000")

 

Then use the NewColumn in your visual.

Best Regards,
Angelia

View solution in original post

3 REPLIES 3
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @wooand,

After research, Power BI desktop can't properly handle the milliseconds. Please review this feature request and vote it. More peoplw need it, maybe it will come ture soonSmiley Happy. As a workaround to your scenario, you can convert the time to number of milliseconds in new columns, please create a calculated column using the formula.

NewColumn = FORMAT(Table[Date],"MM/DD/YYYY HH:mm:ss:000")

 

Then use the NewColumn in your visual.

Best Regards,
Angelia

Thanks for that, and I shall certainly add my thoughts to the feature request.

I just figured out if you create a new column using the Time.Seconds function in M Query you can return the value of the seconds, but it keeps the decimal place after the whole second.

 

eg:  Time.Second([TimeStamp])

returns 18.372  seconds (for example)

 

Then you can split up the fractions as you see fit, and add to a hierarchy.

 

maybe.  Good Luck y'all!!!

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.