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 Based o...
Power Apps
Unanswered

Filter Gallery Based on another table if the record doesn't exist

(1) ShareShare
ReportReport
Posted on by 88

Hey Guys if anyone can help me with my filter formula,

 

I am trying to filter my IR Requets gallery where if its current status is Approved and no record with the same IR Request Id exist in the PO Table those certain records should be displayed when the user toggle the switch.

 

In my gallery the column is called IR Request Id and its of type auto number,

and in my table PO table its called IR Request Id and of type lookup, this is what i have got so far if anyone can assist me on this i would really appreciate it and thank you.

 

 

Filter(
 'IR Requets',
 (IsBlank(IRidInp.Text) || StartsWith('IR Request Id', IRidInp.Text)) &&
 (IsBlank(projectDeptTitleInp.Text) || StartsWith('Project/ Department Title ', projectDeptTitleInp.Text)) && 
 (IsBlank(entitiesInp.Selected) || Entity.Entity = entitiesInp.Selected.Value) && 
 (IsBlank(GBSInp.Selected) || 'GBS Project No.'.'Project GBS NO.' = GBSInp.Selected.Value) &&
 (IsBlank(IRStatusInp.Selected) || 'Current Status' = IRStatusInp.Selected.Value) 
 
 &&
 (
 ToggleApproved.Value = false || 
 (
 'Current Status' = "Approved" && 
 IsEmpty(
 
 )
 )
 )
)

 

 

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hi @nunuNMS 

     

    Is this sharepoint or dataverse?

  • nunuNMS Profile Picture
    88 on at

    Hello,

     

    both of the tables are in dataverse

  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hi @nunuNMS 

     

    Why is the IsEmpty empty?

     

  • nunuNMS Profile Picture
    88 on at

    This is how far I got to the logic, I wasn’t able to continue writing the formula.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard