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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
morther
Helper I
Helper I

Duplicate column to a related table

tables.PNG

 

I have 2 tables, "Nodes" and "ImportCubicPMs"  They are joined from Device_ID to NodeName. 

 

In the table "ImportCubicPMs" there is a column "PM Count" which I would like to duplicate to the "Nodes" table.   I tried to create a column in the "Nodes" table using RELATED, but Intellisense does not show the "ImportCubicPNs" table to pull the column from.

 

PM = RELATED(ImportCubicPMs[PM Count])

 

I receive the error:  

“The column 'ImportCubicPMs[PM Count]' either doesn't exist or doesn't have a relationship to any table available in the current context.”

 

What am I doing wrong?

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @morther,

 

The RELATED function works on the Many side between the related tables. But you're creating the column on the One side(Nodes table), so it won't work here.

 

In your scenario, you should be able to simply use the formula below to create a column in the "Nodes" to get "PM Count" from the table "ImportCubicPMs". Smiley Happy

PM = CALCULATE ( SUM ( ImportCubicPMs[PM Count] ) )

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @morther,

 

The RELATED function works on the Many side between the related tables. But you're creating the column on the One side(Nodes table), so it won't work here.

 

In your scenario, you should be able to simply use the formula below to create a column in the "Nodes" to get "PM Count" from the table "ImportCubicPMs". Smiley Happy

PM = CALCULATE ( SUM ( ImportCubicPMs[PM Count] ) )

 

Regards

That worked like a charm.  Thank you so much

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors