cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
barlowse
Advocate IV
Advocate IV

Multiple Selection on lookup field

I have an application using Common data service entities. One entity has a relationship to the User entity, and the app control is set to allow multiple selection. However only one (last one selected) is stored in the entity on update. I have tried changing the update on the control to DataCardValue46.SelectedItems.'Full Name' - but I get an error on the card saying - "The property expects record values, but this rule produces incompatible Table values". Does anyone know how I can get the selected items stored in the table field?

2 REPLIES 2
v-sheyu-msft
Community Support
Community Support

HI @barlowse,

Can you share a bit more about your issue?

Which relationship do you use?

 

The type of value generated by multiple selection in the combo box does not match with the type of the lookup field.

You can convert the table value to the record value.

I made a test.

I assume the relationship is many-to-many.

 9.PNG

Set Update property of DataCardValue25 to :

{Value:Concat(DataCardValue25.SelectedItems,'Full Name'&",")}

Regards,

Eason

Community Support Team _ Eason YU
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

When I try to do as you suggested - I get the message - "The property expects Record values, but this rule produces incompatible Text values.

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

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Users online (2,274)