Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Data in Browse gallery

(0) ShareShare
ReportReport
Posted on by 34

Hi,

 

I'm having a problem on function to be used to display data in browse gallery. Im trying to display item that follows certain conditions. Data is from my sharepoint list. What i want to do is to filter data that satisfy column 'confirmed 1' as confirmed or pending, column 'confirmed 2' as confirmed or pending and column 'Approved' as pending.

 

haziqrahim_1-1701567316629.png

My working function right now as below

 

Filter('Jig Order','Approved'="Pending",StartsWith(Requestor, TextSearchBox1.Text))

 

The function above does not work to filter other column that contain value "rejected" as in the picture.

 

Really appreciate if anyone could help

 

Thanks a lot

 

  • haziqrahim Profile Picture
    34 on at
    Re: Data in Browse gallery

    Great solution.

     

    Also I found the solution by using an 'Or' instead of '||' function.

     

    Thanks a lot

  • Verified answer
    Static Profile Picture
    118 on at
    Re: Data in Browse gallery

    Hi @haziqrahim 
    Well ,based on your requirements, you want to filter items where 'Confirmed 1' is either 'Confirmed' or 'Pending', 'Confirmed 2' is either 'Confirmed' or 'Pending', and 'Approved' is 'Pending'. You can got this using the And and Or operators. Here's how you can modify your formula:

    Filter('Jig Order', 'Approved' = "Pending" && (StartsWith(Requestor, TextSearchBox1.Text) || IsBlank(TextSearchBox1.Text)) && ('Confirmed 1' = "Confirmed" || 'Confirmed 1' = "Pending") && ('Confirmed 2' = "Confirmed" || 'Confirmed 2' = "Pending") )

     

    Here dete4ail i think expalnation what I show above.

    'Approved' = "Pending": Ensures that the 'Approved' column is equal to "Pending".
    StartsWith(Requestor, TextSearchBox1.Text) || IsBlank(TextSearchBox1.Text): Filters based on the 'Requestor' column matching the text in TextSearchBox1, or if TextSearchBox1 is blank, it skips this condition.
    ('Confirmed 1' = "Confirmed" || 'Confirmed 1' = "Pending"): Checks if 'Confirmed 1' is either "Confirmed" or "Pending".
    ('Confirmed 2' = "Confirmed" || 'Confirmed 2' = "Pending"): Checks if 'Confirmed 2' is either "Confirmed" or "Pending".

    I hope this will help to you.

    Best regards

    Anton N.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard