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 a Combobox b...
Power Apps
Answered

Filtering a Combobox based on another combobox data

(0) ShareShare
ReportReport
Posted on by 114

Hello all,
I have the following situation:

Rudy_Digital_0-1714750101878.png

I need to have:

1. In the ComboBox1 results I should see only MT1, MT2, MT3, etc… (Distinct values)

2. In the ComboBox2 results, I want to have all distinct Sub Topics related to the Main Topics
for example: IF ComboBox1 = MT1, then ComboBox2 = dropdown list of ST1, ST2, ST3.

3. In the ComboBox2, i want to let the option for the user to type in another data (for example ST35) and Combobox1 = MT2 and therefore updates the SPList with a new record of MT2 in Main Topic Column and ST35 in the Sub Topic Column.

 

Thanks for helping 🙂

Would be an easy one for your guys 🙂

@RandyHayes

@WarrenBelz 

@Drrickryp 

@BCBuizer 

 



 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Rudy_Digital,

    Do you want to add options in the ComboBox2 and save back to data source?

     

    If so, here is a simple demo for your reference.

    1). Set the Items property of ComboBox1 as:

    Distinct(TOPIC,'Main Topic')

    2). Set the Items property of ComboBox2 as:

    Filter(OPIC,'Main Topic'=ComboBox1.Selected.Value).'Sub Topic'

    3). Add a save button and set OnSelect as:

    Patch(TOPIC,Defaults(TOPIC),{'Sub Topic':If(IsBlank(ComboBox2.Selected),ComboBox2.SearchText,ComboBox2.Selected.Value)})

     

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