cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
iiotdemo1129
Regular Visitor

Excel's list rows present in a table - Error: No table was found with the name 'Table1'

My task is that I want to insert rows from an excel file(on sharepoint folder) to a table of Azure SQL Database when that excel file is created in a sharepoint folder.

The whole flow picture I made looks like this:

middle.PNG

 

flow whole picture.PNG

 

The action "List rows present in a table" of Excel connector can get the file which is newly created in the sharepoint folder, but it can't get the table in my excel file with throwing an error as the picture below:

not found table1.PNG

 

The error message is : "No table was found with the name 'Table1'. My table is called Table1.

 

Any help for fixing the issue or an alternative way to achieve the goal are all very helpful !!!

 

BTW: for the item putting to columns of the table in the Azure SQL Database, I could not yet check whether the functions like" item()?['全名'] " run well.

 

1 ACCEPTED SOLUTION

Accepted Solutions
iiotdemo1129
Regular Visitor

I followed this one: https://powerusers.microsoft.com/t5/General-Power-Automate/Getting-the-latest-row-from-multiple-exce...

And add the following between Excel connector and SQL connector, then it amazingly works well without errors mentioned above occurred.

 

  • Add a Compose action, Inputs set to following formula:
last(body('Get_rows')?['value'])
  • Add a "Apply to each", input parameter set to following formula:
array(outputs('Compose'))

 

View solution in original post

2 REPLIES 2
Jcook
Super User III
Super User III

Hello, unfortunately you cannot have a dynamic file name for the excel connector.

You can vote here (I also voted as I really want this feature) https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Allow-for-dynamic-quot-file-quot-value-for-...

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





iiotdemo1129
Regular Visitor

I followed this one: https://powerusers.microsoft.com/t5/General-Power-Automate/Getting-the-latest-row-from-multiple-exce...

And add the following between Excel connector and SQL connector, then it amazingly works well without errors mentioned above occurred.

 

  • Add a Compose action, Inputs set to following formula:
last(body('Get_rows')?['value'])
  • Add a "Apply to each", input parameter set to following formula:
array(outputs('Compose'))

 

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (94,234)