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 / Search/Filter gallery ...
Power Apps
Unanswered

Search/Filter gallery with a dropdown

(0) ShareShare
ReportReport
Posted on by 24

Hello community,

 

I'm trying to build an app that would help us find a right contact from Sharepoint list  (all columns are a "single line of text" type)

 

Users could use SearchBox and/or dropdown

 

Searchbox with current formula works perfectly:

 

Filter(CVSContactFinderSP,StartsWith(ProcessNameEN,SearchBox.Text))

 

Although I'm not able to write/find out what would be the right formula for the Dropdown1_1 to filter gallery based on column AccountableOrganization from SP list

 

I would really appreciate your help here.
Thanks

 

dropdown.JPG
AccountableOrganization Column.JPG
Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Filter([SPList], ( isBlank(Dropdown1_1.Selected.Value) Or  [Column_Name] = Dropdown1_1.Selected.Value) 

    And StartsWith(ProcessNameEN,SearchBox.Text))

    Please refer my comment as an accepted solution if it solve your problem!
    Regards.

  • TomasZF Profile Picture
    24 on at

    Hi, I'm not sure if I'm writing this correctly because now it does not retrieve any values

     

    TomasZF_0-1678455930801.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    put the whole function

    Filter([SPList], ( isBlank(Dropdown1_1.Selected.Value) Or  [Column_Name] = Dropdown1_1.Selected.Value) 

    And StartsWith(ProcessNameEN,SearchBox.Text))

  • TomasZF Profile Picture
    24 on at

    Is this correct?

     

    Filter(CVSContactFinder, ( isBlank(Dropdown1_1.Selected.Value) Or AccountableOrganization = Dropdown1_1.Selected.Value)
    And StartsWith(ProcessNameEN,SearchBox.Text))

     

    TomasZF_0-1678457242043.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    There is 1 additional bracket on the end ")" 
    when you remove the bracket if there still an error please send me the error 
    regards.

  • TomasZF Profile Picture
    24 on at

    I've removed the bracket at the end:

     

    Filter(CVSContactFinder, ( isBlank(Dropdown1_1.Selected.Value) Or AccountableOrganization = Dropdown1_1.Selected.Value)
    And StartsWith(ProcessNameEN,SearchBox.Text)

     

    TomasZF_0-1678457657023.png

    Thanks for your help

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sorry my bad! Please re-put the bracket and send me the error you see when you put the function

  • TomasZF Profile Picture
    24 on at

    No worries, please see the two errors below:

     

    TomasZF_0-1678458292001.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    as you can see, Fix the "isBlank" to "IsBlank" 
    and hover on your function with your mouse slowly to see if there is other errors

  • TomasZF Profile Picture
    24 on at

    IsBlank is fixed now.

    When I hover over Dropdown1_1

    TomasZF_0-1678458732343.png

    When I hover over AccountableOrganization 

    TomasZF_3-1678458810815.png

     

    When hovered over process name 

    TomasZF_2-1678458788477.png

    and SearchBox

    TomasZF_4-1678458859025.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard