Good day
My data lies in Table1 and Table2 as follow.
"Users" are assigned several "Roles" and each "Role" give authorization to several "TCodes".
This is a many-to-many relationship, which cannot directly be handled via PowerPivot relations.
Which Calculated Measure (DAX) will allow me see which "TCodes" are assigned to which "Users"? (i.e. a pivot table with fields "Users" and "TCodes" and a value where the TCode is effectively assigned to the User)
Thanks!
Table1
User Role
User1 Role1
User1 Role2
User1 Role3
User2 Role2
User2 Role3
User2 Role4
User2 Role5
Table2
Role TCode
Role1 TCode1
Role1 TCode2
Role2 TCode2
Role2 TCode3
Role3 TCode4
Role4 TCode4
Role5 TCode5
My data lies in Table1 and Table2 as follow.
"Users" are assigned several "Roles" and each "Role" give authorization to several "TCodes".
This is a many-to-many relationship, which cannot directly be handled via PowerPivot relations.
Which Calculated Measure (DAX) will allow me see which "TCodes" are assigned to which "Users"? (i.e. a pivot table with fields "Users" and "TCodes" and a value where the TCode is effectively assigned to the User)
Thanks!
Table1
User Role
User1 Role1
User1 Role2
User1 Role3
User2 Role2
User2 Role3
User2 Role4
User2 Role5
Table2
Role TCode
Role1 TCode1
Role1 TCode2
Role2 TCode2
Role2 TCode3
Role3 TCode4
Role4 TCode4
Role5 TCode5