SSRS report - Matrix columns grouping and sorting

mark goldin 706 Reputation points
2022-01-12T09:09:44.65+00:00

I have a matrix that looks like this:

Parameter X Y Z

A 0 1 1
B 0 1 1
C 0 1 1

Which I want to add a column sorting to. I want to put column X all away to the right based on a fact that it has all zero values. It's important to ensure that all values are zeroes before sorting. Any idea how to do it?

Thanks

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Joyzhao-MSFT 15,646 Reputation points
    2022-01-13T02:29:38.863+00:00

    Hi @mark goldin ,
    You just need to set the sorting in the column group properties. My matrix looks like the image below:

    164527-00.jpg

    Click [Type] in Column Groups, right-click to select Group Properties, and click the Sorting option. The settings are as follows:

    164573-01.jpg

    164574-02.jpg

    Preview:

    164575-03.jpg

    Best Regards,
    Joy


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. mark goldin 706 Reputation points
    2022-01-14T11:54:18.537+00:00

    I think have a problem with group sorting when I am exporting report to Excel. I am running reports i Local Mode - no SSRS server. The exported Excel file is not showing group sorting. The same report exportrd on the SSRS server has a proper sorting. Any idea?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.