Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have 2 tables, Actual, New Hire List and Driver List.
Table 1: (Actual - Has Employee ID of both New Hires and Drivers)
Date Emp ID Order Number
xxxx 1 1234
xxxx 2 1235
xxxx 3 1236
xxxx 4 1236
Table 2: (New Hires)
Date Emp ID Job Title
xxxx 1 New Hire
xxxx 2 Driver
xxxx 3 New Hire
xxxx 4 Driver
Thus, I want a column in Table 1 as follows:
Date Emp ID Order Number Job Title
xxxx 1 1234 New Hire
xxxx 2 1235 Driver
xxxx 3 1236 New Hire
xxxx 4 1236 Driver
I want to match the EMP Id's from Table 1 to the 2nd table and get their job title in Table 1. Is this possible in Power BI?
Thank you.
Solved! Go to Solution.
@Anonymous Yes, it's called "LOOKUPVALUE()" --
If you are going to put it on the 'Actual' table, the formula you want is:
Job Title = LOOKUPVALUE('New Hires'[Job Title], 'New Hires'[Emp ID], 'Actual'[Emp ID])
Hope this helps 🙂
@Anonymous Yes, it's called "LOOKUPVALUE()" --
If you are going to put it on the 'Actual' table, the formula you want is:
Job Title = LOOKUPVALUE('New Hires'[Job Title], 'New Hires'[Emp ID], 'Actual'[Emp ID])
Hope this helps 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |