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 / How do I get the child...
Power Apps
Unanswered

How do I get the child combo box to show Parent.Default (data source is Dataverse table)

(0) ShareShare
ReportReport
Posted on by 831 Moderator
NOTE: I am using a Dataverse table for the data used in my app.

I have a series of parent/child combo boxes in an edit form. After much struggle I finally got them to behave the way I want them too. Here is how this looks.
 
  1. When the parent is changed the child is set to blank
  2. If the parent is not changed the child shows the Parent.Default value if there is one.
Pretty simple. The problem is one of my child combo boxes is not behaving as the others. Here is an example of what currently have implemented for those combo boxes that are working
 
Parent Combo Box
OnSelect
UpdateContext({varResetSubLedgerReview: false});
UpdateContext({varResetSubLedgerReview: true});
Child Combo Box
DefaultSelectedItems (This is where I made my change by rearranging the argument)
If(varResetSubLedgerReview,{Value: Blank()}, {dk_subledgername: Parent.Default})
Reset
varResetSubLedgerReview
 
Now, the only real difference between the child combo boxes that behave and the one that doesn't is the Items property. The ones that are working pull the data form a Dataverse table
Sort(Filter('Cost Center Sub Ledgers', 'Cost Center Name' = CB_CostCenterReview.Selected.'Cost Center Name'), 'Sub Ledger Name', SortOrder.Ascending)
and the 'misbehaving' child combo box's Items property is hard coded like this
[1,2,3,4,5,6]
 
I know there is a value for Parent.Default for this 'misbehaving' child combo box. I've added a label to check which returns the expected value
"(P)Email Sequence: " & DC_EmailSequenceNumberReview.Default
 
And rolling over the Parent.Default in the code below also gives me the value I expected.
If(varResetEmailSequenceReview,{Value:Blank()}, {dk_emailsequencenumber: Parent.Default})
 
Any ideas why it is not showing? The column type in the table is Text. The only thing I can think of is what I mentioned about how the Items property is set up. Maybe some type of mismatch?
Categories:

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard