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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
rmahadik
Regular Visitor

How to add column in inner tables to outer table

Hi Experts,

 

I need to add a column from inner table to outer table. Can someone please guide which function can be used ?

In below snap, I want to add primary_key column to outer table 'Table_List_DB'. Please advise

 

rmahadik_0-1664185725172.png

 

5 REPLIES 5
rmahadik
Regular Visitor

Hi @wdx223_Daniel , @Anonymous 

 

I promoted the headers and also tried to expand the nested table. However since the nested tables are not uniform in structure most of the columns are coming as null. What I want to achieve is I need only 1 column (Primary_Key) from highlighted nested table only (other tables does not contain this column) in the outer table for further manipulations. 

 

rmahadik_0-1664296367961.pngrmahadik_1-1664296392334.png

 

Source Code :

rmahadik_2-1664296509995.png

 

Anonymous
Not applicable

Hi @rmahadik ,

 

The simple way is to expand the column. If you want to keep this column with tables, you can duplicate it for expansion. When you expand it,  create conditional columns to filter out the rows you need, and finally keep what you need.

 

 

Best Regards,

Stephen Tao

 

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

 

rmahadik
Regular Visitor

Below is my code and output - 

 

rmahadik_0-1664199250474.pngrmahadik_1-1664199268664.png

 

your column header is not "primary key", but "column 3".

you need to promote headers firstly.

rmahadik
Regular Visitor

Hi @BA_Pete @Vijay_A_Verma @wdx223_Daniel @AlexisOlson - 

Guys please help me with above problem. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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