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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
MostafaGamal
Helper V
Helper V

measure to get the average of values

Hi All,

I have a SP connected to a PBI report, I want to  create a measure that get the average of values in a column and rounds it to the nearest integer number 

for example if the average is 2.7  it will rounds it to 3 

if the average is 2.3 it will rounds it to 2 

 

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Using ROUND and AVERAGE should work fine.

 

Rounding to 0 decimal places:

ROUND ( AVERAGE ( Table1[ColA] ), 0 )

 

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

Using ROUND and AVERAGE should work fine.

 

Rounding to 0 decimal places:

ROUND ( AVERAGE ( Table1[ColA] ), 0 )

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors