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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
pjose
Helper I
Helper I

Error while applying the queries from Query Editor or while loading the data

Hi,

I am loading data from an excel file which contains many worksheets. My source looks like this.

pjose_0-1608239525342.png

And then its been converted into single queries like below.

 

pjose_3-1608239837436.png

All of the striked tables above has the same schema and the same steps are applied automatically while loading. If I try to load these tables/apply queries one by one, it works fine, but if I try to do load them all together or try to apply the queries after listing down all the tables like in the picture above it fails and give different errors each time like below.

pjose_5-1608240428720.png

 

But all of these tables looks fine in the query editor and can be loaded or applied queries individually.

 

Can anyone help me understand whats going on here?

 

Thanks!

 

 

 

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @pjose 

The key didn't match any rows in the table indicates a column name in your Excel table has changed, or a worksheet name has changed.  I can't tell which without access to the data so you will have to go through the query and check where the error is being generated.

 

The downloade data is HTML.....  I see this when a JSON request is made and the server returns HTML.  Are you requesting JSON anywhere in the query?  Your mage shows that you are trying to parse the Web.Contents as an Excel Workbook.  If this web request fails, it may return an HTML error page - you need to test for this.  You could wrap the step in try ... otherwise and check the Web.Contents returns what you expect. If it doesn't then you can end the query.
if you are still having issues please post your M code.

Regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


amitchandak
Super User
Super User

@ImkeF , can you help on this

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.