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
Anonymous
Not applicable

change column type in direct query

Hi , 

 

I am trying to change the type of column of table from text to int  or round , but the problem that my query is direct mode , because i am using historian . 

so what can i do ? image.png

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

About the data type conversion, please refer to #limited-data-transformations.Please check the workarounds in below posts.

https://community.powerbi.com/t5/Desktop/Convert-Column-from-Text-to-Number-in-Direct-Query/td-p/559321

https://community.powerbi.com/t5/Desktop/Change-data-type-of-a-conditional-column-in-DirectQuery-mode/td-p/517898

Regards, 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

About the data type conversion, please refer to #limited-data-transformations.Please check the workarounds in below posts.

https://community.powerbi.com/t5/Desktop/Convert-Column-from-Text-to-Number-in-Direct-Query/td-p/559321

https://community.powerbi.com/t5/Desktop/Change-data-type-of-a-conditional-column-in-DirectQuery-mode/td-p/517898

Regards, 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thank you 😄

Helpful resources

Announcements
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