Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
evilmen
Frequent Visitor

new table based on 2 tables

Good morning, could you help me? I have 2 tables, each with multiple fields. I am trying to get fields from the 2 tables and form a new one.

 

tables 

evilmen_0-1671539511956.png

 

 

new table

 

evilmen_1-1671539653510.png

 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @evilmen ,

 

Here are the steps you can follow:

1. In Power Query – Merge Queries -- Merge Queries as New.

Table usuarios

Table empresa

The two tables are linked together with [nit empresa].

Join Kind:Left Outer

vyangliumsft_0-1671586992829.png

2. Extend [table empresa] – check [nit empress].

vyangliumsft_1-1671586992830.png

3. Select [saldo],[nit empresa] – Remove Columns.

vyangliumsft_2-1671586992833.png

4. Result:

vyangliumsft_3-1671586992833.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @evilmen ,

 

Here are the steps you can follow:

1. In Power Query – Merge Queries -- Merge Queries as New.

Table usuarios

Table empresa

The two tables are linked together with [nit empresa].

Join Kind:Left Outer

vyangliumsft_0-1671586992829.png

2. Extend [table empresa] – check [nit empress].

vyangliumsft_1-1671586992830.png

3. Select [saldo],[nit empresa] – Remove Columns.

vyangliumsft_2-1671586992833.png

4. Result:

vyangliumsft_3-1671586992833.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

SanKing
Helper I
Helper I

Hi @evilmen ,
You can use SUMMARIZE & ADDCOLUMN, but it depends if you have relation between two tables.

Maybe links below will help you?

https://community.powerbi.com/t5/Desktop/Add-Column-using-value-form-another-table/td-p/171856

https://community.powerbi.com/t5/Desktop/Create-new-table-from-multiple-tables/m-p/946098

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.