Given the following dataset below I would like to create a calculated field that will show me the Employees that are in the same location as their manager. So for example Employee ID 1 would be in the same location as their Manager (Employee ID 5) since they both are located in New York. Conversely Employee ID 2 would not be in the same location (London) as their Manager (Employee ID 5 located in New York).
Employee ID | Manager Employee ID | Location |
---|---|---|
1 | 5 | New York |
2 | 5 | London |
3 | 6 | Miami |
4 | 6 | London |
5 | New York | |
6 | London |