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

Lookup or Related - sum the column based on matched row.

I have a table containing rows:

 

Account #

Part #

Account #/Part # (Combines from the above)

 

I have another table containing rows:

 

Account #

Part #

Account #/Part # (Combines from the above)

Extended Price 

 

The relationship is ONE to MANY. I would like to add a column to the initial table that is a sum if Extended Price at account #/part # level.

 

Not sure where to begin with this.

1 REPLY 1
gmsamborn
Super User
Super User

Hi @mattrixdesign2 

 

If I understand correctly, you calculated column should look something like this.

 

Column = CALCULATE( SUM( 'Table2'[Ext Price] ) )

 

LOOKUP or RELATED.pbix

 

I hope I understood correctly.



Proud to be a Super User!

daxformatter.com makes life EASIER!

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