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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Malsha
Helper I
Helper I

CSV Import Issue

Hi everyone,

when I export my report data to csv, time fields display wrong values. in the csv file, time fields display a date in every row. This is how power bi report shows the time fields.

Malsha_0-1692787428637.png

 

This is how exported csv file shows the time fields.

Malsha_1-1692787429416.png

 

I opened this as a text file also. but the same issue reflects there as well. what's the solution for this & what's the reason to happens this.

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

Time values are basically just formatted integers, and so are dates - you can read more about it here. If you need the time value to show exactly as in the power BI report, you can use the FORMAT function to return the value as a string.

View solution in original post

2 REPLIES 2
Malsha
Helper I
Helper I

Hi everyone,

when I export my report data to csv, time fields display wrong values. in the csv file, time fields display a date in every row. This is how power bi report shows the time fields.

Malsha_0-1692785344682.png

This is how exported csv file shows the time fields.

Malsha_1-1692787012743.png

I opened this as a text file also. but the same issue reflects there as well. what's the solution for this & what's the reason to happens this.



vicky_
Super User
Super User

Time values are basically just formatted integers, and so are dates - you can read more about it here. If you need the time value to show exactly as in the power BI report, you can use the FORMAT function to return the value as a string.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.