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

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,505 Super User 2025 Season 2 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,974 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,974 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,974 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,974 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

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