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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors