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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mccollough
Helper I
Helper I

Aggregating Columns

Hello Power BI Community!

 

Long time lurker, first time poster here.

 

Here is a simplified version of my fact table

mccollough_1-1625158960428.png

 

My goal is to create a new table that consolidates daily employee averages. Unfortunately, I've only been able to produce one that yields total employee averages.

 

Here's what I did

 

mccollough_2-1625159480563.png

 

Batman's actual average daily work volume is 3.33 his total average work volume is 2.5

 

Questions

1. How can I modify the DAX above to produce the daily averages instead of the total averages?

2. Why does the DAX above work correctly for 'Days Worked' and not the other columns?

 

Icing on The Cake

 

My ultimate goal is to create a table that I can use to create a conditionally formatted matrix based on the Z score for each of the metrics so I can highlight top performers. Is there an easier way to accomplish this?

 

May the Force be with you,

Kyle

1 ACCEPTED SOLUTION
mccollough
Helper I
Helper I

mccollough_0-1625265154867.png

Hi @AlB ,
I was actually able to fix this calculation on my own but I still need help with the "Icing on the Cake Section".
Might need to take you up on that tutoring if I can't figure it 😑

View solution in original post

2 REPLIES 2
mccollough
Helper I
Helper I

mccollough_0-1625265154867.png

Hi @AlB ,
I was actually able to fix this calculation on my own but I still need help with the "Icing on the Cake Section".
Might need to take you up on that tutoring if I can't figure it 😑

AlB
Community Champion
Community Champion

Hi @mccollough 

Do you want to share the input table in text-tabular format, instead of on a pic, so that the contents can be copied? Plus show the expected result

And if you want an answer on the Z score please show how exactly it should be calculated. Maybe here you have the solution: https://community.powerbi.com/t5/Desktop/Can-PowerBi-give-me-Z-Scores/m-p/250980

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

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.