Hi,
Please can some one help me on how to do this as Department as well as Role name have same name Executive and same code Ex in them.
How will data flow in to the module correctly in this case.


Roles list data is
Role | Parent | Code | |
Executive | All Roles | EX | |
Senior Director | All Roles | SD | |
Director | All Roles | D | |
Senior Manager | All Roles | SM | |
Manager | All Roles | M | |
Team Leader | All Roles | TL | |
Staff Member | All Roles | S | |
and
Dept Code | Dept Name |
SA | Sales |
PR | Production |
EX | Executive |
FN | Finance |
HR | Human Resources |
Pivot view of Employee drivers by role is as below.

I got confused and was struck in this. There is no common dimension between source and target in this case. Got the following 2 questions wrong due to this.
Please can someone help me in solving this.
Thanks,
Balarama Krishna