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

Notifications

Announcements

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
    243 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
    153,311 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 468 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 223 Super User 2025 Season 2

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 206 Super User 2025 Season 2

Last 30 days Overall leaderboard