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