web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / DefaultSelectedItems m...
Power Apps
Answered

DefaultSelectedItems multi Select Combobox

(0) ShareShare
ReportReport
Posted on by 170

Hi, 

I have Combobox field with

Items: Filter(Cars;Brand="A")

Update: ForAll(Combobox.SelectedItems As Item;
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser";
Id: Item.ID;
Value: Item.Model
})

DefaultSelectedItems: Parent.Default

 

And I got an issue: everything saves for new item but if I open an item from SP this Combobox display correct models, but Combobox.SelectedItems is blank. So after next saving this field also blank. I think the problem in DefaultSelectedItems and I must to change it. 
something like that: ForAll(
Parent.Default; Filter(Brands; Model=Value))

 


Please help with this parameter.

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @shnurich ,

     

    Could you please share more details about your scenario? What type is this column?

     

    Based on your description, I assume it is a multi-select LookUp column. Please try below formula in DefaultSelectedItems:

    ForAll(
     ThisItem.ColumnName As items; 
     LookUp(Brands; Model= items.Value)
    )

     

    Best regards,

  • CU09100753-0 Profile Picture
    170 on at

    Yes, you are right!

    Thank you, I completely forgot about such a decision!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard