Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Unselect default value in combobox based on dropdown (sql connection)

Hi all,


I have a canvas app with a SQL connection. The create and edit controls are placed on one screen and the visibility of the controls is handled by a variable. 



I have a combobox named cmboOwner. This combobox depends on the selections made in dropdowns A and B (dropdown B depends on the value selected in dropdown A). When a user is in edit mode, existing data (=OwnerName) for a specific record is shown in cmboOwner. When a different value is selected in B, I want the default value in the cmboOwner to be "unselected" because the possible OwnerNames differ per value selected in B (so, in this case the pre-selected value shown in cmboOwner is incorrect, but the correct values are shown when expanding the dropdown). I've been at this for a few days with no success. How can I get the default value to get unselected when a different value is picked in dropdown B while being in edit mode? Is this possible?


  • Reset: cmboReset
  • DefaultSelectedItems: If(actionType="Edit",[(OwnerName)],[""])
  • Items: I'm using SortByColumns & Filter to retrieve data based on dropdown A and B.

Dropdown B:

  • OnChange: UpdateContext({cmboReset:true}) - I had also tried setting this code in "OnSelect", but I was experiencing the same issue.

I hope this makes sense. Thank you for your time.


Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,689)