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 / Add & Update Excel Dat...
Power Automate
Answered

Add & Update Excel Data to SharePoint List using Power Automate

(0) ShareShare
ReportReport
Posted on by 206

Hello All, 

 

I followed Reza Dorrani 's video guide 

 

to build a similar from but I am running into problems with the updating and creating a new entry portion using this expression; 

 

length(outputs('Get_items')?['body/value'])

 

as a condition to create a new entry or update the existing entry. I am unsure as to what I am doing wrong.  Can someone take a look and help ?

 

batvan276_0-1654702464486.png

 

 

My flow will keep creating new entries . 

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,707 Super User 2026 Season 1 on at

    Hi @batvan276 ,

     

    Can you please share the odata filter you have set on the Get Items action? That's where I usually go wrong 😉

  • batvan276 Profile Picture
    206 on at

    Sorry about that .

     

    batvan276_1-1654705094569.png

     

  • takolota1 Profile Picture
    4,980 Moderator on at

    If that Number column is actually a number or integer & not a string type data, then you’ll want to remove the single quotes around it.

  • batvan276 Profile Picture
    206 on at

    This is the format ; 

     

    CXTX00#####

     

    I did it correctly no ? Reza had something similar. 

  • takolota1 Profile Picture
    4,980 Moderator on at

    Yeah, that looks right then.

  • batvan276 Profile Picture
    206 on at

    I tried swapping but same issue ; 

     

    batvan276_0-1654777601384.png

     

    Can someone explain what the output value means?

     

    batvan276_2-1654777687339.png

     

     

  • takolota1 Profile Picture
    4,980 Moderator on at

    Ah okay

     

    The output here should list all the rows that match your filter criteria. There’s nothing logically wrong with your condition it is correctly registering that the length of the SP output is not greater than 0 (it’s empty).

     

    You probably have an issue with your data where there is no row with data in the ContractNumber column that EXACTLY matches the number from your other SP source.

     

     

    But also, if this is all inside a loop, make sure you are checking the other loop instances too.

  • batvan276 Profile Picture
    206 on at

    I am going to take a look at the data format but is this an issue ; 

     

    batvan276_0-1654782861400.png

     

  • batvan276 Profile Picture
    206 on at

    I checked my data - Excel is Text and SharePoint is Single Text Line 

     

    I am stuck - unsure what to further t-shooting I can do . Appreciate any help .

  • takolota1 Profile Picture
    4,980 Moderator on at

    @batvan276 

    Can you show the rest of the flow and the pieces before this loop. Like the SharePoint action you're getting this number from?

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 840

#2
Valantis Profile Picture

Valantis 661

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard