Hello,
Inserted below is a formula that I have built using the DayofWeek function, which is not working in my Daily Apps report. The purpose of this formula is to capture daily loan applications for each business day of a week, avoiding the weekends (when no applications are taken).
IF (DayofWeek ({T_LN_STAT.STAT_AGGR_DT}) in 3 to 6)
THEN ({T_LN_STAT.STAT_AGGR_DT}-1)
else if (DayofWeek ({T_LN_STAT.STAT_AGGR_DT}) = 2)
then ({T_LN_STAT.STAT_AGGR_DT}-3)
-NOTE: initially I had used the Currentdate function in place of the actual DB field and that did not work either.
Can someone offer a better way to do this >?
Many thanks~!
DTrinite
Inserted below is a formula that I have built using the DayofWeek function, which is not working in my Daily Apps report. The purpose of this formula is to capture daily loan applications for each business day of a week, avoiding the weekends (when no applications are taken).
IF (DayofWeek ({T_LN_STAT.STAT_AGGR_DT}) in 3 to 6)
THEN ({T_LN_STAT.STAT_AGGR_DT}-1)
else if (DayofWeek ({T_LN_STAT.STAT_AGGR_DT}) = 2)
then ({T_LN_STAT.STAT_AGGR_DT}-3)
-NOTE: initially I had used the Currentdate function in place of the actual DB field and that did not work either.
Can someone offer a better way to do this >?
Many thanks~!
DTrinite