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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Change_Data_type

Hello, please help. 

 

I need to change the column type to letter and number simultaneously. Like on picture. How can I do this? type.JPG

 

 

 

Thank you for your help. 

1 ACCEPTED SOLUTION
Gordonlilj
Solution Sage
Solution Sage

Hi,

 

An easy way to get the generic any type would be to change the data type of the column and replace the type in the code like below for an example

 

= Table.TransformColumnTypes(#"Removed Columns",{{"Column1", Int64.Type}})

To

= Table.TransformColumnTypes(#"Removed Columns",{{"Column1", type any}})

 

 

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please feel free to ask.

From the image, it seems that the data type of your column GTIN is number type.

What is your desired output? 

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Gordonlilj
Solution Sage
Solution Sage

Hi,

 

An easy way to get the generic any type would be to change the data type of the column and replace the type in the code like below for an example

 

= Table.TransformColumnTypes(#"Removed Columns",{{"Column1", Int64.Type}})

To

= Table.TransformColumnTypes(#"Removed Columns",{{"Column1", type any}})

 

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Users online (5,668)