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
TungNguyen_19
Helper III
Helper III

Why when I change the column to summaize by sum the related result has been double?

Hello guys

I have these 2 tables like below:

TungNguyen_19_1-1708659741634.png

 

The fomular of the calculated column [TOTAL ESTIMATE COST] is 

[TOTAL ESTIMATE COST] = RELATED('TABLE A'[ESTIMATE COST])

 When i put the column [TOTAL ESTIMATE COST] in table visual with option summarized by sum, the value will be double but if I change to don't summarized option the value return to correct number (same value from 'TABLE A'[ESTIMATE COST] )

 

Anybody know what happen here? I need the Total Summarize below of Table visual so I turn on this options. I have try to use Measure like this but the error still happen:

Measure Total Estimate Code = SUM([TOTAL ESTIMATE COST])

 Many thanks ❤️ 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@TungNguyen_19 , This may be level you want sum is different from you rowlevel you can try like

 

Sumx(Summarize(Table, Table[Item], Table[TOTAL ESTIMATE COST]), [TOTAL ESTIMATE COST])

 

Or add more columns from visual

 

Sumx(Summarize(Table, Table[Item], Table[SKU], Table[TOTAL ESTIMATE COST]), [TOTAL ESTIMATE COST])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@TungNguyen_19 , This may be level you want sum is different from you rowlevel you can try like

 

Sumx(Summarize(Table, Table[Item], Table[TOTAL ESTIMATE COST]), [TOTAL ESTIMATE COST])

 

Or add more columns from visual

 

Sumx(Summarize(Table, Table[Item], Table[SKU], Table[TOTAL ESTIMATE COST]), [TOTAL ESTIMATE COST])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you, after I use your fomular for my measure with ID key of table look like it return correct value now

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