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 / how to patch a multibl...
Power Apps
Unanswered

how to patch a multible choice dropdawn to a list

(0) ShareShare
ReportReport
Posted on by 132

how to patch a multible choice dropdown to a lcolumn in a list?

Categories:
I have the same question (0)
  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @vaso,

     

    Patching a multi-select combobox to a multi-select choice field will look as follows (see .SelectedItems) :

    Patch(
     ListName,
     Defaults(ListName), //Change to LookUp / a record reference if you want to update
     {
     requiredField1: "test",
     MultChoiceColumn: ComboBoxName.SelectedItems
     }
    )

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • Rajkumar_M Profile Picture
    3,741 Super User 2025 Season 2 on at

    HI @vaso 

    Plz try this function

     

    Patch( 'data source', LookUp('data source', columnname), { dropdown: dropdown.SelectedItems } )

     

    Refer this link :- PATCH A SharePoint Choices Column With Multiple Values In Power Apps - Matthew Devaney

     

    Thanks! 

  • vaso Profile Picture
    132 on at

    I m missing something

    I type the patch

    Patch('VISIT PLAN & FEEDBACK R1';Defaults('VISIT PLAN & FEEDBACK R1');{Target:stoxos.SelectedItems) and is not working

  • vaso Profile Picture
    132 on at

    Sorry

    Patch('VISIT PLAN & FEEDBACK R1';Defaults('VISIT PLAN & FEEDBACK R1');{Target:stoxos.SelectedItems})

  • LaurensM Profile Picture
    12,516 Moderator on at

    @vaso at first glance that looks correct. Is there a specific error you are receiving?

     

    A few things you could do to troubleshoot the issue:

    1. Make sure the ComboBox called stoxos has Choices('VISIT PLAN & FEEDBACK R1'.Target) as its Items property
    2. Make sure you are not forgetting any required fields in your Patch (e.g. Title)
    3. Make sure the column Target allows multiple choices (not just 1 choice)
  • vaso Profile Picture
    132 on at

    @LaurensM 

    Hi, sorry I m a beginner...

    What if my column is a text?

     

     

  • vaso Profile Picture
    132 on at

    I made the column Target a "choices" one with the same choices the combobox stoxos has

    Yes i have the title the formula is working without patching that column that way and when i add the target is having the red underline saying that the target is not in line with the anticipated "record" and that a tale is found. (this is a translate from Greek language)

     

  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    No worries, we are here to help 😊

     

    If it is a text column then we will need to concatenate the values within the ComboBox with a separator such as a comma, space...

    Patch(
     'VISIT PLAN & FEEDBACK R1';
     Defaults('VISIT PLAN & FEEDBACK R1');
     {
     //You might have to replace Value (with e.g. a columns name) if it gives an error
     Target: Concat(stoxos.SelectedItems; Value; ", ")
     }
    )
    
    //This will save your options as text e.g. Choice1, Choice2, Choice3

     

    I hope this helps!

  • LaurensM Profile Picture
    12,516 Moderator on at

    Ok we are getting close 😊. Now I expect that it will still be a single-select choice column since it expects a record.

     

    Try to edit the column, go to 'more options' and set the toggle 'Allow multiple selections' to true - afterwards refresh your datasource in the Power Apps editor. 

  • vaso Profile Picture
    132 on at

    when i right the formula when i reach the point of writing value then it opens a bracket (   like a formula

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard