Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a table which shows the availablilty of 2 Entities (2 locations for each) for every hour for the last 35 days. PFB a screensnip of the table.
(the availablity values are not always 100. It is a decimal value anywhere between 0 and 100)
I want to use 2 cards to show the average availability of the 2 entities. I tried 2 different methods for this:
Method 1:
The average is 100
Method 2:
I used a measure to find the average.
I have found out that the way in which excel and Power BI calculate average is different but I not quite able to figure out how to use averagex function get the desired result.
Can anyone help please.
Solved! Go to Solution.
Dear @Anonymous ,
Power BI calculate Average as an (arithmetic mean) of all the numbers in the specified column,However when you are using the average function in the pivot table you are calculating the average of average.
so, if you want to have the same calculation as excel,use the below formula:
AveragePerCity =
AVERAGEX(
VALUES('browser data'[Availability]),
CALCULATE(AVERAGE('browser data'[Availability]),'http data'[Entity ID] = "HTTP_CHECK-12CD3A6E8A36AA18"))
hope this helps .
please mark it as a solution if it's solved.
Dear @Anonymous ,
Power BI calculate Average as an (arithmetic mean) of all the numbers in the specified column,However when you are using the average function in the pivot table you are calculating the average of average.
so, if you want to have the same calculation as excel,use the below formula:
AveragePerCity =
AVERAGEX(
VALUES('browser data'[Availability]),
CALCULATE(AVERAGE('browser data'[Availability]),'http data'[Entity ID] = "HTTP_CHECK-12CD3A6E8A36AA18"))
hope this helps .
please mark it as a solution if it's solved.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.