Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Multiple Grand Totals - response (2) by dnoeth

$
0
0

Hi Bill,
there's only one grand total.
But when you need multiple aggregates on the same level you can simply delimit them by comma:

with sum(RACK_UNITS)(title 'Total Rack Units:'),
     sum(VENDOR_MAX_WATT_POWER)(title 'Total WATT POWER:')by location
with sum(RACK_UNITS)(title 'Grand Total RUs:'),
     sum(VENDOR_MAX_WATT_POWER)(title 'Grand Total WATT POWER:');

Btw, are you actually still running BTEQ reports like this? I almost forgot about that syntax :-)


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>