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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.