Dukester0122
IS-IT--Management
I have a formula that shown below with results measured in days delayed for shipments:
if {?Performance between} = "Order to Invoice Date" then
( if {AVSOPHDR.ORDRDATE} = Date(1900, 1, 1) then "No BORD/DORD"
else totext({AVSOPHDR.DOCDATE}-{AVSOPHDR.ORDRDATE},0,""))
else if {?Performance between} = "Order to Actual Ship Date" then ( if {AVSOPHDR.ACTLSHIP} = Date(1900, 1, 1) then "Date Not Entered" else totext({AVSOPHDR.ACTLSHIP}-{AVSOPHDR.ORDRDATE},0,""))
I created a chart then sorted the results of @MeasureDates with the following:
On-time less than or equal to 0
One Week 1 to 7 days
Two Weeks 8 to 14 days
Three Weeks 15 to 21 days
More than 4 weeks More than 22 days
Only On-time, One week and More than 4 weeks are showing in the chart. i've checked the results in the report and a lot are in 2 and 3 weeks.
if {?Performance between} = "Order to Invoice Date" then
( if {AVSOPHDR.ORDRDATE} = Date(1900, 1, 1) then "No BORD/DORD"
else totext({AVSOPHDR.DOCDATE}-{AVSOPHDR.ORDRDATE},0,""))
else if {?Performance between} = "Order to Actual Ship Date" then ( if {AVSOPHDR.ACTLSHIP} = Date(1900, 1, 1) then "Date Not Entered" else totext({AVSOPHDR.ACTLSHIP}-{AVSOPHDR.ORDRDATE},0,""))
I created a chart then sorted the results of @MeasureDates with the following:
On-time less than or equal to 0
One Week 1 to 7 days
Two Weeks 8 to 14 days
Three Weeks 15 to 21 days
More than 4 weeks More than 22 days
Only On-time, One week and More than 4 weeks are showing in the chart. i've checked the results in the report and a lot are in 2 and 3 weeks.