ORA-35652
(SSFRLST01) In the FIRST or LAST phrase, you requested a negative number of dimension values (number).
Cause
A negative number has no meaning in this context.
Action
If you want zero to be used instead of a negative number, then write an expression that converts the negative number to zero.