web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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 818
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard