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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Barculez
Regular Visitor

Power Bi - Columns

Hi, I'd like to ask your advice.

 

Although I have seen similar questions here, I haven't found the right answer for me anywhere.

 

In PowerBi, I would need to create a column directly in Power Query so that I can transport this data to rows. This column would contain values from another table - these tables have 2 identical columns (Year and Week number), according to these I would need to assign values from the other table to the original one.

I will be glad for any answer or screenshots.

 

Thank you very much
Barbora

1 ACCEPTED SOLUTION
m_dekorte
Resident Rockstar
Resident Rockstar

Hi @Barculez 

 

Without a better understanding of what you are actually dealing with, this sounds like a Merge operation.

 

Go to the primary table, select Merge on the ribbon

A dialog box will appear, select the secondary table

Set keys by holding down CTRL if you need to select more than one column in each table. In that case also make sure to select the key columns in both tables in the same order. You can validate that by comparing the index number that's added besides its nam - as in the image below.

Finally set the join type, left outer sound right and press OK

m_dekorte_0-1685620471100.png

Ps. If this helps solve your query please mark this post as Solution, thanks!

 

View solution in original post

1 REPLY 1
m_dekorte
Resident Rockstar
Resident Rockstar

Hi @Barculez 

 

Without a better understanding of what you are actually dealing with, this sounds like a Merge operation.

 

Go to the primary table, select Merge on the ribbon

A dialog box will appear, select the secondary table

Set keys by holding down CTRL if you need to select more than one column in each table. In that case also make sure to select the key columns in both tables in the same order. You can validate that by comparing the index number that's added besides its nam - as in the image below.

Finally set the join type, left outer sound right and press OK

m_dekorte_0-1685620471100.png

Ps. If this helps solve your query please mark this post as Solution, thanks!

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors