Tutorial Gateway

  • C
  • C#
  • Java
  • Python
  • SQL
  • MySQL
  • Js
  • BI Tools
    • Informatica
    • Talend
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • R Tutorial
    • Alteryx
    • QlikView
  • More
    • C Programs
    • C++ Programs
    • Go Programs
    • Python Programs
    • Java Programs

Data Bars in SSRS

by suresh

In this article, we will show you how to create and configure the Data Bars in SSRS. For this, We are going to use below shown report.

Please refer to the SSRS Table Report, Data Source, and Dataset articles to understand the creation of SSRS Data Source, Dataset, and Table report. If you observe the below screenshot, it was a standard Table report with State Name and Sales Amount columns.

Data Bars in SSRS 1

SQL Command we used as the Dataset for this SSRS Data bars report is:

-- SQL Select Statement for SSRS Data Bars
SELECT Geo.EnglishCountryRegionName AS Country, 
       Geo.StateProvinceName AS State, 
       SUM(Cust.YearlyIncome) AS YearlyIncome, 
       SUM(Fact.SalesAmount) AS SalesAmount
FROM DimCustomer AS Cust 
    INNER JOIN
       FactInternetSales AS Fact ON 
  Cust.CustomerKey = Fact.CustomerKey 
    INNER JOIN
        DimGeography AS Geo ON 
  Cust.GeographyKey = Geo.GeographyKey
GROUP BY Geo.EnglishCountryRegionName, 
         Geo.StateProvinceName
ORDER BY Country

Create Data Bars in SSRS

In this example, We will create and add the SSRS Data Bars on the right-hand side of the Sales Amount. First, let us create an Empty column by right-clicking on the Sales Amount column and select the Insert Column option and then select the Right option, as shown below.

Data bars in SSRS 2014 2

Now, Drag and drop the Data Bars from Toolbox to the Empty column. When you drag the Data Bars to an Empty column, a new window called Select Data Bar Type will open. Use this to select the required Data Bar or Data Column from the available once. In this SSRS example, we are selecting Simple Data Bar.

Data bars in SSRS 2014 3

Click Ok to add Data Bars to a newly created empty cell.

Data bars in SSRS 2014 4

Now, we have to configure the values of Data Bars in the SSRS Report. First, click on the blue bar from the below screenshot will open the Chart Data window

Data bars in SSRS 2014 5

In this example, we want to show the Sales Amount in Data Bars. So, please drag and drop or select the Sales Amount as the Chart Value.

Data bars in SSRS 2014 6

Click on the Preview button to see the SSRS data bars report preview.

Data bars in SSRS 2014 7

If you observe the above screenshot, It is providing a perfect result. However, we are unable to identify the value represented by the SSRS Data Bar (Sales Amount in each state). To resolve these situations, We have to use the Data Labels.

First, Right-click on the Blue bars and select the Show Data Labels option from the context menu to show the values.

Data bars in SSRS 2014 8

Now, Let us format the Numbers produced by the Data labels. First, right-click on the value will open the context menu. Please select the Series Label Properties.. option from it

Data bars in SSRS 2014

Once you click the Series Label Properties.. option, a new window will be opened to format the series labels. Here, we are changing the numbers to currency and removing the decimal values.

Data bars in SSRS 2014 10

Click Ok to finish formatting the SSRS data bar Data Labels. Let’s click on the Preview tab to see the Report preview.

Data bars in SSRS 2014 11

We just used the Sorting at Tablix level to sort the data by the Sales Amount in Descending Order. Let’s see the preview now

Data bars in SSRS 12

TIP: Please refer Data Bars in Matrix Reports to understand the configuration of Data Bars in Matrix Reports

Placed Under: SSRS

  • Learn SSRS in 28 Days
  • Create New SSRS Project
  • Create a New SSRS Report
  • SSRS Query Designer
  • SSRS Shared Data Source
  • SSRS Shared Dataset
  • SSRS Embedded Dataset
  • SSRS Embedded Data Source
  • SSRS Lookup – combine datasets
  • SSRS Report Items
  • SSRS Table Report
  • SSRS Table using report wizard
  • Format SSRS Table Report
  • SSRS Matrix Report
  • SSRS Matrix with report wizard
  • Display Image in SSRS Report
  • Add Rectangle to SSRS Report
  • Add TextBox to SSRS Report
  • Create a SSRS List Report
  • Grouping in SSRS Matrix Reports
  • Grouping in SSRS Table Reports
  • Create SSRS Report using Views
  • SSRS report with store procedure
  • Add Total and Subtotal to Report
  • Add Headers & Footers to Report
  • SSRS Global References
  • Export Report to PDF, XML, Excel, Word
  • Format SSRS Table Report
  • Format Textbox Fonts & Bg Color
  • Format Numbers in SSRS Report
  • Format SSRS Report Date, Time
  • Add Row Numbers to Report
  • Headers Visible While Scrolling
  • Repeat Headers on Each Page
  • SSRS Sorting
  • SSRS Interactive Sort
  • Filters at Dataset Level in SSRS
  • Filters at Tablix Level in SSRS
  • Page Breaks in SSRS Report
  • Custom Code in SSRS Report
  • SSRS Calculated Fields
  • SSRS Dashboard Reports
  • SSRS Document Map
  • SSRS Drill Through Reports
  • SSRS Drill Down Reports
  • SSRS Drill Down Matrix Report
  • SSRS Go To URL Action
  • SSRS Subreports
  • SSRS Report Parameters
  • SSRS Cascading Parameters
  • SSRS Multiple Parameters
  • SSRS Multi Value Parameter
  • SSRS Drop Down List Parameters
  • SSRS Charts
  • SSRS Area Chart
  • SSRS Bubble Chart
  • SSRS Column Chart
  • Format SSRS Column Chart
  • SSRS Data Bars
  • Data Bars in SSRS Matrix Reports
  • Format SSRS Data Bars
  • SSRS Funnel Chart
  • SSRS Linear Gauges
  • SSRS Radial Gauges
  • Format SSRS Gauges
  • SSRS Indicators
  • Format SSRS Indicators
  • SSRS Line Chart
  • SSRS Pie Chart
  • Format SSRS Pie Chart
  • SSRS Pyramid Chart
  • SSRS Range Chart
  • SSRS Radar Chart
  • SSRS Scatter Plot
  • SSRS Sparkline
  • SSRS Stacked Bar Chart
  • SSRS Configuration Manager
  • Change Report Manager Title
  • SSRS Deploying Reports in BIDS
  • Deploy using Report Manager
  • SSRS Report Manager Shared DataSource
  • SSRS Cached Reports
  • SSRS Linked Reports
  • SSRS Report Parts
  • SSRS Report Snapshot
  • SSRS Report History Snapshot
  • SSRS Report Subscription
  • SSRS Security
  • Upload File to Report Manager
  • Install SSRS Report builder
  • Report Builder – Create a Report
  • Report Builder – Create a Dataset
  • Report Builder- Create Bar chart
  • Report Builder – Create Pie Chart
  • Report Builder – Create report without wizard

Copyright © 2021 · All Rights Reserved by Suresh

About Us | Contact Us | Privacy Policy