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 SharePoint Lo...
Power Automate
Answered

Updating SharePoint Lookup Column with multiple

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello all! 🙂

 

I am having an issue with getting Power Automate to update a SharePoint Lookup Column.

 

The Lookup column is not updating even though the flow is completing successfully.

 

The Lookup column is configured to allow multiple values and the data I am using from PowerApps pulls the ID number from the List the Lookup column is looking at.

 

The value pulled from PowerApps is the ID numbers seperated by semi-colons:

 

RawValues.png

 

I then use a compose to split the values by the semi-colon:

 

SplitValues.png

 

Then use a Select to create an array of the IDs

ArrayValues.png

 

Once it is in an array, I use that in the column within the Update Item (which works fine for everything else i.e. Single Line of Text, Multiple Lines of Text, Multiple Choice and DateTime.

UpdateItem.png

 

When the flow is finished running, I can see the input went in however, the output appears as blank? Any ideas?

UpdateItemInputOutput.png

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

     

    Hi @Anonymous ,

     

    Please try the following method. You should use int() function to change the type of id to an integer.

    75.PNG76.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @v-bacao-msft 

     

    Works really well thanks! 

     

    Only have one issue - when there is no value from PowerApps I get the below error:

     

    "Unable to process template language expressions in action 'Append_to_array_variable' inputs at line '1' and column '2332': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'."

     

    Any way around this?

     

    Thanks

     

    Bradley

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

     

    Hi @Anonymous ,

     

    You could add Condition to check if the response from PowerApps is empty.

     

    Best Regards,

  • flowtestes Profile Picture
    4 on at

    hello 

    i did the same thing but doesnt work can you please help me in it 

  • psmith1117 Profile Picture
    26 on at

    What worked for me was using a string variable and using the concat function to create a string in the format of "#,#,"

     

    psmith1117_0-1618427372289.png

     

  • psmith1117 Profile Picture
    26 on at

    I checked further and this did not work. It allowed my flow to run successfully but the values were not saved.

  • raks Profile Picture
    on at

    Hi @psmith1117 ,

    Did you find a solution? Is it saving with your concat?

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard