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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Kudoed Authors