SSRS Grouping at the right of tablix:

One of my issues was to develop a report with a grouping column at the right like that:

a group on ProductCategory and ProductSubcategory

For this, we have to develop a report and group only on ProductCategory (The first column).

And for grouping on Product Subcategory column, we have to apply a formula so as to hide duplicated lines.

Click on Product Subcategory column, and select Value properties then select <Expression…>

On expression, write the following code:

=Iif(Fields!ProductCategory.Value= Previous(Fields!ProductCategory.Value) AND
Fields!ProductSubcategory.Value= Previous(Fields!ProductSubcategory.Value) , ” ” ,Fields!ProductSubcategory.Value)

And here is the result:

This entry was posted in SSRS and tagged , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s