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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
RB1
New Member

Add Column to Table1 from Table2.ColumnB for each value

Hi,

 

Not sure if title makes sense.

 

I have two tables

 

Table1 (Manually entered query): Only one column called 'names' with company names

 

Table2 (Calculated table with DAX expressions): Months, Years, Quarters and Concats of these combinations

 

I need to create a new table or add to Table1 where for each value in Table2.Year_Quarter, Table1.names duplicate

 

Example:

 

A - 2018 Q1

A - 2018 Q2

A - 2018 Q3

A - 2018 Q4

B - 2018 Q1

B - 2018 Q2

B - 2018 Q3

B - 2018 Q4

C - ETC ETC....

 

Thanks in advance

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

Hi @RB1,

 

I made one sample for your reference.

 

1. Create a calculated column.

 

Table = CROSSJOIN(COMPANY,'DATE')

2. Create the calculated column in the calculated column.

 

Column = 'Table'[name] & " " & CONCATENATE('Table'[Year],'Table'[Q])

Capture.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @RB1,

 

I made one sample for your reference.

 

1. Create a calculated column.

 

Table = CROSSJOIN(COMPANY,'DATE')

2. Create the calculated column in the calculated column.

 

Column = 'Table'[name] & " " & CONCATENATE('Table'[Year],'Table'[Q])

Capture.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @RB1,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case.

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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