Hi, @DavesTechTips
I know this thread is old, but I'm having trouble getting your formula to work correctly. In my table, I have five email addresses, which I want to be the default selected items in my combo box, with the combo box showing their names. However, when I use your formula, only the first person in the table is returned. If I remove the First() and top:1 bits, then "[object Object]" is returned.
Here's what I have in ComboBox1.DefaultSelectedItems now. It's returning "[object Object]."
ForAll(
ItemDetail.Contacts, //This table contains 0–10 email addresses.
Office365Users.SearchUserV2({searchTerm: Value}).value.DisplayName
)
What am I doing wrong here?
Edit: My bad. The formula I used works. My problem was that I had ComboBox1.SelectMultiple set to false. Once I set it to true, it worked fine. Dumb oversight on my part.