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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Why does power bi add dates to my time column?

I am trying to import data from excel and power bi adds date's to my time column which has a format hh:mm: ss and the dates are different from the dates of my date column.

How can I only import the time(hh:mm: ss)

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

In Query Editor, you can change the data type to time directly.

 

Capture.PNG

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

6 REPLIES 6
PattemManohar
Community Champion
Community Champion

@Anonymous Please post the sample data to replicate your issue





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

Skärmklipp-Tid.PNGSkärmklippTid2.PNG

The first image is my source file and the second one is when I try to import it to power bi.

Hi @Anonymous,

 

In Query Editor, you can change the data type to time directly.

 

Capture.PNG

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @Anonymous,

 

Also you can make the option "Automatically detect column types and headers for unstructured sources" inactive and import the data agian.

 

datetype.PNG

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @Anonymous,

 

Does that make sense? If so, kindly mark the answer as solution to close the case.


Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi @Anonymous

Change the datatype of Tid(UTC) from date/time to time under the modeling tab in ribbon pallet.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.