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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply

How do I get the average of something to display correctly?

Hi all,

 

So I have a table of Business Application Services. They have two columns:

 

- One with how many servers they have

- One with how many servers is monitored

- The monitoring coverage (a simple DAX formula which divides monitored servers / how many servers)

 

The value should be 29%, but Power BI is calculating it as 64%. Any ideas why? Any alternative calculation I can use? 

2 ACCEPTED SOLUTIONS
freginier
Super User
Super User

Hey there!

 

I think if you use this formula instead it should work: (Sum of monitored servers) / (Sum of total servers)

 

You can write it like this in DAX: Monitoring_Coverage = DIVIDE(SUM('Table'[Monitored Servers]), SUM('Table'[Total Servers]))

 

Hope this helps!

Zoe 😁😁

View solution in original post

ahmedoye
Responsive Resident
Responsive Resident

Hi, try a measure like this:

AVERAGEX(Table, Table[Monitored Servers] / Table[No of Servers])

If this works, kindly mark this as solution to make it easy for anyone with similar issue find the solution

View solution in original post

2 REPLIES 2
ahmedoye
Responsive Resident
Responsive Resident

Hi, try a measure like this:

AVERAGEX(Table, Table[Monitored Servers] / Table[No of Servers])

If this works, kindly mark this as solution to make it easy for anyone with similar issue find the solution

freginier
Super User
Super User

Hey there!

 

I think if you use this formula instead it should work: (Sum of monitored servers) / (Sum of total servers)

 

You can write it like this in DAX: Monitoring_Coverage = DIVIDE(SUM('Table'[Monitored Servers]), SUM('Table'[Total Servers]))

 

Hope this helps!

Zoe 😁😁

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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