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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
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!

Anonymous
Not applicable

it worked perfectly.

 

Ty vry much.

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.