O'Reilly logo

SQL Server 2012 Reporting Services Blueprints by Mickey Stuewe, Marlon Ribunal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Embedding data bars in a tablix

Let's create a new report. Name it whatever you want. Find the T-SQL script called 2008SalesTerritoryComparison.sql and create the dataset based on that. Name the dataset ds_DataBars. We're going to use this name in an expression in the next section, so make sure you remember it.

Drag the SalesTerritory and TotalSales fields into the tablix as shown in the following screenshot:

Embedding data bars in a tablix

What we're going to look at here is the sales comparison among the territories, and see the distribution of dollars earned company wide.

Let's add a new column, if it's not already added. Drag a data bar object into the detail field of the third ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required