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 / Filtering gallery with...
Power Apps
Answered

Filtering gallery with multiple dropdowns and radio buttons

(0) ShareShare
ReportReport
Posted on by 174

Hi,

I have a SharePoint list with different columns like Country, State, Title1 etc.., I have to filter my list with five dropdowns each for Title, Company, City, Sate, Country respectively. Also I have a radio button which has Choices type column in it. Based on these selections I have to filter my gallery also the default selected value of each dropdown should be 'All'. Below I will share the names of the Columns and controls associated with it.

Drp_title : Title1

Drp_company : Company

Drp_city : City

Drp_state: State

Drp_country : Counrty

Radio1 : Type1 (radio button , Type1 is choice column)

Name of Share Point list :  'Training Events List'

What would be the formulas I need to use? 

@Drrickryp , @BCBuizer , @WarrenBelz ,  Hope you guys will help me

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

    Filter('Training Events List',
    (IsEmpty(Drp_title) Or Title1 = Drp_title.SelectedItems) 
    And (isEmpty(Drp_company) Or Company = Drp_company.SelectedItems) 

    And (isEmpty(Drp_city ) Or City = Drp_city.SelectedItems ) 

    And (isEmpty(Drp_state) Or State = Drp_state.SelectedItems ) 

    And (isEmpty(Drp_country ) Or  Counrty = Drp_country ) 

    And (isEmpty(Radio1 ) Or Type1 in Radio1))

    if multipleSelection in comboBoxes is false replace isEmpty with isBlank and Replace .SelectedItems with .Selected.Value

    if this solve your problem please accept my solution, 
    Best Regards.

  • muzamil-baxture Profile Picture
    174 on at

    Hey @OussamaOsman ,

    Thanks for replying but the above formula isn't working. Also its giving me delegation warning.

    I also need an Option of "All" in my dropdowns. Please could you re check and update me.powerapps7.PNG 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Radio Should be Radio1.Selected.Value if the delegation warning still appear let me know

  • muzamil-baxture Profile Picture
    174 on at

    Hey @OussamaOsman ,

    Its not working after making the above changes it says " Invalid argument type. Cannot use Text values in this context".

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You have to make the source of the radio control Choices
    in the source property of the radio control
    Put Choices('Training Events Lists'.Type1)


    You said before that radio is a choice column so i thought you referring it source as a choice column.
    If you want to keep it source as hard coded you can use "=" instead of in.

  • muzamil-baxture Profile Picture
    174 on at

    Hey @OussamaOsman ,

    I already used Choices('Training Events Lists'.Type1), for the Items property of my Radio1.

    Now when I am using "=" the error says 'Incompatible types for comparison. These Cant be compared Record, Text 

  • muzamil-baxture Profile Picture
    174 on at

    @OussamaOsman  Please could you show me how to add "All" option for my every dropdown, it should be the default selected value of every dropdown

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    you can only add "All" if you enter the items as hard coded or from a collection, which if you do this you will pass the Incompatible types for comparison error with the same code

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    For your dropdowns, where you have Choices(.........)

    replace them with:

     

    Split(("All," & Concat( Choices([@YourDataSourceName].YourChoiceColumnName ), Value&",")), ",")

     

     

    Replace YourDataSourceName and YourChoiceColumnName with your datasource name and your column name

     

    image.png

     

    Make sure to check/confirm that your column allows manually-entered values 🙂

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @muzamil-baxture what @iAm_ManCat suggests, works perfectly it will convert your choices to text (which remove the error) and will add the all to it.

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

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard