Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Groups & Totals
Message
From
08/06/2011 11:20:51
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Reporting Services
Title:
Groups & Totals
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01513568
Message ID:
01513568
Views:
84
Hi,

I'm trying to define a report which will display data like this:
Agent: Fred

Policy #   Amount Received   Policy Year    Commission
12345                  120                    1                1.00
                                              2                0.50
54321                  200                    1                2.00
09876                  240                    1                3.00
                         ______                              _______
                        560                                      6.50
The data that is used to drive the report is similar to this:
Agent   Policy   AmtReceived    PolicyYear   Commission    Receipt
Fred     12345    120                 1                  1.00                 001
Fred     12345    120                 2                  0.50                 001
Fred     54321    200                 1                  2.00                 002
Fred     12345    240                 1                  3.00                 003
A receipt's amount can be split into multiple records.

So I need a group on Agent and I believe a group on Receipt. How do I get the sub-totalling on Amount Received to give me 560 rather than doubling the 120?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Next
Reply
Map
View

Click here to load this message in the networking platform