web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

SSRS Matrix - Row columns level grouping

(0) ShareShare
ReportReport
Posted on by 905

Hello,

We all know that when we export data from Dataverse through Excel, it looks exactly like the screenshot below (each record is in a row).

pastedimage1679857769318v1.png

I am looking to format an SSRS report so that when a user exports the data, it should look like the screenshot below:

pastedimage1679857806731v2.png

Based on the above screenshot, the records are grouped by Employee ID, and the payroll control column for each record from the first screenshot is shown as columns instead of rows, and their values are mapped to the same record grouped by the employee.

Could you please advise how this can be done through an SSRS report to achieve it?

I would greatly appreciate it if you could provide an example.

Best regards,

EBMRay

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    to achieve the desired grouping and formatting in an SSRS report, you can follow these steps:

    Create a new report in Visual Studio with a dataset that retrieves the required data from Dataverse.

    In the report design, add a table to the report body and set the dataset as the data source for the table.

    Add the required columns from the dataset to the table, including the Employee ID, Payroll Control, and other relevant columns.

    Right-click on the table and select "Tablix Properties". In the "Row Groups" tab, click on "Add Group" and select "Parent Group". Choose the "Employee ID" column as the group by field and click "OK".

    In the table header row, merge the cells in the first two columns to create a single cell for the Employee ID column. This will display the Employee ID value only once for each group.

    In the table detail row, add a column group for the Payroll Control column. Right-click on the column group header and select "Group Properties". Choose the "Payroll Control" column as the group by field and click "OK".

    Add a new column to the right of the Payroll Control column group and merge its cells with the column to the left. This will create a single cell for each Payroll Control value, and the data for each record will be displayed in the relevant cell.

    Format the table and the cells as required to match the desired output format.

    DAniele

  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans