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 / Exclude item in combo ...
Power Apps
Answered

Exclude item in combo box if it appears as an item in a gallery

(0) ShareShare
ReportReport
Posted on by 64

I have a gallery displaying records that are tied to a specific parent ID. I want users to be able to also tie the record to other related records that are NOT tied to that parent ID using a combo box, but I don't want that combo box to show any of the items that already show in my gallery. 

 

Here's the gallery Items property: 

Filter(Efforts, ParentNarrativeID= NarrativeDropDown.Selected.ID)

The gallery then displays the result's 'Initiative Title'

 

Here's my current combo box items property:

Sort(Filter(Efforts, 'Effort Type'.Value="Canvas"), 'Initiative Title', Ascending)

 

What can I add to the combo box to filter out any Initiative Titles that already show up in the gallery?

Categories:
I have the same question (0)
  • Verified answer
    JD382 Profile Picture
    114 on at

    This will filter out items that don't have a ParentNarrativeID that is selected in NarrativeDropDown  (which is the only filter for your gallery).

     

    Sort(Filter(Efforts, 'Effort Type'.Value="Canvas" && !(ParentNarrativeID=NarrativeDropDown.Selected.ID)), 'Initiative Title', Ascending)

     

    Hope this helps!

     

  • JennC26 Profile Picture
    64 on at

    Thanks, @JD382. Right after submitting my question, the lightbulb went off and I was coming to the same realization and came up with the same formula above. Great minds 🙂 

     

    Thanks again for the response and validation!

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 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard