Skip to main content

Notifications

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?


 
  • WarrenBelz Profile Picture
    148,718 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 Super User 2025 Season 1 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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1