Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between matrix and a tablix?

Tags:

In Reporting Services. When I drag in a matrix, am I effectively dragging in a tablix? A tablix is a hybrid of table, list, and matrix. I understand (at least I think I do) the difference between a table and tablix, but not matrix and tablix.

like image 201
James Avatar asked Feb 01 '11 19:02

James


People also ask

What is a matrix in reporting?

A matrix report looks like a grid that contains a row of labels, a column of labels, and information in a grid format related to both the row and column labels. These reports are sometimes referred to as "crosstab" reports.

What is the difference between a matrix and a table visualization?

The main difference between table and matrix visualizations is that tables are two-dimensional. This means they display data only in two dimensions. On the other hand, matrix visualization gives you the option to specify multiple variables in rows and columns.

What is a tablix in report Builder?

In Report Builder, the tablix data region is a generalized layout report item that displays paginated report data in cells that are organized into rows and columns. Report data can be detail data as it is retrieved from the data source, or aggregated detail data organized into groups that you specify.

What is a matrix report in SSRS?

A Matrix is very similar to a table, but it is configured to show data grouped by columns and rows, with aggregate data at the intersections. Some of the data you might expect to see in a row can actually become a column header. This is similar to using a pivot table in a spreadsheet.


2 Answers

As Gabriel said, in SQL 2005 Table and Matrix were both available as data region options and they were two distinct objects with different properties.

In SQL 2008 onward, Table and Matrix were replaced by a new object of "Tablix", which combined the properties of both the older objects. However the design interface still shows Table and Matrix on the available tools, these are both Tablix under the hood but with different default configurations (the "Matrix" shows column groups but the "Table" does not).

like image 187
Nathan Griffiths Avatar answered Sep 21 '22 18:09

Nathan Griffiths


I can't see any difference anymore.

I think they still exist because on SSRS 2005 they were very different, and now they joined both by allowing you to use groups more freely, however to not confuse people they left the designer with both controls instead of creating a new one.

However as RDL is a XML (e*X*tensible *M*arkup *L*anguage) based language you can still use the old controls, as SSRS 2008 is a new version of the old pattern, and this is why your old reports would work out of the box without any conversion, only Visual Studio replaces both controls for the new tablix when you insert it through the new VS 2008.

Hopes this makes things clearer.

like image 21
Gabriel Guimarães Avatar answered Sep 20 '22 18:09

Gabriel Guimarães