Reply
avatar user
Anonymous
Not applicable

Suming a measure

Hi everyone,

First two columns are not measures, other are all measures. I Want to create a measure to sum the last column. i tried this: 

 

Suma Elasticidades solo contacto filas considerar = SUMX(Combinar1,[Suma Elasticidades para sacar elasticidad material]) but the value is a litle bit incorrect.
 
I also tried this: 
SumarSi = SUMX(Filter( VALUES(Combinar1[NumSem]) , [Measure Filter] = 1 ), [Suma Elasticidades para sacar elasticidad material])
The result is incorrect too.

Gustavo98_0-1660936648055.png

I hope someone can help me 😄

 

1 ACCEPTED SOLUTION
PabloDeheza
Solution Sage
Solution Sage

Hi there!

It would look something like this

SUMX( ADDCOLUMNS( SUMMARIZE( Table, NumSem, AñoSemOrd), "@Measure", [Suma Elasticidades para sacar elasticidad material], [@Measure]

Let me know if that helps!

View solution in original post

4 REPLIES 4
PabloDeheza
Solution Sage
Solution Sage

Hi there!

It would look something like this

SUMX( ADDCOLUMNS( SUMMARIZE( Table, NumSem, AñoSemOrd), "@Measure", [Suma Elasticidades para sacar elasticidad material], [@Measure]

Let me know if that helps!

avatar user
Anonymous
Not applicable

it worked perfectly.

 

Ty vry much.

avatar user
Anonymous
Not applicable

Ty vry much for responding.

 

What do you refer with "@Measure". The name of my new measure?

 

 

the measure uses ADDCOLUMNS, so "@Measure" y the name of the new column you are adding on your calculation, its just a name. The thing is that its a good practice to use @ on new columns created when using  ADDCOLUMNS or any other function that lets you do that, it helps to identify them

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)