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