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 / Dual searching a share...
Power Apps
Answered

Dual searching a sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a sharepoint list set up like the attached screenshot. 

 

Capture.PNG

 

Each line has the company, and then the prices they charge for shipping the boxes.

 

I'm trying to create a search app in powerapps where a user can select from a dropdown the name of the company, and then enter the amount they want to ship and the gallery will spit out the price of that shipment.  Currently, I can get the search to function correctly when searching by company name, but trying to further filter this down is not working for me. Is there a way to get dual searches to work on one sharepoint list?

Categories:
I have the same question (0)
  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @Anonymous 

    Could you clarify what you mean about further filtering your results and duel searches?

    For example, is the case that the 'Company Name' value is not unique in your list, and you want to return say, all rows where the 'Company Name' matches 'Test 1' and the '2 Pallets' value is less than £3?

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I've taken a screenshot of my app which should help to further clarify this:

    Capture.PNG

     

    I want the user to select the company in the first drop down... This will refine the gallery to just showing that company.  I then want the second drop down to be a list of options of "1 box, 2 boxes" (The other columns in the list) etc.  Choosing this will get the gallery to display the price in that cell.  For example, if the user chose "Test 1" from the first drop down, and "2 pallets" in the second dropdown, the gallery would display the contents of the cell of the list which is "£2". 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    try using a Filter command rather than search in the items property of your gallery. You can add the conditions you need to search on in the filter which will be  the selected item from each dropdown.

  • Verified answer
    timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @Anonymous 

    The approach I would take for this is to keep the Items property of your gallery control as it is.

    For the label in the gallery where you want to display the pallet price, I would set the text property to this.

     

    Switch(DropdownPallets.Selected.Value, 
    "1 Pallet", '1 Pallet',
    "2 Pallet", '2 Pallet',
    "3 Pallet", '3 Pallet',
    "4 Pallet", '4 Pallet',
    "5 Pallet", '5 Pallet'
    )

    When the user changes the value in the dropdown box, the label in the gallery should display the corresponding value.

     

    image.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you Timl, that resolves it perfectly.

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 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard