Forum Discussion

nadirS's avatar
nadirS
Icon for Helper I rankHelper I
5 years ago

Time spent on Tasks by each application

I am trying to calculate the time my team spends on different tasks - Tasks are recieved throughout the day (average about 500/day). There are two steps to completing each task, one person actions it and another one validates it - We support about a 100 different applications so each task can contain requests related to one application or multiple applications. Each task is created as a seperate item on a sharepoint list. There can be Four actions related to each task for each application: 

1) NoChange

2) Update

3) New Setup

4) Amend

 

Sharepoint setup: 

 Actioned By Validated By Application 1Application 2 Application 3Application 4Application 5Start DateComplete Date 
Task 1 JohnTomNewSetupNoChangeUpdateNoChangeNoChange10/5/202010/10/2020
Task 2TomStephanieNoChangeNewSetupNoChangeNewSetupNoChange10/9/202010/14/2020
Task 3 StephanieJohnNoChangeNoChangeAmendNoChangeAmend10/7/202010/10/2020
Task 4 Jamie Samantha NoChangeAmendNoChangeNewSetupUpdate10/8/202010/10/2020
Task 5 JohnMelissaNoChangeAmendNoChangeNewSetupNoChange10/9/202010/10/2020
Task 6 MelissaRonaldUpdateAmendNewSetupUpdateAmend10/5/202010/10/2020
Task 7 RonaldVeronica NoChangeNewSetupNoChangeNoChangeNoChange10/11/202010/19/2020
Task 8 JohnAhmedNoChangeAmendNoChangeNoChangeNoChange10/5/202010/10/2020
Task 9 AhmedTimNewSetupNewSetupNoChangeNewSetupNoChange10/13/202010/18/2020
Task 10TimJohnAmendNewSetupUpdateNoChangeNoChange10/14/202010/19/2020

 

I have another Sharepoint list where we maintain an average of the time spent for each application, for example application1 new setup takes 120 minutes to action and 60 minutes to validate

 

Sharepoint Setup:

What i would ideally like to see is the following: 

 

NameAction (minutes)Validation (minutes)
John540 155 

 

The above calculation is as follows: 

 

Application1NewSetup120 Application3Amend75
Application1Update90 Application5Amend80
Application2Amend120 Total Time Spent155
Application4NewSetup90   
Application2Amend120   
Total Time Spent540   

 

Please let me know if this is doable in power bi or if you have any further question. 

 

 

 

2 Replies

  • v-deddai1-msft's avatar
    v-deddai1-msft
    Icon for Community Support rankCommunity Support

    Hi nadirS ,

     

    What's your logic of calculation? Would you please explain more about it? Why there is Application1Update in your calculation for John?

     

    For a preliminary understanding of your data, I transform your table 1:

     

     

    And create a relationship between table1 and table2:

     

    For more deatils, please refer to the pbix file: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EQA8W3_qbUlArIIZbtCNiyUB12388jPdu-0kqb4IEZ2EeQ?e=qabI0d

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    Best Regards,

    Dedmon Dai

     

     

  • What you have done is correct for 1 application, i have more than 200 applications. How do i manage this with so many applications.  The logic is that each activity takes a different amount of time, Amend, Delete, Update, NewSetup.