How to Patch Power Apps Combo Box [With Examples]

When you start building real apps in Power Apps, the combo box and the Patch function quickly become two of your best friends.

They give you a lot of control over how users select data and how that data is saved to SharePoint or collections. But they can also be a bit confusing, especially when you deal with choices, people fields, or lookup columns.

In this Power Apps tutorial, we will walk through the topics below:

  • Power Apps Patch function works with combo boxes
  • Patch a single combo box value to a SharePoint list
  • Power Apps patch multiple selected values
  • How to patch people fields and lookup columns
  • Patch Power Apps combo box values to a collection

Assume you already know how to create a Power Apps canvas app and connect it to SharePoint. We will focus on the combo box and the Patch part.

Scenario 1: Patch Power Apps Combo Box Value to SharePoint List

Imagine a SharePoint list named Workers with:

ColumnData type
TitleSingle line of text
WorkModeChoice [WFH, WFO, Hybrid]
Power Apps patch combo box value to SharePoint list

In a Power Apps canvas app:

  1. Connect the Workers list as a data source.
  2. Add a Text input Txt_WorkerTitle for the worker’s name.
  3. Add a Combo box Cmb_WorkMode and set its Items property:
Choices(Workers.WorkMode)
powerapps patch combobox to sharepoint list

This tells Power Apps to load all the allowed choices from the WorkMode column. The combo box now returns records in the correct format for that column.

Add a Save button and set OnSelect:

Patch(
Workers,
Defaults(Workers),
{
Title: Txt_WorkerTitle.Text,
WorkMode: Cmb_WorkMode.Selected
}
)
PowerApps patch combo box value to SharePoint list

Key points:

  • For a SharePoint Choice column, you can pass Selected directly when Items uses Choices(List.Column).
  • You do not need to manually build { Value: “WFH” } in this case.

Preview the app, enter “Smith”, select “Hybrid”, and click Save.

PowerApps patch combo box value to SharePoint list

Refresh the SharePoint list. You should see a new item in the Workers list with the correct WorkMode as below.

PowerApps patch combo box to SharePoint list

Scenario 2: Patch Combo Box Selected Value Without a Power Apps Button

Sometimes you want to automatically patch when the user selects a value, without a Save button. For example, each time the user selects a work mode, a new record is created.

Use the same combo box and text input. This time, set the combo box’s OnChange property:

Patch(
Workers,
Defaults(Workers),
{
Title: Txt_WorkerTitle.Text,
WorkMode: Cmb_WorkMode.Selected
}
)
Power Apps patch combo box selected value

Now, when the user types a name and changes the combo box selection, a new row is patched into the Workers list immediately.

Patch Combobox selected items to a SharePoint list
Patching combo box selected item to SharePoint list

When to use:

  • Small utility apps.
  • Internal tools where instant save is fine.

When not to use:

  • Forms where the user expects a chance to review and then save.
  • Scenarios that need validation before saving.

Scenario 3: Power Apps Patch Combo Box Multiple Values (multi‑select choice)

Combo boxes really shine when you enable multi‑select. Let’s extend the Workers list so one person can have multiple work modes.

Steps in SharePoint:

  1. Edit the WorkMode column.
  2. Turn on Allow multiple selections.
  3. Save the column.
Power Apps patch combo box multiple values

Back in Power Apps:

  1. Select Cmb_WorkMode.
  2. Turn on Allow multiple selection in the right pane.
  3. Keep Items as:
Choices(Workers.WorkMode)
powerapps patch combobox multiple values

Now update the Save button to:

Patch(
Workers,
Defaults(Workers),
{
Title: Txt_WorkerTitle.Text,
WorkMode: Cmb_WorkMode.SelectedItems
}
)
PowerApps patch combo box multiple value to SharePoint list

Important details:

  • For multi‑choice columns, you must pass a table of records.
  • SelectedItems already returns a table of choice records, so you do not need to loop or use ForAll.
  • Make sure the SharePoint column allows multiple choices, only one will be stored.

