Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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.

  • CU09100753-0 Profile Picture
    170 on at
    Re: DefaultSelectedItems multi Select Combobox

    Yes, you are right!

    Thank you, I completely forgot about such a decision!

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: DefaultSelectedItems multi Select Combobox

    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,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard