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
Unanswered

Help With Concat

(0) ShareShare
ReportReport
Posted on by 2
I have a Combo box that has the following Items FX "Office365Users.SearchUserV2({searchTerm:ComboboxCanvas2.SearchText,top:20}).value"
And the Fields are set to only expect MailNickname

Then on other files I'm then stuff like "
ComboboxCanvas2.Selected.DisplayName" to pull Display Name and ComboboxCanvas2.Selected.Department to pull Department

When it comes to Phone number I have 
Concat(ComboboxCanvas2.Selected.BusinessPhones,Value," ,")
However it doesn't seem to pull a telephone number and mobile phone number at the same time. Also if a phone number doesn't exist it leaves the data card blank.

How can I get the FX to pull the required information formatted with / in between each entry and also have it output N/a into the data card if no data is found from the Office365Users.SearchUserV2 BusinessPhones value?


 
I have the same question (0)
  • WarrenBelz Profile Picture
    150,345 Most Valuable Professional on at
    Help With Concat
    Assuming this is a single selection combo box, what you have should work, however Modern Combo Boxes are still in preview. As a debugging exercise, try the same code with a Classic Combo Box.
  • NT-20121707-0 Profile Picture
    2 on at
    Help With Concat
    Hi @scalca

    I'm trying to get the Customers Phone Number to be pulled from the combo box value which would be the 'Mail.Nickname'

    It pulls through a number but I want it to be able to pull both DeskPhone and Mobile Numbers from the Office365 connector.



    I also want to be able to have the Customers Phone Number DataCard to have a "N/a" or "Null" Value if not data is found, how would I go about doing that?


    When I do 'SelectedItems' it errors Concat(ComboboxCanvas2.SelectedItems.BusinessPhones,Value," ,"
     
  • scalca Profile Picture
    243 Moderator on at
    Help With Concat
    Are you saying that the combobox allows to select multiple records ? 
    according to documentation Business Phones is the Phone numbers of user's company
     
    if you have multiple selections, then you have to use ComboBoxCanvas2.SelectedItems instead of Selected
     
     

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…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 982 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 396 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 356

Last 30 days Overall leaderboard