Multi Series Charts

Last Updated: 07/19/2016 Introduced in Verision: 3.2

This tutorial demonstrates how to add Multiple Series to the Chart views on the Report. Note: in order to add multiple series to the chart view, several Report Subtotals should be defined. Not any type of chart view can have multiple series. Multiple Series are available for: Areas, Bars, Bubbles, Columns, Dots, Lines and Stacked Bars. Multiple Series can be used on the chart views of the Report when we need to visually represent multiple pieces of data that is related to the single object from the Grouped column.

 

Example:

In this example we will Report against several tables from integrated database. We integrated with Northwind database and created relations between the tables to be able to include those tables as Data Sources in our Report.

tableRelationships

Next, we navigate to the Designer Folder and click Create Report > Create Report from Folder Actions Panel.

createReport

In the resulting window we Name our Report and click Create to proceed to the Report Designer.

nameReport

In the Report Designer we add Data Sources for our Report. We expand Data Sources > Common > North category and add dbo.Customers table.

addCustDataSource

Then, from Data Sources > Add Related Table we add dbo.Orders table as second Data Source for our Report.

addOrders

In the same manner we add dbo.Order Details table as third Data Source for the Report.

addOrderDetails

Finally, we add last dbo.Products table to the Report.

addProducts

Next, we add desirable Columns from our Data Source tables to populate our Report with data. Note: we should Group our Report by the columns. In this example we Group our Report by Company Name and Order Id because we want to visually represent Number of Orders and Average Unit Price per Company.

addColumnsAndGroup

Then, in the Report settings we locate Results category and click Add New under Sub Totals text-box.

addSubFirst

In the Add Sub Totals window we pick Order details Orderid Field and Aggregation Type Count. In this way Subtotal will count the Number of Orderid occurrences per Company. Click Ok to save and continue.

firstSubTotDefined

Next, we Add second Subtotal

addAnotherSub

For the second Sub Total we pick Order details Unitprice Field with Average Aggregation type and 2 decimal places. This Subtotal will indicate an Average unit price per Order. Click Ok.

secondSubDefined

In the Report Designer we click Add [+] link on the Report Views Panel.

addChart

Then, we pick Bars type from Charts category.

pickBars

In the Add Chart pop-up window we Name our View. Then, from the Field dropdown we select one of the Subtotals that we created previously for this Report.

pickFirstSeries

Then, we click Add Series to make our Chart Multi Series.

addSeries

From the Field dropdown we pick second Sub Total.

addSecondSeries

Finally, we click Add Chart

addChartFinal

The link to our Chart appears on the Views Panel in the Report Designer. We click it to change Data View to our Chart View.

newViewAdded

Our Chart opens… We can confirm that for each Company there are two bars: Number of Orders and Average Unit Price.

chartView

Additional Resources