Hello All,
When using group by grouping sets, I have always resorted to using longwinded case statements (as in the example below), but thought there must be an easier and cleaner way...is there? I know you can use case when grouping (t_team_nm) = 1 then 'Subtotal'...but I have only gotten that to work for subtotals on one field...not subtotals on a combination of multiple fields.
Thanks!
sel
↧