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 / Inspection app where i...
Power Apps
Answered

Inspection app where inspected items are removed

(0) ShareShare
ReportReport
Posted on by 421

Hi everyone.

I have built an inspection app that is working correctly so far.  I have a gallery that shows all items that need inspecting and am trying to build in a feature where the item will no longer show if its been inspected.  The formula below works, but I get a delegation issue and it is limiting the items shown for one of my users.  

 

f(Value(varUser.Department) = 6250,Filter(SortByColumns('EAM-PMT Game List',"GameName",Ascending,"Modifier",Ascending),StoreNum=116,Not(GameID in
EAMPMTCapture.GameID)),Filter(SortByColumns('EAM-PMT Game List',"GameName",Ascending),StoreNum=Value(varUser.Department),Not(GameID in EAMPMTCapture.GameID)))

 

Basically if the item is listed on 2 different data sets, the record is not shown on the gallery.

 

Is there a better way to not show an item in a gallery?  If I place a lookup field in the gallery from a different data source, can I filter the gallery with that label?  Ive tried a few ways unsuccessfully.

 

Thanks!

Chris

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,275 Most Valuable Professional on at

    Hi @ckserra33 ,

    You have a number of Delegation issues there particularly the relational lookup. Try the below - it is still a "hidden" limit on the result of the top filter

    With(
     {
     wList:
     Filter(
     'EAM-PMT Game List',
     (Value(varUser.Department) = 6250 && StoreNum = 116) ||
     StoreNum = Value(varUser.Department)
     )
     },
     SortByColumns(
     Filter(
     wList,
     !(GameID in EAMPMTCapture.GameID)
     ),
     "GameName",
     Ascending,
     "Modifier",
     Ascending
     )
    )

     

    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.

    Visit my blog Practical Power Apps

  • ckserra33 Profile Picture
    421 on at

    Hi @WarrenBelz 

    Thank you again for the help!  That worked perfectly!!  Had to hunt where to place the closing "}" but perfect!  Thanks again!

     

    Chris

  • WarrenBelz Profile Picture
    156,275 Most Valuable Professional on at

    Hi @ckserra33 ,

    Yep - problem with typing in Notepad with no "red lines" - original now fixed.

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

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard