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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Tarak_G
Microsoft Employee
Microsoft Employee

How Calculated Column works and didn't understand how sumx is evaluated in calculated column ?

Hi Team,

 

Just wanted to understand how calculated columns works ?

 

For Ex: 

I've written below two calculated columns in a table and these two calculated columns retuns the same result.

 

Here is the link for PBIX file  :https://1drv.ms/u/s!Au-aOkl1BoHugy-wjBKaEu957lDE?e=Pj8tbS


Calculated Columns :

 

Sales_Column = SUM(Sheet1[Sales])

Sumx_col = SUMX(Sheet1,Sheet1[Sales])

 

Here i didn't understand about the sumx_col : Sumx should calculate row by row but it will give us the total value like sum and attached below snap

 

Snap for result

 

Capture.PNG

 

Thanks In Advance

 

1 REPLY 1
amitchandak
Super User
Super User

@Tarak_G , In the case of a column, a complete table is considered. So you will get the grand total.

 

They will differ in measure

refer: https://radacad.com/sum-vs-sumx-what-is-the-difference-of-the-two-dax-functions-in-power-bi

https://exceleratorbi.com.au/use-sum-vs-sumx/

 

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

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (25)