cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
andrewp3283
Frequent Visitor

Show items in drop down if not exist in gallery

Hi 

 

I have a weekly calendar and the user can create a new week and add all the users into that week from a SharePoint List - what i want then to be ale to so is if then the user adds a new person to the list i would like the DropDown to only show the users to select if they have not been added to the week within that gallery and not show all users.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
sperry1625
Solution Supplier
Solution Supplier

To assist, more information is needed. Where is your user list stored, where is the "already added" user list?

 

To provide basic pseudo code you could do something like Filter( userList, Not( name in alreadyAddedUsers ) )

 

Without more specifics I cannot provide and more detail.

 

Regards,

-S

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Regards,

-S

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
sperry1625
Solution Supplier
Solution Supplier

To assist, more information is needed. Where is your user list stored, where is the "already added" user list?

 

To provide basic pseudo code you could do something like Filter( userList, Not( name in alreadyAddedUsers ) )

 

Without more specifics I cannot provide and more detail.

 

Regards,

-S

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Regards,

-S

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

andrewp3283
Frequent Visitor

thanks think that as fixed it, my solution is 'Filter(collection, Not(FieldName in gallery.AllItems.FieldName)'

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,892)