Example:

  • Title: “Elena”
  • WorkMode: WFH and WFO selected in the combo box
Patch Combo box multiple items to a SharePoint list

Save the record and check the list: both choices should be stored in the same row.

Combobox multiple selection patch to SharePoint list

Scenario 4: Patch Power Apps Combo Box to a SharePoint Person Field

SharePoint Person columns are more complex because, behind the scenes, they store an object with email, claims, and other metadata.

Let’s say your Workers list now has:

  • Name (Person or Group, single selection)
  • WorkMode (Choice)
Power Apps patch combo box to sharepoint person field

Step 1: Build a People Combo Box

  1. Add the Office365Users connector.
  2. Add a combo box Cmb_Worker.
  3. Set Items:
Office365Users.SearchUser()
  1. In the Fields section on the right:
    • Primary text: DisplayName
    • Search field: Mail

Now, the combo box searches for users by name and displays their display names.

Power Apps patch combo box to the sharepoint person field

Add a radio control Rdo_WorkMode and set Items:

Choices(Workers.WorkMode)
Patching a Person Sharepoint Column from a Power Apps Combo Box

Step 2: Simple pattern when using a SharePoint person card

If you are using a Power Apps Edit form and the person data card it created for you, the combo box in that card will already be wired correctly. In that case, you can often just use the Form and the SubmitForm function, and you do not need a custom Patch for the Person field.

Step 3: Build the Person object manually

When your Items come from Office365Users.SearchUser() is not using a SharePoint Person data card, you can build the person value yourself:

Patch(
Workers,
Defaults(Workers),
{
Name: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & Cmb_Worker.Selected.Mail,
DisplayName: Cmb_Worker.Selected.DisplayName,
Email: Cmb_Worker.Selected.Mail,
Department: "",
JobTitle: "",
Picture: ""
},
WorkMode: Rdo_WorkMode.Selected
}
)

Notes:

  • The Claims format can vary between tenants, but the “i:0#.f|membership|” & Email pattern is very common.
  • You can leave Department, JobTitle, and Picture empty if you do not use them.
  • This pattern is useful when you have a completely custom screen.
Patch person from Power Apps ComboBox to SharePoint People field

Scenario 5: Power Apps Patch Combo Box to a SharePoint Lookup Column

SharePoint Lookup columns also store records behind the scenes. A combo box is a good way to select one or more related records.

Assume you have two lists:

  1. Organizer
    • Title (text)
    • Organizer ID (Number)
Power-Apps-patch combo box to SharePoint lookup column
  1. Events
    • Title (text)
    • Organizer (Lookup to Organizer.Title)
    • ID_Organizer (Lookup to Organizer.Organizer ID)
    • The default lookup created by SharePoint (Organizer:ID)
How to patch PowerApps combo box item to SharePoint lookup column

Step 1: Bind the combo box

In Power Apps:

  1. Connect the Events list.
  2. Add a text input Txt_Event_Title.
  3. Add a combo box Cmb_Organizer.
  4. Set Items:
Choices(Events.Organizer)
Power Apps patch combo box to SharePoint lookup field

Because you are using Choices(Events.Organizer), the combo box returns records in the right shape for the lookup column.

Step 2: Patch the lookup value

Set the Save button OnSelect:

Patch(
Events,
Defaults(Events),
{
Title: Txt_Event_Title.Text,
Organizer: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: Cmb_Organizer.Selected.Id,
Value: Cmb_Organizer.Selected.Value
}
}
)

Why this works:

  • SharePoint expects the SPListExpandedReference type for lookup fields.
  • Id is the ID of the related item in the Organizer list.
  • Value is the text value shown in the lookup column (Organizer Title).
PowerApps patch combo box to SharePoint lookup field

If the Events list also includes a lookup to Organizer ID, you can configure a second combo box or reuse the same selection and patch that lookup column in a similar way, using the right Id and Value from the related list.

