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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.