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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
algoritmia_pbi
Regular Visitor

Average count rows per attribute (column)

Hi community

 

I have one question with my dataset, I need to calculate the average of rows (each row represents a task) that a team member has per week, for example:

 

Lisa's tasks

 

Week     Tasks (count of rows)     

1                      5                                

2                      8                                   

3                     11                                  

 

Total               24 tasks in 3 weeks = 8 tasks in Avg per week

 

I'd like to visual a table with each team member in one column and the avg tasks per week in values

 

I don't know how to get this done, so I appreciate your help, thanks!

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Share the source data in a format that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ichavarria
Solution Specialist
Solution Specialist

Hello @algoritmia_pbi,

 

You can use DAX to calculate the average number of tasks per week for each team member in a separate column of your dataset. Here's how you can do it:

 

  1. Create a calculated column in your dataset by clicking on "New Column" in the "Modeling" tab of the Power BI Desktop ribbon. Name the column "Tasks per Week" or something similar.

  2. Use the following DAX formula to calculate the average number of tasks per week for each team member:

    Tasks per Week = DIVIDE([Tasks], [Weeks])

    This formula divides the total number of tasks for each team member by the number of weeks they've been working.

  3. Add a table visualization to your report and drag the team member column and the "Tasks per Week" column onto it.

  4. You should now see a table with each team member in one column and their average number of tasks per week in another column.

I hope this helps! Let me know if you have any further questions.

Best regards, 

Isaac Chavarria

If this post helps, then please consider Accepting it as the solution and give Kudos to help the other members find it more quickly

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.