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! Request now

Reply
sunjin122
Helper I
Helper I

text to time cancels direct query mode

I  load a dataset from sql server by choosing direct query. When I try to change the data type of a column to Time, a message always popped up like the screen shot shows below. Can anyone help me with this? Thanks ahead. Capture.PNG

1 ACCEPTED SOLUTION
KGrice
Memorable Member
Memorable Member

Changing the data type in direct query mode is not supported through the query editor. However, you should be able to do this after your data is loaded. In your Fields list, select the field you want to change, then select the Data Type in the Modeling tab of the ribbon.

 

This article (go to the section titled "Ability to change the datatype when connected to Direct Query") and this community post have good screenshots of the process.

View solution in original post

2 REPLIES 2
KGrice
Memorable Member
Memorable Member

Changing the data type in direct query mode is not supported through the query editor. However, you should be able to do this after your data is loaded. In your Fields list, select the field you want to change, then select the Data Type in the Modeling tab of the ribbon.

 

This article (go to the section titled "Ability to change the datatype when connected to Direct Query") and this community post have good screenshots of the process.

Thank you very much!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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
Top Kudoed Authors