cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Helper II
Helper II

Oops. It is

 

Filter(parent_table, parent_table_pk = ThisItem.Result)

View solution in original post

3 REPLIES 3
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?

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (10,908)