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

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
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

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 (4,991)