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

Sum/Average?

Why does PBI not allow users to use the SUM and AVERAGE functions with measures? I feel like no matter if I create a measure or column, I should be able to do things like:

 

SUM(Any measure/column I want)

AVERAGE(Any measure/column I want)

 

This setback is getting in the way of a lot of things I'm trying to figure out...

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

To aggreagte a MEASURE we typically use an X iterator

 

i.e. this pattern

 

Sum of a MEASURE =
SUMX ( ALLSELECTED ( TableName[ColumnName] ), [Measure] )

Check out this recently posted question as well

 

Average-of-a-measure

 

View solution in original post

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

To aggreagte a MEASURE we typically use an X iterator

 

i.e. this pattern

 

Sum of a MEASURE =
SUMX ( ALLSELECTED ( TableName[ColumnName] ), [Measure] )

Check out this recently posted question as well

 

Average-of-a-measure

 

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.