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
lovishsood1
Helper III
Helper III

Unable to store time datatype values in Data Warehouse

Hi Everyone,

 

I'm currently working on one project on Fabric in which I want to store Time data type values in Warehouse but it is throwing me some error when I'm trying to publish one dataflow.

lovishsood1_0-1722506908904.png

I tried Lakehouse as well but same error I'm receiving. Is there any solution to store it?

I need to create measures based on this column that's why I need in Time Datatype instead of Text Datatype.

1 ACCEPTED SOLUTION

Thanks for the info mate.

I set the datatype TEXT in dataflow.

View solution in original post

4 REPLIES 4
v-huijiey-msft
Community Support
Community Support

Hi @lovishsood1 ,

 

Thanks for the reply from @AndyDDC .

 

I reproduced your error:

vhuijieymsft_0-1722563180559.png
vhuijieymsft_1-1722563180563.png

 

Changing the type to Date/Time fixes it.

vhuijieymsft_2-1722563200361.png

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
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!

Nope, date/time datatype won't fix it since when I'm calling this column in Power BI. It is showing me a Fixed Date along with the Time. So I'm not able to perform any calculations.

AndyDDC
Most Valuable Professional
Most Valuable Professional

Hi @lovishsood1 Fabric Warehouse supports up to 6 digits of precision for time.  You'll need to modify the dataflow to remove the 7th digit of precision (if it exists).  E.G 23:59:59.9999999 is not supported but 23:59:59.999999 would be

 

Data types - Microsoft Fabric | Microsoft Learn

Thanks for the info mate.

I set the datatype TEXT in dataflow.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

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.