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 Apps - Building Power Apps
Answered

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 766 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard