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
Syndicate_Admin
Administrator
Administrator

Column of type Time, when exporting data to .xlsx recognizes it as Date

Greetings community.

My problem is as follows, from Power BI Desktop I have changed the data type from 2 columns (Start Time and End Time) to Time.

JGALVEZ_0-1637112483166.png

However, when you export the data from Power BI Online, the file .xlsx recognizes it as Date.

JGALVEZ_1-1637112529455.png

I know that it could be modified from the downloaded file, but the idea is that the export is done correctly.

In advance, thank you very much for the support.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

You can try working with the data type in the Query Editor first.

 

You can use the Split Column function in query editor .

 

If you want to use the dax, you could try:

Column = LEFT('Table1'[Time],20)

 

Here is a similar thread that you can check to see if it helps you:

Date and Time format not recognized 

 

Hope it helps,


Community Support Team _ Caitlyn

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

2 REPLIES 2
Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

You can try working with the data type in the Query Editor first.

 

You can use the Split Column function in query editor .

 

If you want to use the dax, you could try:

Column = LEFT('Table1'[Time],20)

 

Here is a similar thread that you can check to see if it helps you:

Date and Time format not recognized 

 

Hope it helps,


Community Support Team _ Caitlyn

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

PhilipTreacy
Super User
Super User

Hi @Syndicate_Admin  @JGALVEZ 

 

In the XLSX file it's actually a Date Time, you can see the time is 15:00:00, it's just displaying as a date.  When the time is exported it is give the default date portion which is what your file is displaying.  Change the column back to Time in Excel to remove the date part.

 

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
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!

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