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 combo box ...
Power Apps
Answered

Filtering a combo box - default items not updating

(0) ShareShare
ReportReport
Posted on by 289

Hi Guys,

I have two combo boxes, cmb_ProductFamily and cmb_ProductLine

 

cmb_ProductFamily properties:

Items: Sort(Distinct('Products', Title),Result)

DefaultSelectedItems: {Value:ThisItem.Product Family'}

 

cmb_ProductLine properties:

Items: Sort(Distinct(Filter('Products',Title=cmb_ProductFamily.Selected.Result),product_line),Result)

DefaultSelectedItems: {Value:ThisItem.'Product Line'}

 

Please consider this scenario...

 

I make a selection using cmb_ProductFamily, I then make a selection to cmb_ProductLine. I then choose a different option in cmb_ProductFamily and the value in cmb_ProductLine doesn't clear, potentially allowing my user to enter an invalid selection.

 

How can I clear the value in cmb_ProductLine when cmb_ProductFamily changes?

Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    In the onChange event of cmb_ProductsFamily add Reset(cmb_ProductLine)

  • JimJim Profile Picture
    289 on at

    So simple, thank you

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard