web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamically Updating E...
Power Automate
Unanswered

Dynamically Updating Excel Rows

(0) ShareShare
ReportReport
Posted on by 358

I am ultimately trying to read content from an excel table (after it has been created which is the trigger), create a SharePoint Item from that row (storing the file locator and row ID in each sharepoint item to retrieve it later) then write back the ID of the created sharepoint item to the excel row.  

 

To do this I used a template of an excel file so I could use the designer to fill in the correct columns to the the sharepoint item fields.  Then I changed the file path of the excel file get rows action to dynamically pull from a file when it is created (again the trigger).

 

The problem I am running into is in trying to use the powerappsid (rowID) from the table in any fashion (i.e. if I write the rowid to the SharePoint item then then the table will not have a powerappsid column created, but if I don't use the rowid field in the sharepoint item the powerappsid column is created).  

 

When I try to write back to the excel row what the SP ID is within a foreach loop (from the get rows action values) I get a 400 value must be provided.)How I initially Get RowsHow I initially Get RowsFor Each Loop Using Output form Get Rows to Create SP Items then Update Initial Rows form the Get Rows ActionFor Each Loop Using Output form Get Rows to Create SP Items then Update Initial Rows form the Get Rows ActionError Received When Trying to Update Row Using the Row ID previously specifiedError Received When Trying to Update Row Using the Row ID previously specifiedUse of Output from Get Rows in Creation of SP ITemUse of Output from Get Rows in Creation of SP ITemTrying to Update from Output of Initial Get RowsTrying to Update from Output of Initial Get Rows

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @WiggityZwiggity,

     

    When using the action “Excel – Get rows”, if you use the dynamic content for the File name field, in the after actions, you won’t be able to get dynamic contents from this action.


    So I am wondering in your Update row action, how could you get the dynamic content PowerAppsId for the Row Id field?


    I am trying to reproduce this issue on my side. Please show me a full screenshot of your flow for better understanding.



    Best regards,
    Mabel Mao

  • WiggityZwiggity Profile Picture
    358 on at

    Thanks @v-yamao-msft that is what I am wondering too.  Attached is a screenshot of full workflow context (had to creak it into 2)Part 1Part 1Part IIPart II

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @WiggityZwiggity,

     

    Thanks for the screenshots.


    I made a test on my side. When using a dynamic content for the File Name field, you could enter the Table name manually, but for the Row Id field, it will return an error “Cannot evaluate the parameter 'dataset' at design-time; it is empty or has a runtime expression”.


    I am afraid that dynamic file name is currently not supported for this action.

    3.PNG

    There is a similar request on Flow Ideas Forum, please vote and comment the idea at here:
    https://powerusers.microsoft.com/t5/Flow-Ideas/Cannot-use-EXCEL-file-ID-on-action-Insert-Row/idi-p/9701

     

    Best regards,
    Mabel Mao

  • WiggityZwiggity Profile Picture
    358 on at

    Thanks for looking @v-yamao-msft  Voted.

  • Eric_Hu Profile Picture
    12 on at

    I have voted, too.

    I hope the feature can be work.

    I have over 100 systems and I need to create 100 flow which the same.

    It is big problem when I change the flow.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    also a big issue for me..

    I need to select Excel Files on Sharepoint dynamically and read out the rows that have been modified in order to copy that data to another excel file on my sharepoint site..

     

  • Eickhel Profile Picture
    374 Most Valuable Professional on at

    Today we had the same issue, the only workaround we could find was to copy the file to an specific location in OneDrive and then use that file in that specific location as a template to process it. This way, Flow could get the file's metadata and then show the required fields in the update row action:

     

     

    2018-06-04_17-49-32.png

     

     

    Hope this helps

     

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hello, @WiggityZwiggity!

     

    Have you had a chance to apply @Eickhel‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

     

     

    Thank you for being an active member of the Flow Community!

     

    -Gabriel

    Flow Community Manager

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This workaround doesn't reliably work for me. I delete all the records in the table and then repopulate with new values. It works intermittently - it either fails when deleting the record or when it's inserting. It also takes about10 minutes to delete 700 records and then another 10-15 minutes to insert records. This is with parallelism in the For-Each loop cranked up all the way to 50.

  • Eickhel Profile Picture
    374 Most Valuable Professional on at

    Today I came acros this article that might help you with those intermitten issues:

     

    https://veenstra.me.uk/2018/06/11/microsoft-flow-advanced-error-handling-recover-from-failure/

     

    Hope it helps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard