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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.