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 Apps / Patch multiple items u...
Power Apps
Answered

Patch multiple items using lookup

(0) ShareShare
ReportReport
Posted on by 2,567

Hi

 

I'm trying to patch multiple items in a SharePoint list.
My issue is to use LookUp to find the correct items to patch.

 

I have a collection with the items collected that i want to patch to a lookup column.

ForAll(
ClearCollect(RelatedTicketsCol5, varSelectedTicketProblem.'Related Tickets');
Collect(RelatedTicketsCol5, DataCardValue29_1.SelectedItems),

{
 Id: DataCardValue29_1.Selected.Id,
 Value: DataCardValue29_1.Selected.Value

});

ClearCollect(RelatedTicketsCol6, ForAll(Distinct(RelatedTicketsCol5, ThisRecord),ThisRecord.Result));

My next step is to LookUp all the items I wish to Patch.
Basically I want to patch all the items in the collection RelatedTicketsCol6 with the Id and value from the the Item I'm using.

How do i lookup all the Items in the SharePoint list i tried using LookUp but i always end up with Invalid type due to collection is  a table and I'm looking up a Text value.

LookUp(SharePointList, TicketID = RelatedTicketsCol6.Value, the value contains the text that equals the TicketID, but TicketID is a text field. I want to do a ForALL so i patch all items in with the same value

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @JimmyWork 
    This video by April Dunham on how to PATCH multiple lookup values will answer your question:
    https://www.youtube.com/watch?v=bmft4JFWJiY

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 395

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 287 Super User 2026 Season 1

Last 30 days Overall leaderboard