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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
Super User
Super User

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!

Jan NL Carousel

Fabric Community Update - January 2025

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