Forum Discussion
Anonymous
4 years agoNot applicable
How to paste a managers email from this table across columns
Hi all, I have a table that looks like this
| Employee Name | Employee Manager | Employee Email | Manager Email |
| Employee 1 | Manager 1 | Employee 1 @work | Manager 1 @ work |
| Manager 2 | Manager 1 | Manager2 @ work | Manager 1 @ work |
| Employee 2 | Manager 2 | Employee 2 @ work | |
| Manager 1 | Manager 3 | Manager 1 @ Work | Manager 3@ Work |
| Manager 3 | Manager 3 | Manager 3 @ Work | Manager 3 @ Work |
Every manager and employee, and their email, will appear in the employee name, and employee email. What I would like to do, is create a calculated column that will search the manager name column, match that name to the employee name, column, and then paste the employee email from that row to be used, to make sure i have an email column free of blanks. am i able to do this in dax or MQuery?
Anonymous , a new column
maxx(filter(Table, Table[Name] = earlier([Employee Manager]) ) , [Employee email])
1 Reply
- amitchandak
Super User
Anonymous , a new column
maxx(filter(Table, Table[Name] = earlier([Employee Manager]) ) , [Employee email])