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 / Get Value of related t...
Power Apps
Unanswered

Get Value of related table

(0) ShareShare
ReportReport
Posted on by 160

Hello everyone,

 

i don't quite understand the relationships between tables in dataverse or i just can't find a solution for my issue:

 

i got two tables:

EmployeeAttendanceList

  • ID of the employees
  • 1 or 0 if the employee is attendant or not

Employees:

  • ID of the employee
  • Name of the employees

... these tables are generated by a dataflow out of a SQL Server.

 

My goal: Display a Attendance list (In a SP List) of all attendant employees WITH their Names. 

 

-> Since the Name of the employees is not in the Source table of the SQL Server, i need to create a relation between the EmployeeAttendanceList and the Employees table.

 

So far, i created a lookup column in the EMployeeAttendanceListe and therefore create a relation between thos two tables. Also, i created a calculated column linked to the related table:

wshalex123_0-1678971221809.png

  • cr811_meinezeiten_employees is the "Employees" table
  • .cr811__login is the "Name" column in this table.

 

... with my research, there should be displayed the Name of the Employee now. But the column is empty....

 

What am i doing wrong here?

 

I appreciate any help!

 

Cheers,

Alex

 

I have the same question (0)
  • AhmedSalih Profile Picture
    6,680 Moderator on at

    Hello, @wshalex123, You might need to use a Formula Column instead. 

  • wshalex123 Profile Picture
    160 on at

    Hey @AhmedSalih. Thanks for the tip, i also hopped over on of your youtube videos during my research.

     

    Yould you show my how the forumla could/should look like for this scenario?

  • AhmedSalih Profile Picture
    6,680 Moderator on at

    @wshalex123, is the EmployeeAttendanceList table, Create new Column and select the Data type as Formula:

    AhmedSalih_0-1678972904743.png

     

    In the Formula, you need to use the LookupColumnName.cr811__login

     

    If my reply helped you, please give a 👍  , & if it solved your issue, please give a 👍 & Accept it as the Solution to help other community members find it more.

    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.

    Visit my Blog: www.powerplatformplace.com

    Visit my YouTube Channel: https://www.youtube.com/@powerplatformplace/videos

    New Project.png

     

     

  • wshalex123 Profile Picture
    160 on at

    Hey @AhmedSalih,

     

    it does not display me any data. (Also when deleten all entries and refreshing the dataflow).

    wshalex123_0-1678974184207.png

     

    PS: I dont know if its relevant, but my lookup column is also empty.

     

    I am just wondering, how the lookup function knows, that it needs to compare the EmployeeID's as primary key in order to get the referred "_Login" value? In PowerBI you also need to select which two Columns a Relation should compare.

     

    Would appreciate your help. 

  • AhmedSalih Profile Picture
    6,680 Moderator on at

    @wshalex123, the LookUp Column should show the values that are in the Primary Name Column of your Employee Table. Do you have any values in that column?

  • wshalex123 Profile Picture
    160 on at

    @AhmedSalih , yes it shows the values of the primary column of the Employees table, but only in a dropdown if i click in the field. The field itself is empty. 

    wshalex123_0-1678975059831.png(Lookup Column of EmployeeAttendanceList)

     

  • wshalex123 Profile Picture
    160 on at

    #up

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 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard