cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Why does the combo box not save or retain the multiple values when I save it and retrieve?

So I have a combo box here in a form that is derived from a lookup field. I can add multiple values, but when I save and then look back at my data, it's back only having one field.

 

So I input 4 values into the combo box.

 

Annotation 2019-12-05 163303.png

Then after I save and look back into my form to check on my CopyTo field. It's back to only having one, the last one in the 4 values I gave. Why is this? Is my CDS not set up right? This was all built in though and powerapps gave me a combo box for my form for my lookup field.

 

Thank you.

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @Mgodby 


Can you please confirm how you are using this combobox control to save the values? Can you check if you are using Combobox2.SelectedItems instead of Combobox2.Selected? .SelectedItems is used to save multiple values here.

Also, can you share more details about the field here? What is the relationship between the lookup type field? By default, lookup only allows adding one record to the datasource as it creates a 1:N relationship.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-siky-msft
Community Support
Community Support

Hi @Mgodby ,

 

Are you using CDS as data source?

If so, It is not supported to path multiple lookup value in CDS, it will only save the last items of combo box to CDS lookup field.

If you want this feature, you can change your data source to SP list, which support multiple value in lookup column.

Otherwise, you could submit an idea to PowerApps Ideas Forum, if your feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

Best regards,

Sik

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (17,454)