cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Champion
Community Champion

Re: Combo Box multiple selections not saving values to Azure SQL Table

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

Re: Combo Box multiple selections not saving values to Azure SQL Table

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

Highlighted
Kudo Collector
Kudo Collector

Re: Combo Box multiple selections not saving values to Azure SQL Table

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

Highlighted
New Member

Re: Combo Box multiple selections not saving values to Azure SQL Table

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

Highlighted
Community Champion
Community Champion

Re: Combo Box multiple selections not saving values to Azure SQL Table

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

Highlighted
Helper I
Helper I

Re: Combo Box multiple selections not saving values to Azure SQL Table

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

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (2,346)