web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Create a Filter for Dr...
Power Apps
Answered

Create a Filter for Dropdown and Select Box

(0) ShareShare
ReportReport
Posted on by 23

Hi Guys,

 

i am not a really developer, but i have a problem, which i have to solve, so i hope you can help.

I have a select Box and a Gallery.

I can filter this gallery with this code by clicking on the select box.

 

If(F_NoServices.Value = true; Filter('[dbo].[MLK_main_overview]'; IsBlank(SERVICENAME)); '[dbo].[MLK_main_overview]')

 

I am not sure, how to add a Filter in this code for the Dropdownboxes.

Theese Dropdownboxes have the names Dropdown1, Dropdown2 and Dropdown3

 

Can you help to solve this?

 

Many thanks in advance

Categories:
I have the same question (0)
  • Verified answer
    mmollet Profile Picture
    3,187 on at

    Are you trying to filter based on all 3 dropdowns and the checkbox as well? So filtering on 4 inputs?

    If so try this:

    If(F_NoServices.Value = true; Filter('[dbo].[MLK_main_overview]'; IsBlank(SERVICENAME)) And column1 = Dropdown1.Selected.Value And column2 = Dropdown2.Selected.Value And column3 = Dropdown3.Selected.Value; '[dbo].[MLK_main_overview]')

     

    column1/2/3 are going to be the names of the columns you are wanting to filter on in your database.

     

    If you get a little yellow triangle sign when you do this then it may take some extra steps in order to do this all at once as you might have a delegation issue. Try that and let us know what the results are. 

  • Sebi087 Profile Picture
    23 on at

    No i try to filter on only one dropdown or the checkbox.

    I tried your code with an or statement like this:

    IsBlank(SERVICENAME)) Or Label13 = Dropdown1.Selected.Value but .Value isn't an acceptable Value. The form returns invalid Argument. I just can select .Results for Dropdown1.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard