cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
datavis Member
Member

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 appended table. I need to add the Department and Department Sub columns into the Employees table using the Dept Id column. Do I create a new column in the Employees table and if so, how? Sorry I am new to the analyst field and new to Power BI. I'm double noobi.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Re: New Column

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]

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: New Column

Super User II
Super User II

Re: New Column

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]

View solution in original post

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors