Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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(
 
 )
 )
 )
)

 

 

 

  • nunuNMS Profile Picture
    88 on at
    Re: Filter Gallery Based on another table if the record doesn't exist

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

  • Michael E. Gernaey Profile Picture
    40,666 Super User 2025 Season 1 on at
    Re: Filter Gallery Based on another table if the record doesn't exist

    Hi @nunuNMS 

     

    Why is the IsEmpty empty?

     

  • nunuNMS Profile Picture
    88 on at
    Re: Filter Gallery Based on another table if the record doesn't exist

    Hello,

     

    both of the tables are in dataverse

  • Michael E. Gernaey Profile Picture
    40,666 Super User 2025 Season 1 on at
    Re: Filter Gallery Based on another table if the record doesn't exist

    Hi @nunuNMS 

     

    Is this sharepoint or dataverse?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,942 Most Valuable Professional

Leaderboard