Message Oracle PLS-00603 - GROUPING function supported only with GROUP BY CUBE or ROLLUP

ERRORGROUPING function supported only with GROUP BY CUBE or ROLLUP
CAUSEUser attempted to use the GROUPING function without GROUP BY CUBE or GROUP BY ROLLUP
ACTIONAvoid using the GROUPING function without GROUP BY CUBE or ROLLUP