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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
doume06
Helper I
Helper I

How to create a table based on two other tables ?

Hi Power Bi community,

I'm quite new to Power BI.

I want to create a table based on two other tables this way:

Source Table 1: SysID

A

B

C

D

Source Table 2: Year-Month

202001

202002

202003

202004

 

Target Table I want to create will contain two columns like this

SysID  Year-Month

A      202001

A      202002

A      202003

A      202004

B      202001

B      202002

B      202003

B      202004

C      202001

C      202002

C      202003

C      202004

D      202001

D      202002

D      202003

D      202004

 

The problem is that I have thousands of SysID and at least 24 Year-Month so I can't do it in Excel let's say...

I can't find the solution in Power BI. Can you help ?

Thanks in advance

Dominique

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@doume06 , Try to use crossjoin

 

New table = crossjoin(Table1, Table2)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@doume06 , Try to use crossjoin

 

New table = crossjoin(Table1, Table2)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak 

It was fast !!!

Thanks a lot

It seems to do the job

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors