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
Super User

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

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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,454)