Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

New Column

I have two tables that I appended into a new table - call it Employees. I have a third table called Dept with columns named Dept Id, Department, and Department Sub. The Dept Id column is in the new a...
  • tex628's avatar
    8 years ago

    I assume that the Dept Id's in the Dept table are all unique. 

     

    If that is the case you create a relationship between the two tables. Then you create a calculated column in employees with simply:

     

    Column = 'Dept'[Department]

    Column2 = 'Dept'[Department Sub]