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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
feasy
New Member

Different data type in same column

I have imported a JSON file into PBID. I found one column with the default data type as "Any", and have three types of data in that one column: number with data type as integer, number with data type seems to be text (I cant be sure But I cannot check individual box data type) and a JSON record that can be expanded. I would like to seperate all three type into different columns. I would like help on how I could achieve this. Thanks.

2 REPLIES 2
Anonymous
Not applicable

Hi @feasy 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.

 

Best Regards,

Rico Zhou

PhilipTreacy
Super User
Super User

Hi @feasy 

Can you please supply some example data.

Individual cells in a colum don;t have a data type,the data typeis assigned bycolumn and is appliedto everythingin that column. You say that you have a number stored as text and you want that in a separate column to the integer number.  Are you talking about a decimal number e.g. 1.23?

If you convert the column to a number type then generally any numbers in it will be converted.

The JSON can be moved into another column but I don't know if you have a Record that contaisn JSON,or if you mean you just have some JSON.  Again sample data would be great so  know what you actually have.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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