cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JMpm
New Member

Combo Box multiple selections not saving values to Azure SQL Table

I am trying to get multiple selections in a combo box to save to my Azure SQL Data table and have had no luck so far. Only the most recent selection of the two items selected will save. Is there any way to allow multiple selections to save? 

 

Here are my AllowedValues: DataSourceInfo('[dbo].[tblFailure]', DataSourceInfo.AllowedValues, "failure")

And Update: ComboBox2.Selected.failure

 

Thank you in advance for any help!

1 ACCEPTED SOLUTION

Accepted Solutions
Meneghino
Community Champion
Community Champion

Please have a look here on the approach needed for SQL:

https://baizini-it.com/blog/index.php/2017/10/10/powerapps-101-many-to-many-relationships-between-ta...

 

Please comment on the blog or let me know if anything is unclear

View solution in original post

5 REPLIES 5
Drrickryp
Super User II
Super User II

Hi @JMpm

I have never used a multiselect combobox to save to Sql but there was a blog post about saving multiple selections from a combobox to an Excel spreadsheet.  It might give you a place to start.  https://powerusers.microsoft.com/t5/PowerApps-Community-Blog/PowerApps-Get-and-save-multiple-selecti...   Maybe @darogael or @Meneghino can give you some insight.  Good luck

mokhawaja
Kudo Collector
Kudo Collector

Hi, I think SQL doesn't support saving multiple values!

That's what it seems like, I haven't found a post yet where someone using SQL has successfully made a multiple selection save.

Meneghino
Community Champion
Community Champion

Please have a look here on the approach needed for SQL:

https://baizini-it.com/blog/index.php/2017/10/10/powerapps-101-many-to-many-relationships-between-ta...

 

Please comment on the blog or let me know if anything is unclear

View solution in original post

Teaners26
Helper I
Helper I

Has anyone found the solution for this with Sharepoint?  Mine also only saves the most recent value.

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,428)