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 / Combobox data disappea...
Power Apps
Unanswered

Combobox data disappears from gallery after patch

(0) ShareShare
ReportReport
Posted on by 35

I created a gallery to be able to submit multiple lines to Sharepoint with the same ID, so these can be grouped in another screen under one "request" (I did it based on this Shane video).

Although, when I save the first line of the gallery to my collection, the data from the comboboxes disappear.

I'll copy here the details of one of the comboboxes I have:

DefaultSelectedITems property: 

 

{Result: ThisItem.CommercialID} // I also tried {CommercialID: ThisItem.CommercialID}, but it didn't work either

 

Items property: 

 

Distinct(
Sort(
Filter(
coll_getPOData,
DateValue(ValidFrom) <= DataCardValue2_3.SelectedDate &&
DateValue(ValidTo) >= DataCardValue2_3.SelectedDate &&
Supplier = ComboBox1_1.Selected.Value
),
CommercialID,
SortOrder.Ascending
), CommercialID
)

 

 Save button's OnSelect property:

 

Coalesce(
 If(
 drop_Opcos_1.SelectedText.Value = "Select Market" ||
 !IsBlank(PriceError_Label.Text),
 DisplayMode.Disabled
 )
);
Patch(
 colPOitems, ThisItem, 
{CommercialID: CID_ComboBox.Selected.Value, 
SAPID: SAPID_ComboBox.Selected.Value, 
Description: Description_TextInput.Text, 
TranType: TranType_ComboBox.Selected.Value, 
ItemPrice:ItemPrice_TextInput.Text, 
CCY: CCY_TextInput.Text, 
QTY: QTY_TextInput.Text, 
LineTotal: LineTotal_TextInput.Text,
ShowSaveButton: false}
);
Collect(
 colPOitems, 
{CommercialID: "", 
SAPID: "", 
Description: "", 
TranType: "", 
ItemPrice:"", 
CCY: "", 
QTY: "", 
LineTotal: "",
ShowSaveButton: true}
)

 

 Could someone please advise what I'm missing? Thanks!

Categories:
I have the same question (0)

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard