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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more

Reply
data4thewin
Frequent Visitor

Extracting Data from a JSON Blob Column

I have a table that contains a JSON Blob in one of it's columns.  Can I extract the data into a tabular format?

 

  1. {"$version":1,"observations":{"pests":{"41":{"count":{"unit":{"id":3,"name":"per trap"},"value":12},"notes":"Found bug"}}}}
  2. {"$version":1,"observations":{"general":{"50000":[{"count":{"unit":{"id":35},"value":30},"name":"Mildew"}]}}}
  3. {"$version":1,"observations":{"pests":{"340":{"count":{"value":2,"unit":{"id":4,"name":"per leaf"}},"notes":"Live Mites"}}}}
  4. {"$version":1,"observations":{"pests":{"36":{"count":{"value":13,"unit":{"id":45,"name":"per 180 sweep"}}}}}}
  5. {"$version":1,"observations":{"general":{"50000":[{"name":"RV 11, 23N, 24N, 25, 26","notes":"Getting treated with raptor amd butyrac now. Larger weeds wont die but should slow down. "}]}}}

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @data4thewin,

 

Perhaps you can refer to below sample file.

BTW, if you want format multiple records, I'd like recommend you use the records which has similar structure.

 

Regards,

XIaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @data4thewin,

 

Since each row has different element, I'd like to suggest you convert these to multiple tables with different structure.
After format these tables, you can use table.combine function to merge them.

 

Regards,

Xiaoxin Sheng

How would I get started converting them to multiple tables?

Anonymous
Not applicable

Hi @data4thewin,

 

Perhaps you can refer to below sample file.

BTW, if you want format multiple records, I'd like recommend you use the records which has similar structure.

 

Regards,

XIaoxin Sheng

Thank you!!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

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.