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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
amilcrrr
New Member

Power BI not taking time format settings from excel

Hi Team, 

I've built a timeline with date and time hh:mm:ss in excel, but when visualizing the data in Power BI it's defaulting ALL the seconds back to zero. 

Excel 

amilcrrr_0-1721317588789.png

Power BI 

amilcrrr_1-1721317658340.png

OR 

amilcrrr_2-1721317728582.png


I've used ALL these different time format settings,  but it still wont pick up the seconds coming from excel file 

amilcrrr_3-1721317816652.png


Any ideas? Let me know if you need additional details. 

 



4 REPLIES 4
Anonymous
Not applicable

Hi @amilcrrr ,

 

I notice that the time in the desktop is missing the seconds part, have you converted it in PowerQuery? Please check that.

vcgaomsft_0-1721352299715.png

Then format the datetime column using code like this:

mmmm-dd hh:nn:ss

vcgaomsft_1-1721352538315.png

Output:

vcgaomsft_2-1721352634354.png

The test file is attached for reference. If this does not work, please feel free to contact us.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

There might something else going on. I've updated and change ALL the formats above but its doesn't inherit the second still 

amilcrrr_0-1721746958905.png

 

@amilcrrr 

 

Please provide your source data and the file with the issue.  Much easier to check what's going on then.

 

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

Hi @amilcrrr 

 

I can't reproduce the issue.  When I load the table from Excel the seconds are preserved 

 

Importing

importtime.png

In Power Query

importedtime.png

 

In Power BI

timeinpbi.png

 

Here are my sample files if you want to check them out

 

PBIX file

Excel file

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


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