cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cmalm
Helper II
Helper II

Combo Box in Gallery thats Items are Distinct

I have a gallery thats items are grouped using the distinct function for values of a lookup field in a sharepoint list. 

 

I have a combo box that I'd like to display a text field from the parent table of the above lookup field.

 

I need to know what to enter into the properties (Items, DisplayFields, & DefaultSelectedItems) of the combo box to display the above mentioned text field.

 

I'm lost. Please help!!!

1 ACCEPTED SOLUTION

Accepted Solutions
cmalm
Helper II
Helper II

Oops. It is

 

Filter(parent_table, parent_table_pk = ThisItem.Result)

View solution in original post

3 REPLIES 3
cmalm
Helper II
Helper II

The solution is:

 

Filter(parent_table, child_table_pk = ThisItem.Result)

 

Can anyone tell me the code for a label's text field as the above doesn't work?

cmalm
Helper II
Helper II

Oops. It is

 

Filter(parent_table, parent_table_pk = ThisItem.Result)

View solution in original post

Hi,

 

It looks like you were able to figure out the issue that you were having. I wanted to add a little more information if you would like to learn more, please take a look.

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

 

Regards,

 

Alex

 

-------

 

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

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

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (82,637)