Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Updating all rows in all tables in Excel Online

Hi All!,


I'm currently trying to construct a flow that does the following:


- For a specific Excel File

1. Get all tables in the file that are named tblJob*

2. For each table, get each row

3. For each row, if the value of the "Status" column is "Let", and the "Date Let" column is empty, populate the "Date Let" column with the current date.


To get to this, I have built a flow that does the following:

1. Manual Trigger

2. Get tables

3. Filter array down to tables that start with "tblJob"

4. Convert time zone (to get a correctly formatted and timezoned date)

5. Initialize Variable named "TradeName" (used later for column key)

6. Apply to Each on filtered array of tables

6.1. List all rows in table

6.2. Filter array down to rows with "Status" is equal to "Let"

6.3. Filter array down to rows with "Date Let" is equal to ""

6.4. Apply to Each on filtered array of rows

6.4.1. Set Variable "TradeName" to "item()?['Trade']"

6.4.2. Update row in table, using table name from 6., using Key Column "Trade" and Key Value "TradeName" Variable.


The problem:

Because I am using a runtime expression for the table name, I am not given the option to add a value to the "Date Let" column.


Any idea how I can make this work?  Is there a different approach I should try?


Trade Letting Flow.png

Community Support Team
Community Support Team

Re: Updating all rows in all tables in Excel Online

Hi @BrendanErofeev,


Unfortunately, it is not supported to set table or file names dynamically in Microsoft Power Automate, there is an IDEA about it, you can head to vote it, collect votes to make it come true in the future:

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


Level: Powered On

Re: Updating all rows in all tables in Excel Online

Hi @v-litu-msft ,


Thanks for the info.  I'll add my voice to the previous suggestion.


While I understand this might not be possible using the approach I have taken, what other ways could I achieve the outcome I want?


Based on what I've seen, the way it is working behind the scenes is by using a PATCH request.  Could I craft my own patch request so I don't have to rely on the intelligence built into Automate?



Helpful resources


New Ranks and Rank Icons in April

Read the announcement for more information!


Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,812)