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 / Combobox going blank
Power Apps
Unanswered

Combobox going blank

(0) ShareShare
ReportReport
Posted on by 878
So for my sharepoint list form app I have a text column that's updating from a Combobox. This gets its items from an Excel table. The defaultSelectedItems is set to:
Coalesce(locSelectedClient);
That's because in another Combobox that uses the Excel Table I have in the Onchange property this:
UpdateContext({locSelectedClient: Self.Selected})
So, in this second combobox you select a Invoice Number, and therefore what is supossed to happen is that the next combobox changes automatically with the Matching Client ID in that Excel table. This is working, so yay.
My problem is that when I go to edit, the combobox goes back to black (Which I'm guessing is due to the fact that DefaultSelectedItems depends on that locSelectedClient, which only adds value when you select something different).
So I'd assume that I need to add something to the formula that checks if the item is new, and if it is, do the Coalesce already written command. However if it's not a new item, it should then... Do something which I'm not sure yet.
I tried this code, but gave errors:
If(
    IsBlank(ThisItem.ID);
    Coalesce(locSelectedClient);
    Parent.Default
)
Greatly appreciate your input in advance :D
Categories:
I have the same question (0)

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard