Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I am loading data from an excel file which contains many worksheets. My source looks like this.
And then its been converted into single queries like below.
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.
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!
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.
Proud to be a Super User!
@ImkeF , can you help on this
User | Count |
---|---|
101 | |
90 | |
80 | |
71 | |
69 |
User | Count |
---|---|
114 | |
97 | |
97 | |
73 | |
72 |