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 / Dropdown filter/Slicer...
Power Apps
Answered

Dropdown filter/Slicer in power app gallery

(0) ShareShare
ReportReport
Posted on by 10

I have created a table in power app using vertical blank gallery. I want to create slicer/filter to filter the data in the table. It should be dropdown kind of filter not text input filter.

Categories:
  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @ameenkvy1 just add a dropdown to your screen and populate the required values using the items property.

     

    On your gallery use something like this formular

     

    Filter(datasource, columnName = dropdown.Selected.Value)

     

     

  • ameenkvy1 Profile Picture
    10 on at

    Thanks @PowerRanger , Unfirtunately im getting error as per below screenshot.

    ameenkvy1_0-1661956511606.png

     

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,

    You can use below formula - 

    Filter(DatasourceName, dropdownColumnName.Value = dropdownControlAdded.Selected.Value)

  • ameenkvy1 Profile Picture
    10 on at

    It was not working. My column name to be filtered is "Geography" and dropdown name is "Dropdown1". Could you please write the formula.

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Please try using below formula 

    Filter(SPListName, Geography.Value = Dropdown1.Selected.Value)

    Replace SPListName with your sharepoint list name added as a data source 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @ameenkvy1,

    Could you please tell me that how you set the Items property of the Dropdown1?

     

    The way you reference to dropdown selected item depends on how you set the Items property of the Dropdown, if you populate the Dropdown1 with a Choice type of column using Choices(ListName.Geography), yes, you could reference to Dropdown1.Selected.Value directly.

     

    However, if you populate the Dropdown1 with a Text column using ListName.Geography or Distinct(ListName,Geography), you should modify your formula as below:

    Filter(ListName, Geography= Dropdown1.Selected.Geography)

    Or 

    Filter(ListName, Geography= Dropdown1.Selected.Result))​

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard