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 / Filtering Cascading co...
Power Apps
Answered

Filtering Cascading comboboxes

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have a Form with 3 comboboxes (LookUp fields).
The first combobox has a datasource of a company list.

The second combobox has the numbered values, example:
1. Marketing
2. Accounting
3. PR
The items of this combobox are filtered by the company selected.

The third combobox has a lookup to another list, the values are the following:
1.1 Variable marketing costs
1.2 Fixed marketing costs
1.3 Branding
2.1 Item
2.2 Item

The data source of the third combobox has also a Company value, therefore, I would like to filter items based on the company and additionally, if in the value of the first combobox "1. Marketing" is selected, I would like to filter only the following items:
1.1 Variable marketing costs
1.2 Fixed marketing costs
1.3 Branding

In the data source of the third list, I have created an additional column "Related", which has the number value of the main task (example, "1.1 Variable marketing costs" item has the value of 1 in the column "Related").
I was trying to get the number value from the second combobox with split function and then trying to filter the third combobox based on the splitted value and "Related" value but cannot make it work.

Any suggestions on how could I implement the filter function in the third combobox?

Any help is much appreciated!

Categories:
I have the same question (0)
  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,

    You can get the number from 2nd level combobox using split - First(Split("1.Marketing",".")).Result

    Then you can filter your 3rd combobox using StartsWith function 

    Filter(Choices(SPList.ColumnName), StartsWith(Value, First(Split("1.Marketing",".")).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

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