cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
espenjor
Advocate I
Advocate I

Combobox multiple value store and retrieve

The is one issue I have not been able to find a solution to in this group or by searching Google.

- If I save a multiple value result from a combo box (e.g. "One&Two&Three") and field in SQL (NOT SharePoint) and then

- Retrieve the data "One&Two&Three" back to the combox it seems to be correct, and when I have the data back to sql the result is blank.

 

I know there are a lot of solution there, but they dont actually work (according to comments to the "solution"). Is this simply not possible?

5 REPLIES 5
RandyHayes
Super User III
Super User III

@espenjor 

Very possible, but can you supply more information on the formulas you have for your DefaultSelectedItems property, the Items property and if this is NOT in an EditForm, then the Formula you are using to submit the data to your SQL table.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
RandyHayes
Super User III
Super User III

@espenjor 

Were you able to work through your issue or do you still need help?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

A partly workaround is is check is the multi value check box have been checked and not try to do a save if this unchanged. The problem is till that you will need reselect all selected items, because when PowerApps are retrieving data if looking for an ID not the same - i belive.
Anyway, here is my bode in DefaultSelectedTems, and are more then grateful for any comments that canbring me one step further.

If(varMode<>"New";
ForAll(
Filter(
RenameColumns(
Split(
LookUp(
Sporsmal;
Nummer = varValgtNummer;
Profil
);
"&"
); "Result"; "Value");
!IsBlank(Value)
);
{Value: Value}
))

RandyHayes
Super User III
Super User III

@espenjor 

It depends.  Is this in an EditForm?  Is Sporsmal the datasource for your form?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Yes, its a edit form, and Sporsmal is the source.

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 (2,898)