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 / Calling a phone number...
Power Apps
Answered

Calling a phone number that corresponds to the current week on a Sharepoint calendar

(0) ShareShare
ReportReport
Posted on by 45

Hello! 

 

We have a schedule kept in a Sharepoint list of who is "on call" for each week of the year. We are trying to make a PowerApp with a quick call button that will call the person who is on call for that week based on the date. How can we get the PowerApp to pull the correct phone number for that week? 

 

Currently, we have a Sharepoint list with two columns, Week Commencing (the Monday date for the week the person is on call) and 

Categories:
  • Verified answer
    cds Profile Picture
    1,001 on at

    LookUp(SharepointList, OnCallDate = DateAdd(Today(), -1 * (Weekday(Today(), Monday) - 1), Days)).PhoneNumber

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@sec4zj,

    Based on the issue that you mentioned, do you want to capture the phone number of the person who is on call for the current week?

    Could you please share more about your scenario, more details about the SP list columns?

    @cds provides a direction where assumes that you have an SP list where you have a PhoneNumber column and a Date column. What I  want to confirm is, if there is a PhoneNumber column or just a Person column.

    If it is a PhoneNumber column, you can try the formula @cds provided. What's more, I advise you to add a Gallery to display the record. The LookUp() will filter the PhoneNumber you want. Besides the PhoneNumber, you can add a button and set the OnSelect property as below to call the person on call this week.

     

    Launch("tel:"&Field)

     

    If it is a Person column, you should first get the corresponding phone number to the person through the Office365 connector. In general, we use the following formula to get the phone number.

     

    Office365Users.UserProfile(InfoAbout.Text).mobilePhone

     

    Best Regards,

    Qi

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard