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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
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?


 
Categories:
I have the same question (0)
  • scalca Profile Picture
    254 Moderator on at
    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
     
     
  • NT-20121707-0 Profile Picture
    2 on at
    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," ,"
     
  • WarrenBelz Profile Picture
    154,819 Most Valuable Professional on at
    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 556

#2
WarrenBelz Profile Picture

WarrenBelz 412 Most Valuable Professional

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard