Hello Power Apps experts!
I am struggling with displaying the current values of two Combo Boxes in my form. Both are linked to different lists as data sources.
The first Combo Box uses data from the 'Product Tags' list, specifically from the text column 'Range'. The Items property of the Combo Box is set to:
'Product Tags'.Range
It submits data to the target list 'ECO TRACKER' correctly, but when I open it in Edit mode, I can't see any value—just a blank field.
I have the same issue with another Combo Box that uses data from the 'ECO TRACKER USERS' list, where the column 'USERNAME' is formatted as a Person or Group field. The Items property is set to:
'ECO TRACKER USERS'.USER_NAME
It also submits data to the 'ECO TRACKER' list correctly, but again, in Edit mode, I see a blank field.
Moreover, if the blank value is not filled in again, it deletes the current value in my target list.
I suspect the issue lies in setting the correct value for the DefaultSelectedItems property, but I haven't been able to find a solution for either Combo Box.
Thanks in advance for your advice!
[ThisItem.ColumnName]
[LookUp('ECO TRACKER', ID =SelectedItem.ID).Column]
Split(ThisItem.Column, "; ")
//In case of a standalone Combobox
Split(LookUp('ECO TRACKER', ID =SelectedItem.ID).Column, "; ")
//If in a form
ThisItem.PeopleColumn
LookUp('ECO TRACKER', ID = selectedItem.ID).PeopleColumn
//If in a form
ForAll(
Split(
ThisItem.PersonColumn,
"; "
),
First(Office365Users.SearchUser({searchTerm: ThisRecord.Value}))
)
ForAll(
Split(
LookUp(
'ECO TRACKER',
ID = SelectedItem.ID
).PersonColumn,
"; "
),
First(Office365Users.SearchUser({searchTerm: ThisRecord.Value}))
)
{Range: ThisItem.'ECO TRACKER'.Value}
Choices('ECO TRACKER USERS'.USER_NAME)
ThisItem.USER_NAME
YourComboBoxName.Selected
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional