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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
bickelle2
New Member

Expanding multiple JSON files from folder using power query

Hello - I am relatively new to power query. I am working with mutliple JSON files with multipel records and lists. I have successfully expanded all data in one JSON file using a function posted by TheBIAccountant (2018/06/17); however, when I update source to Folder.Files, etc. and try to use the same function (files are all structured the same way), I keep getting the expression error: We cannot convert a value of type Table to type List. Value=[table] type=[type]. Any idea what I've done wrong or if I need to add in extra steps? I can't find any tips that have worked online. 

4 REPLIES 4
ppm1
Solution Sage
Solution Sage

Does your column you are applying the function to say Binary or Table? My guess is you are sending different inputs to the function (single file vs. folder of files).

 

Pat

 

Microsoft Employee

Thanks Pat. I'll try this now

bickelle2
New Member

Thank you for replying. The file structures are identical. I tried duplicating the file just to be sure and it returned the same error. 

Poohkrd
Advocate I
Advocate I

Hi, it means, you have the different structure at least in one of your JSON files.

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.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.