all groups > sql server reporting services > august 2006 >
You're in the

sql server reporting services

group:

Filter and Aggregat function



Filter and Aggregat function leebm NO[at]SPAM sms.at
8/28/2006 11:29:49 AM
sql server reporting services: Hi all,
I am creating a report in BI Dev Studio and use the grouping
functionality to show the number of leads for different sales
representatives. I also use "drill down" to show the leads in detail.
The report also uses a filter to filter out certain time period.
On the sales persons level I use "Rowcount" to show the number of
leads. this works fine as long as I do not use any filter. If I use the
filter, the "Rowcount" function still shows the number of leads for the
whole table, although the sub-group shows the right number of entries.

Where is my mistake?
Re: Filter and Aggregat function Ben Watts
8/28/2006 2:44:44 PM
You could place your filter in the WHERE statement under the data tab.
[quoted text, click to view]

Re: Filter and Aggregat function Markus
8/29/2006 4:19:52 AM

Ben Watts schrieb:

[quoted text, click to view]

Thanks for the answer, but how do I place the filter in the sql
statment exactly? I tried something like: select * from
Adressenherkunft where insertdate = 'Parameters!von.Value' but this
does not work?
Re: Filter and Aggregat function Jordi Rambla
8/31/2006 12:00:00 AM
Hi,

The syntax is like

insertdate = @von

where "von" is the name of the parameter exactly as it shows in the report
parameters dialogbox.

HTH,

Jordi Rambla
MVP SQL Server (Reporting Services)
Solid Quality Learning (http://www.solidqualitylearning.com)

"Markus" <leebm@sms.at> escribió en el mensaje
news:1156850392.248071.158990@75g2000cwc.googlegroups.com...
[quoted text, click to view]

AddThis Social Bookmark Button