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

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Issue with Combo box while displaying the default selected items

(0) ShareShare
ReportReport
Posted on by 61
Hi
 
I am really facing a strange issue in PowerApps combobox, I am pulling the data from Snowflake and there is a text column where all the names are available. 
 
In PowerApps I am displaying these names in a combobox by setting the default selected property as given below and it is able to display those names in Combobox.
 
 ForAll(
      Split(
         column name,
         ";"
      ) As aDisplayName,
      First(Office365Users.SearchUser({searchTerm: aDisplayName.Value})).DisplayName
   )
 
But when I tried to display these names in text label it shows nothing, I am using the formula on text property of the label is 
"Concat(ComboBox3.SelectedItems, DisplayName, ";")"
 
 
Can anyone please help?
 
Thanks in Advance!
Categories:
I have the same question (0)
  • Suggested answer
    Mark Nanneman Profile Picture
    989 Super User 2025 Season 2 on at
    Issue with Combo box while displaying the default selected items
    What do you have in the "Items" property of your Combobox?

    How you write the Concat() on your ComboBox's selected items depends on the structure of the collection in the "Items" property.  

    What are the Items for your combobox?

    If it's a simple array of single strings (no objects+properties) like this:

    Then you'd write 
    Concat(ComboBox1.SelectedItems, Value &";")


    If your items are a datasource with columns, then you'd reference the column name instead of "Value"

     
  • Sja855 Profile Picture
    61 on at
    Issue with Combo box while displaying the default selected items
     
    Thanks for your response.
     
    The item property is the office 365 connector search formula, as shown in the below.
     

    The aim of this ComboBox is to update the users names in the column by searching it in office 365 profile.
     
    I am just checking weather it is giving the proper result or not along with the existing names and newly searched names but not. Can you please suggest me the proper way to do this
     
    Thanks in Advance!
  • Mark Nanneman Profile Picture
    989 Super User 2025 Season 2 on at
    Issue with Combo box while displaying the default selected items
    I don't think you need the ".value"

    This works for me:
     
  • Sja855 Profile Picture
    61 on at
    Issue with Combo box while displaying the default selected items
     
    Thanks for your response. I am already able to search the names and pick it in the ComboBox using the formula. I need to update all the names into the table(Data source) column.
     
    Suppose, I already have 2 names from the datasource table column which are being displayed in the Combobox and I search for the new name and pick it up in the combo box, when use the formulae to Concat(Combobox.selectedItems, DisplayName, ";") to get the result of 3 names and update back into the table column  It only shows the 3rd name but not the 2 names already available in the column and being displayed in the combobox that's what the issue is. You can find these screenshots in the main issue description above.
     
    Any suggestions to overcome this will be appreciated.
     
    Thanks in Advance!
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard