On the "new" form, the combobox (single select only) has this formula for Items:
Sort(AddColumns(Distinct('Company Site Department',SiteID),"ConcatenatedColumn",Result & " - " & LookUp('Company Site Department',SiteID=Result).SiteName),Result,Ascending)
Let's say I created this record and it saves to the SP list as "201 - Tampa" for this column (Result = "201", ConcatenatedColumn= "201 - Tampa"
On my edit screen, I need this field to default displaying "201 - Tampa", and when I select the dropdown it'll have the full list (so Items would still be the same formula).
Trouble figuring out the right formula for DefaultSelectedItems
Solved! Go to Solution.
[Parent.Default] was the solution. It needed to be in brackets.
Hi ,
for Set the DefaultSelectedItem you can write like that - [ThisItem.'Project Name'.Value].
More details below thread seem like the same issue.
https://powerusers.microsoft.com/t5/Building-Power-Apps/Set-a-value-by-selecting-a-different-column-...
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
@VijayTailor See the bold part. That's what is saved to the SP list and is displayed as one of the options to select from in the ComboBox.
On the "new" form, the combobox (single select only) has this formula for Items:
Sort(AddColumns(Distinct('Company Site Department',SiteID),"ConcatenatedColumn",Result & " - " & LookUp('Company Site Department',SiteID=Result).SiteName),Result,Ascending)
Let's say I created this record and it saves to the SP list as "201 - Tampa" for this column
@VijayTailor It's saved as a single line text field in the SP list. But it looks up to a different list to get the list of values to pick from (which are also single line text fields).
[Parent.Default] was the solution. It needed to be in brackets.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
215 | |
211 | |
84 | |
57 | |
36 |