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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
aktripathi2506
Helper IV
Helper IV

calculate average of measures

I have created a measure which calculate the efficiency per week by following formula:

1 - DIVIDE([Hour Spent],[Total available hours])

 

I have calculated week after week this, now I want the average of these values (13 week i.e. quarter 1) as a result.

 

 

weekgroupHours SpentAverage of CapacityEfficiency
1sales 2141
2sales4.5552.50.991855
3sales107120.985955
4sales10.5659.50.984079
5sales20.57340.972071
6sales25776.750.967815
7sales32622.50.948594
8sales25493.750.949367
9sales4653.250.993877
10sales11.57150.983916
11sales9.51051.250.990963
12sales6.5667.50.990262
13sales21.5627.750.965751
Total 180.5690.970.74

 

This is the table result of power bi desktop. As we can see at the bottom I am getting .74 , rather than this I am expecting the average of efficiency which should be .9788.

How can we get that value. please advise and help.

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@aktripathi2506

 

In this scenario, you should use calculated column rather than a measure. Then you just need to set the aggregate type into Average for that calculated column. See my sample below:

 

Capture23.PNG

Capture22.PNG

Regards,

View solution in original post

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@aktripathi2506

 

In this scenario, you should use calculated column rather than a measure. Then you just need to set the aggregate type into Average for that calculated column. See my sample below:

 

Capture23.PNG

Capture22.PNG

Regards,

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.