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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
SandyBL
Advocate III
Advocate III

Create New Table from columns of different sizes

I want to create a new table in powerbi that joins two columns from different tables and creates combination of all records from each column.  Thanks for the help!

 

Table 1:

Months

January 2017

February 2017

March 2017

 

Table 2:

Accounts

1

2

3

 

New Table

Month                 Account

January 2017       1

February 2017     1

March 2017         1 

January 2017       2

February 2017     2

March 2017         2

January 2017       3

February 2017     3

March 2017         3 

 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@SandyBL

 

A sample could be:

 

Mytable=Crossjoin(Values(Table1[ColumnA]), Values(Table2[ColumnZ]))




Lima - Peru

View solution in original post

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

@SandyBL

 

Hi, Use this (Modeling-New Table)

 

Table 2 = CROSSJOIN(Months,Accounts)




Lima - Peru

Thanks.  How would I choose the specific columns in each table?

Vvelarde
Community Champion
Community Champion

@SandyBL

 

A sample could be:

 

Mytable=Crossjoin(Values(Table1[ColumnA]), Values(Table2[ColumnZ]))




Lima - Peru

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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