From: Aaron Bono <postgresql@aranya.com>
To: Dinesh Tiwari <tiwaridinesh22@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Query regarding to MS reporting services (Grand total problem)
Date: Thu, 7 Sep 2006 09:01:41 -0500
Message-ID: <bf05e51c0609070701g7400643al3abb5326b9f8b42c@mail.gmail.com> (raw)
In-Reply-To: <20060906053019.15339.qmail@web36402.mail.mud.yahoo.com>
References: <20060906053019.15339.qmail@web36402.mail.mud.yahoo.com>
On 9/6/06, Dinesh Tiwari <tiwaridinesh22@yahoo.com> wrote:
>
> Hi,
> I have a problem reagarding Grand Total in the table footer.
> I am showing only top 10 seeling for each department in report but i want
> sum of whole table seelings in table footer. not only 10 sellings which are
> shown in report. I want the sum of all 40 thousand rows.
> How i can do it.
> If any one have idea about this please help me.
> Thanks in advance.
>
In general I would recommend you run two separate queries - one for the
report and another for the footer - and then union the two.
==================================================================
Aaron Bono
Aranya Software Technologies, Inc.
http://www.aranya.comhttp://codeelixir.com
==================================================================
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: postgresql@aranya.com, tiwaridinesh22@yahoo.com
Subject: Re: Query regarding to MS reporting services (Grand total problem)
In-Reply-To: <bf05e51c0609070701g7400643al3abb5326b9f8b42c@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox