web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / filter gallery with co...
Power Apps
Unanswered

filter gallery with combo with custom text in combo display field

(0) ShareShare
ReportReport
Posted on by 177

Hi. I am having a problem with a Power App.

The PowerApps data is from two SharePoint lists: list1 and list2.

“list1” contains data about some items.

“list2” contains data on people who made the items in list1.

One person can make many items.

In “list1” is a lookup field on ID of “list2” (in order to connect each item to a person).

In the app there is a gallery, “galItems”, for “list1” (the items).

I have a multiselect comboBox, “comboBoxPerson”, linked to “list2” (people) in order to filter the gallery by people (i.e. show only items made by selected people).

 

Items for “comboBoxPerson”:

list2

 

Items for gallery:

Filter(AddColumns(list1,"tmpId",FAMILY_NAME.Id),IsBlank(LookUp(ComboBoxPerson.SelectedItems,ID=tmpId))=false)

 

This works fine.

But I want to display more info in “ComboBoxPerson” (full name, date of birth or if that is blank year of birth).  So I set “ComboBoxPerson” Items:

AddColumns(list2,"tmpId",ID,"comboPerson",FAMILY_NAME &", "& GIVEN_NAME&" "&"b."&If(IsBlank(dateOfBirth),Text(yearBirth),Text(dateOfBirth,"dd/mm/yy")))

 

And I set “comboBoxPerson” displayFields to comboPerson.

 

“comboBoxPerson” itself functions OK but galItems shows all items in list1 if one or any number of persons are selected in “comboBoxPerson”,  if none selected then galItems is empty.

 

Can anyone tell me what I am doing wrong?

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard