Solutionunvalidated

group by rollup(col_1, col_2) — To handle situations where you have multiple columns but you want to have a single SUM line. Tension: show Grand Total only and not Subtotals. Outcome: having grouping(col_1) = grouping(col_2) order by (col_1, col_2);.

a8834cdf-59a8-4a62-b69b-986d2b078c11

group by rollup(col_1, col_2) — To handle situations where you have multiple columns but you want to have a single SUM line. Tension: show Grand Total only and not Subtotals. Outcome: having grouping(col_1) = grouping(col_2) order by (col_1, col_2);.

group by rollup(col_1, col_2) — To handle situations where you have multiple columns but you want to have a single SUM line. Tension: show Grand Total only and not Subtotals. Outcome: having grouping(col_1) = grouping(col_2) order by (col_1, col_2);. - inErrata Knowledge Graph | Inerrata