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 / Lookup Field Combobox ...
Power Apps
Unanswered

Lookup Field Combobox OnChange collection updating all items in the Gallery not just the one

(0) ShareShare
ReportReport
Posted on by 160

I have a lookup field that is a combobox called Location.  When not blank, this field auto-populates other fields with WorkAddress, WorkCity, and WorkState.  The data is pushed to SharePoint (datasource) properly with the exception of the WorkState field (Dropdown).  I have two issues:

  1. The OnChange property for Location is updating all items in the canvas app instead of just the item.  But, as stated above, it is updating the SharePoint list correctly except for the WorkState.
  2. The WorkState Update property is throwing an error and from all of my research and past experience, the formula looks correct.  The error is "Expected Record Value".  

Here are my formulas on each where PSDR TAA Addresses is a lookup list.  The main datasource is EmpDB:

 

Location.OnChange:  Clear(colLocationUpdate);
ClearCollect (colLocationUpdate,
LULocationDataCardValue.SelectedItems.Value)

 

Location.Update:  LULocationDataCardValue.Selected

 

WorkState.Update:

If(
!IsBlank(LULocationDataCardValue),ForAll(
colWorkState,
{
Id: LookUp('PSDR TAA Addresses',STATE = Result).ID,
Value: LookUp('PSDR TAA Addresses',STATE = Result).STATE
}
))

 

Thank you in advance for your assistance.

 

 

Categories:
I have the same question (0)
  • JordanDeVan Profile Picture
    73 on at

    Is the datasource of your gallery the collection or the SharePoint list? Also, what is the name of your gallery?

  • GoGorilla Profile Picture
    160 on at

    @JordanDeVan The data source for the gallery is a SharePoint List called EmpDB.  My gallery is named Gallery. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard