cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

How to work with Multiselect lookup column in Power app

I have a List A which has a column named System which is lookup (multi select) from master List B, Now I have created power app for List A and now trying to set default, update , items value for this column, how can I do that?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: How to work with Multiselect lookup column in Power app

Hi @vishalgoyal2472 ,

 

You can set below formula in the DefaultSelectedItems property of the combo box inside the data card:

{
        Id: LookUp('List B', Title = "test", ID), /* <- I assume that the Title is the source column and it is a Single line text type column in your 'List B'*/
        Value: "test"
    }

Note: Please add your 'List B' as a data source within your app firstly.

 

More details about setting a default value for a LookUp field in PowerApps, please check the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/Save-Filtered-Lookup-Value-in-List-Custom-For...

Please also check and see if the following blog would help in your scenario:

https://powerapps.microsoft.com/en-us/blog/default-values-for-complex-sharepoint-types/

 

In this way, you only need to change the property of DefaultSelectedItems of the combo box, and you can leave the default settings for Items and Update property inside Form.

 

Regards,

Mona

 

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

View solution in original post

4 REPLIES 4
Community Support
Community Support

Re: How to work with Multiselect lookup column in Power app

Hi @vishalgoyal2472 ,

 

You can set below formula in the DefaultSelectedItems property of the combo box inside the data card:

{
        Id: LookUp('List B', Title = "test", ID), /* <- I assume that the Title is the source column and it is a Single line text type column in your 'List B'*/
        Value: "test"
    }

Note: Please add your 'List B' as a data source within your app firstly.

 

More details about setting a default value for a LookUp field in PowerApps, please check the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/Save-Filtered-Lookup-Value-in-List-Custom-For...

Please also check and see if the following blog would help in your scenario:

https://powerapps.microsoft.com/en-us/blog/default-values-for-complex-sharepoint-types/

 

In this way, you only need to change the property of DefaultSelectedItems of the combo box, and you can leave the default settings for Items and Update property inside Form.

 

Regards,

Mona

 

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

View solution in original post

Highlighted

Re: How to work with Multiselect lookup column in Power app

@v-monli-msft 
Will it work in case of multiselect ?

Community Support
Community Support

Re: How to work with Multiselect lookup column in Power app

Hi @vishalgoyal2472 ,

 

Yes, combo box control is designed for multiple select field.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
NareshKumar
Regular Visitor

Re: How to work with Multiselect lookup column in Power app

If I select multiple value in Combo box , Lookup function will work?, eg.. I selected a, b , c , , Out put could be in text box (Angel, Bangle,Chamber )

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,747)