Patch a SharePoint LookUp column with a PowerApps combobox
Patch a PowerApps combobox to SharePoint LookUp column

Scenario 6: Patch combo box value to a Power Apps collection

You do not always need SharePoint. Sometimes you just want to build a collection and show the data in a gallery.

Let’s build a simple project list in a collection collProject with:

  • ProjectName (text)
  • Technology (text)

Step 1: Create the collection

On the screen’s OnVisible:

ClearCollect(
collProject,
{ ProjectName: "Project1", Technology: "Python" }
)

Add a vertical gallery and set Items:

collProject
Power Apps patch combo box value to collection

Step 2: Add the combo box and patch

Add:

  • Text input Txt_ProjectName
  • Combo box Cmb_Technology

Set Items of Cmb_Technology:

["Python", "SharePoint", "Power Apps"]
Power Apps patch combo box value to the collection

Now set the Save button OnSelect:

Patch(
collProject,
Defaults(collProject),
{
ProjectName: Txt_ProjectName.Text,
Technology: Cmb_Technology.Selected.Value
}
);
Reset(Txt_ProjectName);
Reset(Cmb_Technology);
Path Combo box item to a Power Apps Collection

What is happening:

  • Defaults(collProject) returns an empty record shape.
  • The Power Apps Patch adds a new record to the collection.
  • The gallery updates automatically because it is bound to the collProject.
Power Apps patch combo box item to collection

You can later patch this collection to SharePoint or Dataverse, or keep it local for temporary data.

PowerApps patch combo box value to collection

Updating existing records with Power Apps Combo box and Patch

So far, we focused on creating new records using Defaults(DataSource). Very often, you want to update an existing record instead.

A common pattern:

Patch(
Workers,
LookUp(Workers, ID = Gallery_Workers.Selected.ID),
{
WorkMode: Cmb_WorkMode.Selected
}
)

Key ideas:

  • Use LookUp on the data source to get the existing record you want to change.
  • Change only the fields you want to update; other fields stay as they are.
  • This pattern is ideal for “Edit details” screens where the combo box is inside a form or gallery.

You can use the same idea for person fields, lookup columns, and collections.

Common mistakes and how to avoid them

Here are some issues you will probably run into at some point, and how to fix them.

  1. Using .Selected.Value when the column expects a record
    • Symptom: Patch fails or stores a blank value.
    • Fix: For Choice and Lookup columns where Items is Choices(List.Column), use .Selected or .SelectedItems instead of .Selected.Value.
  2. Not enabling multiple selections in SharePoint
    • Symptom: Only one value is saved even when using SelectedItems.
    • Fix: In SharePoint, open the column settings and turn on Allow multiple selections.
  3. Combo box Items not matching the SharePoint field
    • Symptom: Patch works for the visible text but related fields are blank or the patch fails.
    • Fix:
      • For SharePoint Choice/Lookup: use Choices(List.Column) as Items.
      • For Person columns: use a people data card or build the user object using @odata.type.
  4. Wrong @odata.type for Person or Lookup columns
    • Symptom: Patch fails with a type or schema error.
    • Fix:
      • Person: "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser".
      • Lookup: "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference".
  5. Trying to patch multiple complex values using a dropdown
    • Symptom: You cannot select more than one item or store multiple people or choices.
    • Fix: Use a combo box for multi‑select Person, Lookup, and Choice fields; dropdown does not support multiple selection.

We have seen how to use the Patch function with Power Apps combo boxes in different real‑world scenarios, such as patch a single combo box value to a SharePoint list, Patch selected values without a button, patch multiple values to a multi‑choice column, and more.

Also, you may like some more Power Apps tutorials:

>

Build a High-Performance Project Management Site in SharePoint Online

User registration Power Apps canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

Power Platform Tutorial FREE PDF Download

FREE Power Platform Tutorial PDF

Download 135 Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…