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 / Multiple Filter in gal...
Power Apps
Answered

Multiple Filter in gallery

(0) ShareShare
ReportReport
Posted on by

Hii All,

 

I am using two dropdown to filter my gallery. But it was not showing anything or showing incorrect value.

 

AdityaRana_0-1709705800479.png

In the above file I have used two dropdown:

Dropdown1- contains test1 and test2.

Dropdown2 - contains 1,2.

 

When I select both the dropdown it shows nothing.

 

I am using this formula on my gallery:

 

Filter (testlistAnd(
    StartsWith(Roles, Dropdown1.SelectedText. Value),
    StartsWith(Roles, Dropdown1_1.1. SelectedText.Value)

))
 
 
 
Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi, @AdityaRana 

    Please try to use :

    Filter (testlistOr(
        StartsWith(Roles, Dropdown1.SelectedText. Value),
        StartsWith(Roles, Dropdown1_1.1. SelectedText.Value)

     

    ))
     
    StartsWith is used to filter the text if start with some string text. If you use And , it will return in your side.
    For example:
    vyueyunmsft_0-1709706882250.png

     

    If this still can not help you , can you show your testlist table data and what data you need to filter by your dropdown control.
     
     

    Best Regards,

    Yueyun Zhang

  • AdityaRana Profile Picture
    on at

    I have also checked it but it doesn't work

    let me show you my data list.

    AdityaRana_0-1709707077135.png

    I want to make a sequential filter, let me tell you in steps:

    Step-1: when we took test1 in dropdown1 it shows all the data of test1 in gallery

    Step-2: After we select 1 in dropdown1_1 the it will show all the data of where role will be test 1 in gallery

     

     

    Hope you will understand the real query.

     

    I want to make  multisequential filter. both are connected

  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @AdityaRana 

    Do you mean you want filter the [liness] by your dropdown1_1? If this , you need to use this code:

    Filter (testlistAnd(
        StartsWith(Roles, Dropdown1.SelectedText. Value),
        StartsWith(Text(liness), Text(Dropdown1_1.1. SelectedText.Value))
    ))

    vyueyunmsft_0-1709707665805.png

    If this can not help you , what's the type of your [liness] column? And  If I misunderstand what you mean, you can describe your needs and your expected outcomes in detail so that we can better help you.

     

    Best Regards,

    Yueyun Zhang

  • AdityaRana Profile Picture
    on at

    It is working as I want. Thanks for your help.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard