Message Oracle ORA-41692 - unsupported aggregate operator in the having/compute clause: string

ERRORunsupported aggregate operator in the having/compute clause: string
CAUSEAn attempt was made to use an unsupported aggregate operator in the having or the compute clause in the rule condition.
ACTIONCorrect the input and try again.