SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS 2008R2 GROUPING


SSRS 2008R2 GROUPING

Author
Message
skgudi2009
skgudi2009
SSC-Enthusiastic
SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)

Group: General Forum Members
Points: 168 Visits: 112
I have add multiple goups in ssrs 2008 r2.My problem is when i try to add a group 1 extra column is adding for that group but i dont want the column in the top of the table it should add.
Ex.There are 5 agents and I have to display individual agentwise total so i want group it by agentid when i adding group 1 extra column is adding.Can u please help me.
H4K
H4K
Mr or Mrs. 500
Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)

Group: General Forum Members
Points: 515 Visits: 567
When creating a group you have a option of selecting, whether you need a header and footer for that group.
If the groups are already created then select any textbox in the row you don't want and right click and select 'Delete Rows' option.

BI Developer
SSRS, SSIS, SSAS, IBM Cognos, IBM Infosphere Cubing services, Crystal reports, IBM DB2, SQL Server, T-SQL
Please visit... ApplyBI
skgudi2009
skgudi2009
SSC-Enthusiastic
SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)

Group: General Forum Members
Points: 168 Visits: 112
Thank u but my problemi is i want to display the report like this

Agent 1

No Name balance
1 Ramesh 1000
2 Suresh 2000
3 Rajesh 1000
Total 4000

Agent 2

No Name balance
4 Veeresh 2000
5 Maltesh 3000
6 Amit 4000
Total 9000
Grand total 13000

But after adding group it is displaying like this i.e 1 extra column is adding


Agent1 No Name balance
1 Ramesh 1000
2 Suresh 2000
3 Rajesh 1000
Total 4000

Agent2 No Name balance
4 Veeresh 2000
5 Maltesh 3000
6 Amit 4000
Total 9000
Grand total 13000
How to solve this problem
skgudi2009
skgudi2009
SSC-Enthusiastic
SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)

Group: General Forum Members
Points: 168 Visits: 112
This is the report i required with Fieldnames as No,Name and Balance
with group as agent

Agent 1
No Name balance
1 Ramesh 1000
2 Suresh 2000
3 Rajesh 1000
Total 4000
Agent 2
No Name balance
4 Veeresh 2000
5 Maltesh 3000
6 Amit 4000
Total 9000
Grand total 13000

But when i add agent as group Report is displaying like this
means Agent,No.Name and Balance

Agent No Name balance
1
1 Ramesh 1000
2 Suresh 2000
3 Rajesh 1000
Total 4000
Agent No Name balance
2
4 Veeresh 2000
5 Maltesh 3000
6 Amit 4000
Total 9000
Grand total 13000

is it posible
H4K
H4K
Mr or Mrs. 500
Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)Mr or Mrs. 500 (515 reputation)

Group: General Forum Members
Points: 515 Visits: 567
When you create a group, select 'Add group header' to add a header to the group.
Now a header is added as well as a column.
Delete the column by selecting the column, right click, select 'delete columns'.
Create another group header by right clicking on the row group header created and selecting insert row -> above.
In the first row group header, add the field with 'agents' in your case.
In 2nd row group header, add column titles.

BI Developer
SSRS, SSIS, SSAS, IBM Cognos, IBM Infosphere Cubing services, Crystal reports, IBM DB2, SQL Server, T-SQL
Please visit... ApplyBI
skgudi2009
skgudi2009
SSC-Enthusiastic
SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)

Group: General Forum Members
Points: 168 Visits: 112
Thank You very Mucj it is working fine
Conficker
Conficker
SSC Veteran
SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)

Group: General Forum Members
Points: 237 Visits: 386
Thanks H4K, Exactly what i needed
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search