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 / Updating a SharePoint ...
Power Automate
Unanswered

Updating a SharePoint List from Excel, where microsoft excel refererance changes every day but file name remaines the same

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I recieve a daily email with an Excel report, this is configured as a table and stored in SharePoint

 

But

 

As the Microsoft Internal reference for the Excel file changes every day the flow fails (the File name remains the same).

 

I have got the first part of the flow to work using concat('TbIncident') as a custom value in the Table Field and different ID in the File field

Flow 1.JPG

 

Now when i try to "Update item" under Apply to each the Excel File does not show

Flow 2.JPG

 

I believe i need to enter an expression to make the Excel File visable but am not sure what to use??

 

Any thoughts would be appreciated 

 

Note: The Yes path will update any "Changed" cells in the Excel and the No path will "Add" any new Rows in the Excel to the SharePoint List

 

Kind Regards

 

Gary

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @Anonymous  you mean you are not able to get excel values in dynamic content for Update Item? Also in get items do you have any filter query, or is it getting all items from the SharePoint list, are you looking to update all items of list or just specific item/s

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

    Hi @Anonymous ,

     

    Do you want to select the corresponding dynamic content from the newly uploaded Excel file?

    Dynamic content is not available in the current scenario, maybe you could try to use the following expression.

    items('Apply_to_each')?['Column Name']

    vyujincuimsft_0-1657271241573.png

    vyujincuimsft_2-1657271401272.png

    Result Screenshot:

    vyujincuimsft_1-1657271325788.png

    In addition, here is a similar case for your reference.

    https://powerusers.microsoft.com/t5/Building-Flows/Daily-excel-to-SharePoint-list-adding-feature-that-avoids/td-p/1650488

     

     

    Best Regards,
    Charlie Choi

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Anna,

     

    The complete seniorio is

     

    Everyday i recive an email with a excel report.

     

    I have a Flow that runs successfully to save the attachment to SharePoint and format the Excel to use a Table (TbIncidents)

     

    This all works as expected BUT because everyday is a different attachement the Microsoft Internal Referance changes but the Table Name and File Name remain the same. For this reason i can get the flow to work for one day but fails the next day as the Microsoft Internal referance changes.

     

    I want my flow to update any recocords in SharePoint "Lists" and Add new Records from the content of the daily Excel File

     

    The first part of the flow works but fails below the red line

     

    Flow 3.JPG

     

    I hope this makes sense

     

    Any help or advice would be apprciated

     

    Gary

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Charlie,

     

    Thank you i will test this in my flow later today 🙂

     

    Kind Regards

     

    Gary

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Charlie,

     

    Sorry foe such a basic question but what should i use in the belowFlow 4.JPGFlow 5.JPG

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @Anonymous  that is Get Items action, so filter query on get items will filter the items returned by Get Item actions. E.g. if your filter query is App eq 'ABC'. then Get Items will be returning all items where App column value is ABC. As you need to create new items, may i know why are you using Get Items, are you looking to fetch data from the list before creating the item?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi 

     

    I get errors when i try this format with my data 

     

    Note: I can't choose name of my table (see below)

    Flow 6.JPG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi

    Sorry you have lost me, i have no idea what you are saying

     

    Using Get (because that was your example)

     

    Gary

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 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard