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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Okimrats
New Member

Average from different collums that are average of different rows

Dear community,

 

I am fairly new in the PowerBi world and I am struggling with the following case:

 

I have a set of data like this in excel:

Table 1 - Data

WorkersAverage of KPI 1to4KPI1KPI2KPI3KPI4
Worker 13,0%3,0%   
Worker 163,8%52,5%75,0%  
Worker 145,8%37,5%25,0% 75,0%
Worker 110,0%10,0%   
Worker 250,0%   50,0%
Worker 256,3%50,0%  62,5%
Worker 225,0%25,0%   

 

In PowerBi I would like to get a consolidated view per worker like this: 

Table 2 - Desired outcome

WorkersAverage of KPI 1to4Average of KP1Average of KP2Average of KP3Average of KP4
Worker 150,25%25,75%50% 75%
Worker 246,87%37,5%  56,25%

 

The columns "Average of KPI1, KPI2, KPI3 and KPI4" are no problem. By just selecting the data "KPI1" and then select that it should be shown as an average the table is showing the right values. 

 

The issue is if I add to the table the data "Average of KPI 1to4" and then select average, the average shown in the column "Average KPI 1 to 4" is the average of the values of Table 1 of the rows for each worker "Average KPI 1 to 4"  (Data) (e.g., for worker1 average of 3, 63.8, 45.8, 10) instead of being the average of the values "average KPI1", "average KPI2", "average KPI3", "average KPI4" (e.g., 25.75, 50, 75) resulting from the consolidation. Empty cells should not be considered for averages. 

 

So instead of getting the desired values shown in Table 2 I am getting the following values: 

 

 Table 3 - Current wrong outcome

WorkersAverage of KPI 1to4Average of KP1Average of KP2Average of KP3Average of KP4
Worker 130,65%25,75%50% 75%
Worker 243,76%37,5%  56,25%

 

Does anyone have an idea how this can be solved? 

 

Thank you for your help! 

 

Best regards, 

Okimrats

2 REPLIES 2
amitchandak
Super User
Super User

@Okimrats , Looking at the values you have Average of KPI 1 seems correct, what is the logic to having that 50%

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amitchandak, 

 

Thank you for your reply. 

 

The average that I would like to get in Collumn Average KPI 1 to 4 is the average value of the Average of KPI1, Average of KPI2, Average of KPI3 and Average of KPI4.  

 

Average of KP1Average of KP2Average of KP3Average of KP4
25,75%50% 75%

 For example according to the values above, the average of those 3 values should be then 50,25%. This is in order to have an idea of how how good where the KPIs in average.

 

The value that I get of 30,65% is the average of the single row averages from KPI to KPI 4 below: 

WorkersAverage of KPI 1 to 4
Worker 13,0%
Worker 163,8%
Worker 145,8%
Worker 110,0%
Worker 250,0%
Worker 256,3%
Worker 225,0%

 

Best regards,

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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