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 / Referencing collection...
Power Apps
Unanswered

Referencing collection item within Updateif

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello all,

 

I have the code below that tries to find a part description in a sharepoint list if a collection value is empty.  EditItems is my collection and 'Part Descriptions' is my sharepoint list.

 

The issue is that the code below doesn't seems to be able to properly reference EditItems[@'Part Number'], I continue to get blank values after this code runs.  If I replace EditItems['Part Number'] with an actual part number then the code correctly finds the match.

 

Is there a way to adjust the code below to find the corresponding EditItems 'Part Number'?

 

UpdateIf(
 EditItems,
 'PartDescription' = Blank(),
 {
 'PartDescription': LookUp(
 'Part Descriptions',
 'Part Number' = EditItems[@'Part Number'],
 'Short Description'
 )
 }
)

 

Thanks,

Travis

Categories:

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard