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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting Column Name/Va...
Power Automate
Unanswered

Getting Column Name/Value From Excel File To Update SharePoint List After Creating Table

(0) ShareShare
ReportReport
Posted on by

Hello all. I have a flow where I am duplicating an excel file from a network drive to OneDrive for Business and then creating a table in said excel file (there isn't a table when I duplicate). From there, I list the rows present in the table.

 

It is important to know, when building this flow, because there is no table in the file until the flow runs, that I had to use variables to store the name of the file and table (file name is generated using guid() function to generate random name).

 

Next, I am getting the items from my SharePoint List that I want updated based on the newly created table in the duplicated excel file. Inside the Update Item action to update the SharePoint List, I don't have any dynamic content to use for the excel table because it doesn't exist (yet). So normally, the Dynamic content available in a flow where you List Rows Present for an excel table, you will have the Column Names which contain the actual values. 

 

I am guessing I need an expression. So, one of my column names from the excel file will be 'Material Number'. How could I write an expression to get the values from the excel file 'fileName' and table 'tableName' for column 'Material Number' to update the SharePoint item?

 

updateSP.PNG

Categories:
I have the same question (0)
  • Unknown geen idee Profile Picture
    1,757 on at

    Dear ztb97,

     

    I have done something similar and it can be done ... although it took me several versions of a the flow across several months. As you mentioned, the key is to figure out the expression and structure to use.

     

    For me the following video was a real eye-opener, hope it helps you too. It will show you a good example of dynamically using data/files for files created on-the-fly in the same flow.

    https://www.youtube.com/watch?v=RB_ySjhm9Sg

     

    Happy flowing,

    Koen

     

    If this has helped, please like the video for the creator and set this answer as 'solution' in the thread for other users.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard