Re: Query regarding to MS reporting services (Grand total problem)

From: "Aaron Bono" <postgresql(at)aranya(dot)com>
To: "Dinesh Tiwari" <tiwaridinesh22(at)yahoo(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Query regarding to MS reporting services (Grand total problem)
Date: 2006-09-07 14:01:41
Message-ID: bf05e51c0609070701g7400643al3abb5326b9f8b42c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 9/6/06, Dinesh Tiwari <tiwaridinesh22(at)yahoo(dot)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.com
http://codeelixir.com
==================================================================

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Emi Lu 2006-09-07 14:02:49 Re: Is it possible to left join based on previous joins result
Previous Message Emi Lu 2006-09-07 13:13:26 Is it possible to left join based on previous joins result