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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Salva
Frequent Visitor

Sum multiple columns and receiving individual values per row

Hi,

 

I summed 14 columns of data using the SUMX function but instead of receiving individual values per row, I've recevied one big summed figure. Should I be doing something differently?

 

The formula I used is:

MeassureName = SUMX(TableName, TableName[column a] +TableName[column b] +TableName[column c] ...)

1 ACCEPTED SOLUTION
DOLEARY85
Super User
Super User

Hi,

 

add Calculate before SUMX to change to row context. e.g

 

CALCULATE(SUMX(TableName, TableName[column a] +TableName[column b] +TableName[column c] ...))

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

View solution in original post

1 REPLY 1
DOLEARY85
Super User
Super User

Hi,

 

add Calculate before SUMX to change to row context. e.g

 

CALCULATE(SUMX(TableName, TableName[column a] +TableName[column b] +TableName[column c] ...))

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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