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 / Filter a form accordin...
Power Apps
Unanswered

Filter a form according to the selections in Dropdown

(0) ShareShare
ReportReport
Posted on by

I am trying to filter a processing form.
The basis of this form is a table.
In the table there are the columns Location, Business Unit, Business Line and Department.
The columns are configured as choices


The names of the entries are structured as follows:

Business unit: Businessunit
Location: Location
Business line: Location.businessunit.businessline
Department: Location.Businesunit.Businessline.Department

 

I have a total of 4 dropdowns, one for each column.

 

If I select the businessunit and the location, the dropdown Businessline should only show the businesslines that belong to the selected businessunit and location.

 

If I have selected the businessline, it should only display the departments that match the businessline in the Department dropdown.

 

Can one of you help me?

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Maybe try the example as a starting point. I don't know your table or control names so I've just put in placeholder names and I wrote this off the top of my head so syntax might not be exact, but hopefully this gives you an idea...

    This example shows how you might build the dataset for Business Lines: We start with an IF to check, "is there a value in Business Unit?" If so, we will return Business Lines where they match the Business Unit. If not, we will look to the Location Control value. If that contains a value, we will return Business Lines where they match that location, otherwise, we will just return all business lines, unfiltered.

    If(
     !IsBlank(MyBusinessUnitControl.Value), 
     filter(
     BusinessLines, 
     BusinessUnit = MyBusinessUnitControl.Value
     ), If(
     !IsBlank(MyLocationControl.Value), 
     filter(
     BusinessLines, 
     Location = MyLocationControl.Value
     ), 
     BusinessLines
     )
    )

    Hope this helps!

     

  • cchannon Profile Picture
    4,702 Moderator on at

    @LeonGrußler did this post help resolve your issue? If so, please mark the solution for future forum visitors!

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

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard