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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
StephenF
Responsive Resident
Responsive Resident

Whats the default data type in Query Editor? symbil is ABC123

Whats the default data type in Query Editor? symbol is ABC 123

 

I'm trying to convert it to a text type but i need to know what type of data it is

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @StephenF 

"ABC 123" is of "any" data type, you can convert it to "text" under "Tranform"->"Data type".

 

When you load data into Power BI Desktop, it will attempt to convert the data type of the source column into a data type that better supports more efficient storage, calculations, and data visualization. For example, if a column of values you import from Excel has no fractional values, Power BI Desktop will convert the entire column of data to a Whole Number data type, which is better suited for storing integers.

 

For example, when i add a custom column without defining data type, it would show as a "any" type.

Capture9.JPG

To avoid this and give proper type for columns, you could define data type when adding columns in power query.

https://excelgorilla.com/power-bi/power-query/define-data-type-custom-column/

 

Best Regards

Maggie

Community Support Team _ Maggie Li
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-juanli-msft
Community Support
Community Support

Hi @StephenF 

"ABC 123" is of "any" data type, you can convert it to "text" under "Tranform"->"Data type".

 

When you load data into Power BI Desktop, it will attempt to convert the data type of the source column into a data type that better supports more efficient storage, calculations, and data visualization. For example, if a column of values you import from Excel has no fractional values, Power BI Desktop will convert the entire column of data to a Whole Number data type, which is better suited for storing integers.

 

For example, when i add a custom column without defining data type, it would show as a "any" type.

Capture9.JPG

To avoid this and give proper type for columns, you could define data type when adding columns in power query.

https://excelgorilla.com/power-bi/power-query/define-data-type-custom-column/

 

Best Regards

Maggie

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

camargos88
Community Champion
Community Champion

Hi @StephenF,

 

This is classified as Any Data Type, this is the default data type for PQ when it doesn't know.

 

Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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