Oracle Message QSM-01251 - query rewrite cannot perform rollup due to the presence of a window function

ERRORquery rewrite cannot perform rollup due to the presence of a window function
CAUSENo query rewrite if a window function is present on a column that requires a roll-up to compute a measure.
ACTIONNone