SSRS report Chart

Here I come with post where I create graph that displays results from my testing lab I described in previous post. Reporting Services offers lots of possibilities of data visualisations. Graphs are basic components for scenarios you need to visualise your data.

File -> New -> Project

Project menu
Picture 1 – Project menu

Continue with Business Intelligence -> Reporting Services -> Report Server Project. At the bottom part of New Project window set Project Name and its location.

New project
Picture 2 – New project

New empty Report Server project was created.

Add New Report, right click Reports in Solution Explorer.

Solution Explorer
Picture 3 – Solution Explorer

Go to Toolbox pane and click on Chart component.

Toolbox
Picture 4 – Toolbox

Select Bar Chart type from chart palette.

Chart Type
Picture 5 – Chart Type

New Chart component is added into the Visual Studio design area.

Chart
Picture 6 – Chart

Right click on Chart to get Chart Properties dialog box. Map Chart to its dataset. Select GetData dataset from Dataset name select box.

Chart properties
Picture 7 – Chart properties
Chart properties
Picture 8 – Chart properties

Our goal is to get something similar on picture bellow. We want to get results from our tests. It will be grouped by categories represented by tested counters. Set each scenario to chart series.

Chart
Picture 9 – Chart

When you click on chart component you get Chart Data dialog box on the right side.

  • In Values section select CounterValue, results from our tests.
  • Set CounterName to Category Groups to get testing perspective of our data, counters.
  • TaskOwnerName will be set as Series Groups, scenarios we tested
Chart data
Picture 10 – Chart data

Finally, we got simple chart as on picture bellow.

 Chart
Picture 11 – Chart

Reporting Services Chart is very complex component. I didn’t show all its possibilities it has. In this post I created the simplest one Chart to represented lab data.

Leave a Reply

Your email address will not be published. Required fields are marked *