Align the Data in a Chart in a Table or Matrix (Report Builder and SSRS)


Applies To: SQL Server 2016

Sparklines and data bars are small, simple charts that convey a lot of information with little extraneous detail. In a Reporting Services paginated report, when you check this option the values in your sparklines and data bars will align across the different cells in the table or matrix, even if there are missing values in the data they are based on.


In this image, the column chart shows daily sales for each employee. Note that for days that an employee has no sales, the chart leaves a blank and aligns subsequent days horizontally. It also aligns the charts vertically by making the sizes of the different charts relative to each other. For more information, see Sparklines and Data Bars (Report Builder and SSRS).

  1. Add a sparkline or data bar to a table or matrix.

  2. Click in the sparkline or data bar, and then click Horizontal Axis Properties or Vertical Axis Properties.

  3. On the Axis Options tab, check the Align axes in box, and then in the dropdown box, select the group on which to align the axis.

  4. Click OK.

Charts (Report Builder and SSRS)
Add Sparklines and Data Bars (Report Builder and SSRS)

Community Additions