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
abehrmann
Helper II
Helper II

Creating a new table in Power BI using aggregated data from other tables

I have a data set looking at workorders my company completes,  there are workorder #s and users assiged to them. 

 

i am looking to create a new table that agregates varous metrics from the data set.  currently in my new table i have listed the users and attepting to average the time to complete work orders.  but usin the AVG  function, but it is returning the average for the entire data set not the specific users aversage.  The goal for me is to get some stats on each user to eventually rank them based on each column and then rank them based on an agg of their ranks in each category. 

 

Any help is appreciated

 

Thanks, 

1 REPLY 1
Anonymous
Not applicable

@abehrmann you need to use allexcept to avg it at a users level

 

CALCULATE(AVG(table1[worktime], allexcept(table1, table1[user]))

 

https://msdn.microsoft.com/en-us/query-bi/dax/allexcept-function-dax

 

once you have all the metrics, if you want to create an agg table with them you can use calculated tables. I think you can create using distinct and values function. chck details in the next link(https://docs.microsoft.com/en-us/power-bi/desktop-calculated-tables).

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.