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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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