Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to sort SSRS Matrix report by Grand total field

I created a matrix report. The report looks like this:

enter image description here

I want to sort the output so the region with highest sales should come on top.

e.g. From the above report South should show on top then West, Central and East.

How can this be done in SSRS (2008R2)?

like image 609
MSBI-Geek Avatar asked Feb 06 '15 17:02

MSBI-Geek


People also ask

How do I sort data in SSRS report?

Sorting in SSRS example Please select the Sorting tab. Sort by: It will allow you to select the available Column from the Dataset. Or we can create our own Expression by clicking the fx button. For instance, If you want to sort the data by Product Name, then select that column name.

How do I enable sorting in SSRS report?

In report design view, right-click the text box in the group header row to which you want to add an interactive sort button, and then click Text Box Properties. Click Interactive Sorting. Select Enable interactive sorting on this text box.

How to apply SSRs sorting?

To apply SSRS sorting, Select the Top Left Corner of the report, and Right-click on it to open a context menu. Please select the Tablix Properties.. option from it Once we click on the Tablix Properties.. option, a new Tablix Properties window will be opened. Please select the Sorting tab.

How do I sort a matrix by a specific column?

You can create a conditional column in Query Editor which defines sort orders for the field you drag to Columns section of the Matrix visual. Then click the field in your table, choose "Sort by column" to sort the field by the conditional column.

How do I sort multiple data regions in a report?

Add an interactive sort button that enables a user to click one sort button and sort multiple data regions. When you create an interactive sort button, you can specify whether to synchronize the sort for multiple data regions based on the same report dataset.

How do you sort a top level parent row group in Excel?

Sorting a Top-Level Parent Row Group for a Table or Matrix. Add an interactive sort button to a column header to enable a user to click the column header and sort the parent group rows in a table or matrix by the value displayed in that column. The order of child groups remains unchanged.


1 Answers

You should just need to change your sort expression in the Group Row properties. Should be something like

=Sum(Fields!YourFieldHere.Value)
like image 88
Jeffrey Van Laethem Avatar answered Sep 28 '22 13:09

Jeffrey Van Laethem