cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SunnyJess
Helper II
Helper II

Issue Patching Combobox

Hi All,

 

I have a submit button that when clicked submits data to an excel form.

 

Everything works fine except the combobox...  the current formula works, but it submits "allowedvalues" rather than the selected value.

 

How do I get that to patch the selected value please?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @v-xida-msft

 

I had a blank line in the top of my data that prevented it from picking up the selected data.

 

Once that was sorted it worked perfectly.

 

Thanks

View solution in original post

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @SunnyJess,

 

Could you please share a screenshot of your PowerApps app's configuration?

Could you please show a bit more about the Combobox control that you mentioned?

Which data source do you set for the Combobox control within your PowerApps app?

 

I have added a Combobox control within my PowerApps app and the Items property of it set to a SharePoint list data source. I have made a test on my side and please take a try with the following workaround:13.JPG

The OnSelect property of the Button control set to following formula:

Patch(Table1,Defaults(Table1),{TaskName:"Task4",Executor:Concat(ComboBox1.SelectedItems,First_x0020_name&" ")})

Note: The First name field is a column in my SharePoint list that I mentioned above (SharePoint list data source). The Table1 is an Excel table data source within my PowerApps app.

 

The Patch function works well as below:14.JPG

 

 

More details about the Concat function, please check the following article:

Concat() function

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-xida-msft

 

I had a blank line in the top of my data that prevented it from picking up the selected data.

 

Once that was sorted it worked perfectly.

 

Thanks

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,061)