Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
gopikrishnach
Creator
Creator

Question on Pivot Table % Calculation

I want to create a Dashboard with Monthly % calculation by task, By monthwise and Yearwise based on Task Completion Time. I Created a Piovt Table with my data, but the % values are not coming correctly.


Here iam attaching the datewise date, based upon data we need to calculate the Monthwise reload completion  % and yearwise reload completion % Value.


Please help me how to calculate the % calculation by Monthly and yearly for each task.

45 Replies
gopikrishnach
Creator
Creator
Author

Yes correct, But mapping will not happen due to those are standard formats. So we need to change the expression, based upon the Task name.

sunny_talwar

I have no clue what you mean

gopikrishnach
Creator
Creator
Author

In that expression we are maping timing based upon numeric, but I have different SLA Timing for each and individual tasks. Like 1_ADR_finals SLA IS 23:00, 1_SAL_QVD task SLA is 5:00. So I need expression based on task name not as per the numeric.

sunny_talwar

You need a different SLA Time for each of the task, right? So where is that list? If you are unable to answer my direct question this time... I apologize in advance for not responding after this... Because I am trying my best to help you... but you are just not giving me enough to help you.

gopikrishnach
Creator
Creator
Author

Find below is the SLA timings for each task.

  

Task NameSLA Timings
1_vd21:30:00
1_CURR1:30:00
1_ADR_finals21:35:00
1_ADR_prelims5:15:00
1_DC_QVD Extract21:00:00
1_CLASS QVD Extract21:35:00
1_BRDG_QVD_Extract5:10:00
1_SAL_QVD_Extract5:10:00
1_QVD_Final21:40:00
1_QUOT_Daily3:30:00
1_User_Pro2:35:00
2_TVD9:25:00
2_Tvfb21:50:00
3_APPBD6:08:00
3_APPBD_Trans23:00:00
4_APBD6:03:31
gopikrishnach
Creator
Creator
Author

Yes I have different SLA for each task, some of the task will complete Yestesday(i.e., Current date-1) and some of the task on same day. 4_ task is dependent on 3_; 3_ task dependent on 2_; 2_ dependent on 1_. For each app we have multiple 1_,2_ and 3_ task. So based upon SLA timings we need to calculate the Monthly and Year FLAG. Please help me, how to calculate the SLA % by Month wise. Thank you so much for your help.

sunny_talwar

Does this look right?

Capture.PNG

gopikrishnach
Creator
Creator
Author

In below situation it is not working, due to some of the task were completed yesterday(Current Day-1).

please use the same Task Completion timings.

  

Task NameSLA Timings
1_Eds5:00
1_PER_QVD Extract5:00
1_HRCHY finals5:00
1_HRCHY prelims5:00
1_DDC_QVD Extract5:00
1_PROD5:00
1_STO5:00
1_BAL5:00
1_VFBAL5:00
1_QUOTA5:00
1_PROJECTIONS5:00
2_FVD EXTRACT5:00
2_VFBAL EXTRACT5:00
3_VFBAL TRANSFORM5:15
4_VFBAL5:30
sunny_talwar

Not sure what you mean... I am going to request you to update the qvw to show me the error point... Thank you!!

gopikrishnach
Creator
Creator
Author

Please refer below screen shot and mentioned different SLA timings.

Output.png

  

Task NameSLA Timings
1_vd5:00:00
1_CURR5:00:00
1_ADR_finals5:00:00
1_ADR_prelims5:00:00
1_DC_QVD Extract5:00:00
1_CLASS QVD Extract5:00:00
1_BRDG_QVD_Extract5:00:00
1_SAL_QVD_Extract5:00:00
1_QVD_Final5:00:00
1_QUOT_Daily5:00:00
1_User_Pro5:00:00
2_TVD5:00:00
2_Tvfb5:00:00
3_APPBD5:15:00
3_APPBD_Trans5:15:00
4_APBD5:30:00