Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Formula Lookup

(2) ShareShare
ReportReport
Posted on by 21
I'm trying to do what I think is quite simple but have never done this before and got stuck.
 
I have two tables the first one is Contact List (Full Name, Email, First Name, Last Name) and second is projects list. On the second one I have the project manager name and I want to create in this table another column to lookup the Contact list and give me back the email address for the project manager listed. Any ideas?
  • Michael E. Gernaey Profile Picture
    40,272 Super User 2025 Season 1 on at
    Formula Lookup
    Hi,
     
    Do any of these suggestions answer your question? If so can you please mark it or come back with more details for the folks who answered.
  • Suggested answer
    ronaldwalcott Profile Picture
    3,244 on at
    Formula Lookup
    One project manager can have many projects
     
    Use the relationships option. under schema (e.g. of what it would look like below) to create the relationship between contacts and projects. You should then be able to use the .notation to get whatever values you need. 
     
  • jda2005py Profile Picture
    21 on at
    Formula Lookup
    ronaldwalcott I'm not using SharePoint, I'm using Dataverse. Any ideas how can I do that?
  • Suggested answer
    ronaldwalcott Profile Picture
    3,244 on at
    Formula Lookup
    I presume you are using SharePoint. You should create the Contact list as a lookup column type in the Projects list in SharePoint
    When you create your Power Apps screens the tables are linked so you will probably select the project manager using a combo box and you can access the email using Projects.Contact.Email 
  • Verified answer
    KeithAtherton Profile Picture
    3,646 Most Valuable Professional on at
    Formula Lookup
    My code snippet was a way of obtaining the project manager's email address using Power Fx in a canvas Power App text label as this value can be looked-up.
     
    However, if you need a table column to explicitly show the project manager's email address then create a new column with the following properties:
     
    - Data type: Single line of text
    - Format: Email
    - Behavior: Calculated
     
    Then set the calculated field action to Set <value> to projectmanager.internalemailaddress (or similar).
  • jda2005py Profile Picture
    21 on at
    Formula Lookup
    @KeithAtherton I don't quite get your answer, but I can't use the project name as it keeps changing so I need to use project manager name.
  • Suggested answer
    KeithAtherton Profile Picture
    3,646 Most Valuable Professional on at
    Formula Lookup
    Hey. Are you able to get the project manager's email address by using Power Fx similar to the following, where you can replace locMyProject with the project of interest and change other field names are required?:
    locMyProject.'Project Manager'.'Primary Email'
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard