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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (9,441)