cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Buddy2019
Level: Powered On

Filter gallery based on items not in a collection

Basically I want to only display gallery items that are NOT in the collections. Currently, I'm only able to display items that are in the collections inside the gallery.

 

Filter( TIME_SLOT, TimeValue in BookedTime.Slot) -> this works for only displaying items inside the collections. I've tried using the "NOT" delegate and ! isMatch() but they don't seem to work with the collections. 

 

Filter( TIME_SLOT, ! IsMatch(TimeValue, BookedTime.Slot))-> this gives an error. 

 

How can I display gallery items that are not inside the BookedTime collections ?

Gallery.PNG

 

 

BookedTime.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Filter gallery based on items not in a collection

Hey @Buddy2019 

 

Can you update your expression as:
Filter( TIME_SLOT, !(TimeValue in BookedTime.Slot))
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
Super User
Super User

Re: Filter gallery based on items not in a collection

Hey @Buddy2019 

 

Can you update your expression as:
Filter( TIME_SLOT, !(TimeValue in BookedTime.Slot))
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 177 members 3,312 guests
Please welcome our newest community members: