cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Englishweb
Level 8

Dropdown in a Gallery -->save selected value to Excel?

Hello

I am using Excel as the data source to populate a dropdown list in a GALLERY (not a form)

How do I patch the selected value of the dropdown back to an Excel cell?

Many thanks in advance for any suggestions!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Dropdown in a Gallery -->save selected value to Excel?

Since you indicated you are doing this from a gallery, I presume you are updating an existing Excel record with this value, so the syntax of the patch is:

Patch(ExcelConnection, Lookup(ExcelConnection, ExcelColumn = KeyValue), {ColumntoPatch: Dropdown1.Selected.Value})

where ExcelConnection is the connection you are using, ExcelColumn is your unique identified in your spreadsheet, KeyValue is the identified for the record you want to update from your gallery, ColumntoPatch is the name of the Excel column you want to update and Dropdown1.Selected.Value contains the user's selection for the dropdown.  

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Dropdown in a Gallery -->save selected value to Excel?

Since you indicated you are doing this from a gallery, I presume you are updating an existing Excel record with this value, so the syntax of the patch is:

Patch(ExcelConnection, Lookup(ExcelConnection, ExcelColumn = KeyValue), {ColumntoPatch: Dropdown1.Selected.Value})

where ExcelConnection is the connection you are using, ExcelColumn is your unique identified in your spreadsheet, KeyValue is the identified for the record you want to update from your gallery, ColumntoPatch is the name of the Excel column you want to update and Dropdown1.Selected.Value contains the user's selection for the dropdown.  

View solution in original post

Englishweb
Level 8

Re: Dropdown in a Gallery -->save selected value to Excel?

Perfect! Thank you very much for your help

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,849)