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

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
Highlighted
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
Highlighted
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 ?

Highlighted
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.
Highlighted
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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,251)