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 / Data in Browse gallery
Power Apps
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

 

I have the same question (0)
  • Verified answer
    Static Profile Picture
    118 on at

    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.

  • haziqrahim Profile Picture
    34 on at

    Great solution.

     

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

     

    Thanks a lot

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard