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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

HOW TO GET AVERAGE BASED ON MONTH

Hi,

 

I have a sharepoint list data source, which has the following columns, i want to calculate average based on month, below i have shown only for one month but there are other months as well

AA=8

BB=15

 

AVERAGE=(8+15)/2

 

date      Employee           Projects hrs

10/3       AA                         2

10/3       BB                          5

10/4       AA                         3

10/4       BB                         4

10/5       AA                        3

10/5       BB                         6

 

1 ACCEPTED SOLUTION
jthomson
Solution Sage
Solution Sage

averagemeasure = divide(sum([projects hrs]),distinctcount([employee]))

 

This'll work overall, put the date in a matrix/table and navigate to a month by month level

View solution in original post

2 REPLIES 2
jthomson
Solution Sage
Solution Sage

averagemeasure = divide(sum([projects hrs]),distinctcount([employee]))

 

This'll work overall, put the date in a matrix/table and navigate to a month by month level

Anonymous
Not applicable

It worked!!,....thanks for helping me out

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.