JCs: IDMS_JC all JobCards that are Won and have CreateDateTime in between now and start of the year before today (01/01/2021).

  • JCsCurrent: from the JCs above we keep the entries with CreateDate in the selected time frame (YTD, QTD, MTD).
  • JCsPrevious: from the JCs above we keep the entries with CreateDate in the time frame (PYTD, PQTD, PMTD).
  • JCsDeliveredBeforePromiseCurrent: from the JCsCurrent we keep the entries that have been closed and have a promised date and the closed date is earlier than the promised date.
  • JCsDeliveredBeforePromisePrevious: from the JCsPrevious above we keep the entries that have been closed and have a promised date and the closed date is earlier than the promised date.

Calculations

  • CurrentRate: If JCsCurrent count > 0 and JCsDeliveredBeforePromiseCurrent count > 0 then JCsDeliveredBeforePromiseCurrent count / JCsCurrent count.
  • PreviousRate: If JCsPrevious count > 0 and JCsDeliveredBeforePromisePrevious count > 0 then JCsDeliveredBeforePromisePrevious count / JCsPrevious
  • PercentageChange: If the PreviousRate is > 0 then (CurrentRate – PreviousRate) / PreviousRate.
  • No labels
Write a comment…