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

Reply
Tom_G
Helper II
Helper II

Date/Time not showing detail

Hello, i've imported some date/time data into BI in the format 

YYYY-MM-DD HH24:MI:SS. 
 
In the Query Editor (in all steps), the data is showing correctly.
Arrival Date Departure Date
24/03/2018 14:14:5025/04/2018 04:15:07
16/06/2018 16:09:1317/06/2018 13:12:15

However, in BI outside the query editor the time part of the data is just showing as zeros (as below) for the vast majority of the data set except a small part - I can't get the time data to display. The column data types are date/time. 

 

Arrival DateDeparture Date
24/03/2018 00:00:0025/04/2018 00:00:00
16/06/2018 00:00:0017/06/2018 00:00:00

 

 In short I don't know why this is happening. I simply want to display the data as it appears in the query editor.

 

Let me know any suggestions on how to fix this!

 

Thanks!

1 ACCEPTED SOLUTION

Hi @v-kelly-msft, thanks very much for your help. After a lot of head scratching, it seems that the problem was due to one inconsistently formatted csv file that had DD-MM-YYYY HH:MM:SS instead of YYYY-MM-DD HH24:MI:SS. The pbix contained multiple csv's but the inconsistent format within the same column was causing this issue in BI. 

 

Thanks for your solution I will keep this in mind if I encounter similar issues. Thanks

View solution in original post

4 REPLIES 4
v-kelly-msft
Community Support
Community Support

Hi  @Tom_G,

 

Go to query editor>applied steps>Changed Type,removed the content I marked in red:

vkellymsft_1-1627544550645.png

 

Then do the following steps:

Right click on the column>Change Type>Using Locale(English Palau):

vkellymsft_2-1627544606836.png

 

 

vkellymsft_0-1627544334524.png

 

As tested here,if you directly change the column in query editor to datetime format,it will return errors:

vkellymsft_3-1627544692234.png

Try the method I provided above to see whether it can solve the issue.

 

Best Regards,
Kelly

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

Hi @v-kelly-msft, thanks very much for your help. After a lot of head scratching, it seems that the problem was due to one inconsistently formatted csv file that had DD-MM-YYYY HH:MM:SS instead of YYYY-MM-DD HH24:MI:SS. The pbix contained multiple csv's but the inconsistent format within the same column was causing this issue in BI. 

 

Thanks for your solution I will keep this in mind if I encounter similar issues. Thanks

Hi @Tom_G ,

 

So your issue is solved,right?If so,could you pls mark the reply as answered to close it?

 

Best Regards,
Kelly

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

amitchandak
Super User
Super User

@Tom_G , I doubt that can happen unless there is step in power query that is changing the data type to date(only date in power query)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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