Subject: Re: subtotal on subgroups question
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 22 Oct 2002 22:06:20 -0700 (PDT)
|
--- Ibeling, Narisa wrote:
> I am grouping the output data in geography and then country. I got
> it
> to work. But I am having difficulties getting the subtotals by
> geography.
> Say, I need to get the totals of Europe and Asian or North America.
> I
> use sum() function to get the grand total but I could not get the
> subtotals.
[code snipped]
> Your help is greatly appreciated.
>
>
> Thanks,
>
> Narisa Ibeling
Hi Narisa,
Do have a look at the following snippet:
"Grouping with totals/subtotals -- nested Muenchian method"
at:
http://www.topxml.com/code/default.asp?p=3&id=v20010507032722
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|