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 Platform Community / Forums / Power Apps / Multiple mobile number...
Power Apps
Unanswered

Multiple mobile numbers in PowerApps

(0) ShareShare
ReportReport
Posted on by 242

I am trying to show a personal mobile number and business mobile number from users. I retreive the numbers from the Active Directory. I use this formula, but i only show the first personal mobile number. How can I show the second mobile number?

 

If(IsBlank(First(EmployeeProfile).mobilePhone);"-";First(EmployeeProfile).mobilePhone)

 

Categories:
I have the same question (0)
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @Mirtemir ,

     

    May be something like below will help in your case. 

     

    If(IsBlank(First(EmployeeProfile).mobilePhone);"-";IsBlank(First(EmployeeProfile).TelephoneNumber);First(EmployeeProfile).mobilePhone;First(EmployeeProfile).mobilePhone&" "&First(EmployeeProfile).TelephoneNumber)
    
    
    or 
    
    If(IsBlank(First(EmployeeProfile).mobilePhone);"-";First(EmployeeProfile).mobilePhone&" "&First(EmployeeProfile).TelephoneNumber)

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • logixcrm Profile Picture
    71 on at

    Hi Mirtemir

     

    Question - do both phone numbers display on the user profile in columns (fields) or are they in a grid? the reasion I ask is because you are using a "First" expression which is normally used to to consider on the first record retrieved.

     

    I am going to assume you want to show both mobile numbers in one field in a single input on a canvas app.

     

    Firstly you should add an Office365User Connection.

     

    Next create a add a label to get the UserID, for this you can user the following expression

    logixcrm_0-1632836281588.png

     

    Next add in input and use the following expression

     

    logixcrm_1-1632837267999.png

    Office365Users.UserProfile(Label7.Text).mobilePhone & " - " & First(Office365Users.UserProfile(Label7.Text).BusinessPhones).Value

     

    I know this is not exactly what you are trying to do, however, once you are able to retrieve the data you can then write an If expression to manage how the data is displayed.

     

    I hope this helps.

  • logixcrm Profile Picture
    71 on at

    Hi Mirtemir

     

    Question - do both phone numbers display on the user profile in columns (fields) or are they in a grid? the reasion I ask is because you are using a "First" expression which is normally used to to consider on the first record retrieved.

     

    I am going to assume you want to show both mobile numbers in one field in a single input on a canvas app.

     

    Firstly you should add an Office365User Connection.

     

    Next create a add a label to get the UserID, for this you can user the following expression

    logixcrm_0-1632836281588.png

     

    Next add in input and use the following expression

     

    logixcrm_1-1632837267999.png

    Office365Users.UserProfile(Label7.Text).mobilePhone & " - " & First(Office365Users.UserProfile(Label7.Text).BusinessPhones).Value

     

    I know this is not exactly what you are trying to do, however, once you are able to retrieve the data you can then write an If expression to manage how the data is displayed.

     

    I hope this helps.

  • Mirtemir Profile Picture
    242 on at

    Hi, it did not get what i am after. I am trying to get these numbers. I would like to show the Homenumber (if there is one) and the Mobile number. nummers.png

  • Mirtemir Profile Picture
    242 on at

    Well, i could not get this to work. So, i'll pause it for now and try again later.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard