Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
I have a Delta Table that has many columns that are structured and one column that has json stored as a string. Does Fabric has the ability to expose properties in json as table fields to query (like DataBricks). If not, please provide guidance on how to do it.
Basically I need to confirm if I need to add columns that I need from json to the data table during ingestion after parsing the json using from_json() and save it to the Delta table or is there a better option available?
Looks like parsed json column is stored as Any datatype while the original json column is a string data type. Is there any advantage in storing the parsed json column or should I remove it before saving the table?
Thanks!
Solved! Go to Solution.
Hi @gopala000
You can use the from_json() function to parse a JSON string column into a structured format. The specific steps are as follows:
Create a new Lakehouse in the Microsoft Fabric workspace, or select an existing Lakehouse.
In the Lakehouse, upload your data file and import the data into the Delta table in the Lakehouse.
Then select "Open notebook" —> "New notebook"
Select "Spark SQL"
This allows you to extract specific properties from JSON and store them as separate columns.
If you need to frequently query specific properties in JSON data, it is recommended to parse the JSON and add the necessary columns during ingestion. This will make querying more efficient and simpler.
The parsed JSON column is stored as Any data type, which is useful if you need to preserve the entire JSON structure for future use. However, if you only need specific properties, you may not need to store the parsed JSON column. Instead, you can extract and store only the required properties as separate columns.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gopala000
You can use the from_json() function to parse a JSON string column into a structured format. The specific steps are as follows:
Create a new Lakehouse in the Microsoft Fabric workspace, or select an existing Lakehouse.
In the Lakehouse, upload your data file and import the data into the Delta table in the Lakehouse.
Then select "Open notebook" —> "New notebook"
Select "Spark SQL"
This allows you to extract specific properties from JSON and store them as separate columns.
If you need to frequently query specific properties in JSON data, it is recommended to parse the JSON and add the necessary columns during ingestion. This will make querying more efficient and simpler.
The parsed JSON column is stored as Any data type, which is useful if you need to preserve the entire JSON structure for future use. However, if you only need specific properties, you may not need to store the parsed JSON column. Instead, you can extract and store only the required properties as separate columns.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.