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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
amenne
Frequent Visitor

Calculate Productivity by month by Service Rep and average by Group

I am trying everything and failing...

I have several functions I am tring to tackle.

Dont Care about the format, just need all of these Data Points

 

Here is the starting Table:

Name           Date Live           PVS          LiveT/F
John Doe      7/7/17            Partner            1

Jane Doe      6/4/16            Partner            1
Jane Doe      6/6/17            Partner            1

Jane Doe                           Partner            0

Jane Doe      7/1/17            Partner            1

 

Sue Doe      7/7/17            SVC                 1

Sue Doe      7/4/16            SVC                 1
Sue Doe      6/6/17            SVC                 1

Jack Doe                          SVC                 0

Sue Doe      7/1/17            SVC                 1

 

I want to have this Data yeild:

 

              Total Productivity:

Name        June       July  Aug ...Etc            

Sue Doe:      1           4

Jack Doe:     0           0
John Doe:    1           1
Jane Doe:    2           1

   Average:   1         1.5

 

Partner Avg: 1.5         1

SVC   Avg:    .5           2

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @amenne,

 

I want to confirm how you calculated the value per month per name. For example, why it should be '4' for Sue Doe in July? Why it should be '1' for John Doe in June? Also, please describe the syntax to calculate the average value.

 

By the way, you could refer to the workaround I mentioned in this thread.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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