web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery Filter Not Wor...
Power Apps
Unanswered

Gallery Filter Not Working

(1) ShareShare
ReportReport
Posted on by 1,360
A new requirement isnt working for me.
The customer wants to filter by the SharePoint ID number.
The below FX logic works to filter by the ID number but the other filter doesnt work.

If(

    IsBlank(txtSearchID),
    Filter(
        'Regional Bank Execution Team Intake - DEV',
        BusAlignment.Value = cboBusAlignment.Selected.Value || IsBlank(cboBusAlignment.Selected.Value),
       
        ExeTeamMember.DisplayName = cboExecTeamMember.Selected.Value || IsBlank(cboExecTeamMember.Selected.Value),
        StartsWith(
            'Request Title',
            txtSearchBox.Text
        )
    ),
    Filter(
        'Regional Bank Execution Team Intake - DEV',
        ID = Value(txtSearchID.Text) || IsBlank(txtSearchID.Text)
    )
)
 
The below works fine but I dont have the ID filter.

    Filter(
        'Regional Bank Execution Team Intake - DEV',
        BusAlignment.Value = cboBusAlignment.Selected.Value || IsBlank(cboBusAlignment.Selected.Value),
       
        ExeTeamMember.DisplayName = cboExecTeamMember.Selected.Value || IsBlank(cboExecTeamMember.Selected.Value),
        StartsWith(
            'Request Title',
            txtSearchBox.Text
        )
    )
 
Any Suggestions?
Categories:
I have the same question (0)
  • Verified answer
    jpespena Profile Picture
    335 on at
    Gallery Filter Not Working
    Hi,
     
    Try this:
    Filter(
         'Regional Bank Execution Team Intake - DEV',
        Or(
            IsBlank(txtSearchID.Text),
            ID = Value(txtSearchID.Text)
        ),
        Or(
            IsBlank(cboBusAlignment.Selected.Value),
            BusAlignment.Value = cboBusAlignment.Selected.Value
        ),
        Or(
            IsBlank(cboExecTeamMember.Selected.Value),
             ExeTeamMember.DisplayName = cboExecTeamMember.Selected.Value
        ),
        StartsWith(
                'Request Title',
                Trim(txtSearchBox.Text)
        )
    
    )
     
  • golfnutt82 Profile Picture
    1,360 on at
    Gallery Filter Not Working
    Wow, I that was perfect.
    Thank you!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard