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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Nested JSON data with different columns for each file

Hello!

 

I am just posting to ask for some greatly needed help with nested JSON data in a powerBI report. The client I am working with has JSON data nested in a blob storage, where there are 13 types of JSON file, each type having a different set of column headers.

 

Issue 1 - Is there a way to dynamically set a power query that separates all of the different JSON file types and expands them into their own queries so that the different types are grouped together and so that power bi can work with the data?

 

Issue 2 - When I expand the time column and then expand a different column, the time column values suddenly all become 0. In for example Type1 we have the following headers:

Time, HeadPos, HeadRot, inside time we have each individual time point, HeadPos has to be expanded for x, y and z coord and same for Head Rot. If head pos and head rot are expanded, time values go from logical increments to just 0 across all the data. As each JSON file is linked to an individual object id, is there a way for a user to be able to just pull a singular JSON file from the blob storage?

 

If anyone can help at all it would absolutely save my day.

 

Thanks!

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

AFAIK, you can create query table that references the main table records. Does any obviously Identifier stored in your records that can be used the recognize these records?

If that is the case, you can create blank query tables with if statements to check detail properties and filter the same structure records to grouped with different query tables.

BTW,  can you please share some dummy data with raw data structure and expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.