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
PBI_newuser
Post Prodigy
Post Prodigy

how to get the cost each for summarize field

Hi,

When i have the table with all the line numbers & part numbers (TableA), the "cost each" and "total part cost" are showing the correct amount.

But, when i remove Line Number (TableA1), the cost each for Part Number is incorrect.

How to fix this?

 

TableA:

PBI_newuser_0-1611969691732.png

TableA1:

PBI_newuser_3-1611969924617.png

 

 

 

 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Powerbi applies an aggregation in the field well - in this case it's a numeric field so the default is SUM.  You can write your own measure or change the aggregation to MIN or AVG (either should work in this case)

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

Powerbi applies an aggregation in the field well - in this case it's a numeric field so the default is SUM.  You can write your own measure or change the aggregation to MIN or AVG (either should work in this case)

Hi @HotChilli Thank you! It works!

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