cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Thrasymaque
Frequent Visitor

create column in table 2 with value from table 1

Hi all

 

very super basic question 

 

I do have Table 1 with

  • project ID ,
  • name,
  • Cost.

I do have table to Table 2 with 

  • project ID ,
  • Start.

I would like to create a new column (in the advanced editor) in table 2 getting the name Info from column 1

 

Can you please telle me the formula I need to use ?

 

thanks a million 

fred

1 ACCEPTED SOLUTION
Jimmy801
Super User III
Super User III

Hello @Thrasymaque 

 

you can use Table.NestedJoin to join both tables. Afterwards you can expand the columns you needed from the newly created column. here an example (not tested)

JoinTables = Table.NestedJoin(Table1, {"project ID"}, Table2, {"project ID"}, "Table2", JoinKind.LeftOuter)


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

View solution in original post

2 REPLIES 2
Jimmy801
Super User III
Super User III

Hello @Thrasymaque 

 

you can use Table.NestedJoin to join both tables. Afterwards you can expand the columns you needed from the newly created column. here an example (not tested)

JoinTables = Table.NestedJoin(Table1, {"project ID"}, Table2, {"project ID"}, "Table2", JoinKind.LeftOuter)


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

View solution in original post

thank you 

 

thought also was the best way as it seems I can not import value in it

 

many thx

br

F.

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors