Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Combine results of two columns into one Lookupvalue

Dear Community,

 

the goal is to write a new calculated column which combine results of two other columns.

 

I describe the logic for understanding:

 

my table contains employee numbers and names of the respective supervisor of an employee.

There are two further columns in this table for a supervisor of an employee number, which cannot both be filled at the same time.

I want to enter the name of the supervisor in a new column per lookupvalue for each employee number.


Example:

Employee NumberSupervisor_ASupervisor_B
1Simonnull
2nullTom
3nullBrad


You can see that only one supervisor column is filled, A or B.

So in my new calculated column I want to lookupvalue for employee 1 in the column supervisor_A and write Simon in it, but for employee 2 and 3 I want to look in the column supervisor_B and write Tom and Brad respectively.

 

Thank you for your support.

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 
What would you do if both names are available? As per current sample, simply concatenate

Supervisor =
TableName[Supervisor_A] & TableName[Supervisor_B]

 both names

 

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @Anonymous 
What would you do if both names are available? As per current sample, simply concatenate

Supervisor =
TableName[Supervisor_A] & TableName[Supervisor_B]

 both names

 

Helpful resources

Announcements
Top Kudoed Authors