Hello,
I am using CRX with SQL and I am trying to add a cross tab to my report with the following information.
For tickets that are not equal to "Closed"
1-3 Days old
3-5 Days old
5-9 Days old
> 9 Days old
I found this posting by LBass a while back but the "aged0to30days" formulas do not work for the number of days I am looking for.
if {table.duedate} in Aged0to30Days then "Aged 0 to 30 Days" else
if {table.duedate} in Aged31to60Days then "Aged 31 to 60 Days" else
if {table.duedate} in Aged61to90Days then "Aged 61 to 90 Days" else
if {table.duedate} in Over90Days then "Over 90 Days"
Here is the formula I tried for 1-3 days.
if {STATUS_TBL.STATUS}<>"CLOSED"
and {CASE.ROW_ADDED_DTTM}>=currentdate-day(currentdate)+2 then 1 else 0
For some reason this formula is giving me a count of 1 for every open ticket, no matter what the age.
I appreciate any help you can offer.
Thank you
R
I am using CRX with SQL and I am trying to add a cross tab to my report with the following information.
For tickets that are not equal to "Closed"
1-3 Days old
3-5 Days old
5-9 Days old
> 9 Days old
I found this posting by LBass a while back but the "aged0to30days" formulas do not work for the number of days I am looking for.
if {table.duedate} in Aged0to30Days then "Aged 0 to 30 Days" else
if {table.duedate} in Aged31to60Days then "Aged 31 to 60 Days" else
if {table.duedate} in Aged61to90Days then "Aged 61 to 90 Days" else
if {table.duedate} in Over90Days then "Over 90 Days"
Here is the formula I tried for 1-3 days.
if {STATUS_TBL.STATUS}<>"CLOSED"
and {CASE.ROW_ADDED_DTTM}>=currentdate-day(currentdate)+2 then 1 else 0
For some reason this formula is giving me a count of 1 for every open ticket, no matter what the age.
I appreciate any help you can offer.
Thank you
R