databar report

Upload: pavan-kumar

Post on 25-Feb-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 DataBar Report

    1/16

    SSRS- How to add Data bar in the Report

    1. BackgroundThe aim of the article is to describe a way of adding data bars in the report to makereport more interactive.

    2. What is Data bar? Data bars are small, simple charts that convey a lot of information in a little

    space.

    Data bars are often used in table and matrices.

    Data bars can represent multiple data points, but typically illustrate only one.

    Data bars usually depict single value in a cell.

    e cannot add a data bars to a detail group in a table.

    Data bars do not have any category group. !t will have only series grouping.

    Types of Data bars:

    3. Steps to add the Data bar in thereport:

    "elow is the sample Sales report which shows year wise saes a!ount for "ariousregions:

    https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132
  • 7/25/2019 DataBar Report

    2/16

    e will add data bars into the above report to show year wise saes a!ount forregions.

    !. #o to report layout and remove $iscal%ear column from the tabli&'

  • 7/25/2019 DataBar Report

    3/16

    (fter deleting column, report is having only two columns'

    !!. )review the report'

  • 7/25/2019 DataBar Report

    4/16

    Here we can see that Sales Region is repeating as we have deleted the fiscal yearcolumn so we can group the data by Sales Region to avoid duplicate records.

    !!!. To create a group for SalesRegion, click on Detaisgroup in Row #roup pane

    and select #roup )roperties'

  • 7/25/2019 DataBar Report

    5/16

    !*. !t will show the #roup )roperties'

    *. +lick on (dd button and select Sales Region and click k'

  • 7/25/2019 DataBar Report

    6/16

    *!. /ow go to tabli& and right click on Saes#!ountte&t bo& and selecte&pression'

    *!!. !t will open the e&pression builder, add the S01 function to sales (mount'

    2S013$ields4Sales(mount.*alue5

  • 7/25/2019 DataBar Report

    7/16

    +lick k.

    *!!!. )review the report. !t will show the aggregated Sales (mount for SalesRegion'

    /ow we can see the report showing region wise aggregated Sales (mount.

    /ote' /ow we will add the data bars to show progress of Sales (mount.

  • 7/25/2019 DataBar Report

    8/16

    !6. $or adding Data bar, right click on Report layout then !nsert and select Data bar'

    6. Select the data bar type'

  • 7/25/2019 DataBar Report

    9/16

    !t will show the Data bar in the report layout'

    6!. Set the property for Data bar'7 *alue 8 Sales(mount7 Series 8 /ot re9uired7 +ategory #roup 8 /ot re9uired because we already grouped data into tabli& by Sales

    Region

  • 7/25/2019 DataBar Report

    10/16

    6!!. /ow add a new column into a tabli& named Sales!ndicator. Drag and drop the Databar into this newly created column'

    6!!!. /ow report layout looks like below one'

    6!*. /ow run the report and see whether we are able to see the sales amount progress or

    not'

  • 7/25/2019 DataBar Report

    11/16

    Report is showing sales amount !ndicator.

    6*. e can add data label to Data bars. Right click on the data bars and select ShowData :abels'

    /ow we can remove the Sales(mount column as we are showing Data labels in thedata bar itself.

    6*!. )review the report

  • 7/25/2019 DataBar Report

    12/16

    /ow report is showing with data labels.

    6*!!. /ow we will add another data bar to show Sales )rogress over years, (dd a newcolumn named Sales )rogress and add a data bar into this newly created column. Setthe "elow property'

    7 *alue ' Sales(mount7 Series ' $iscal%ear

  • 7/25/2019 DataBar Report

    13/16

    6*!!!. #o to the property of the Data bar and set the hori;ontal a&is range in such a way thatit should show negative values too'

  • 7/25/2019 DataBar Report

    14/16

    6!6. )review the report'

    66. /ow we will add one more data bar 3Data +olumn5Repeat the same steps as we did for Sales !ndicator column'

    66!. "elow is the report after adding Data column also in the report'

  • 7/25/2019 DataBar Report

    15/16

    $. %ow to change Data bar to &hart!. $or +hanging data bar to +hart, add a new column to the tabli& and copy and paste

    one of the already created data bar to the newly created column. Then right click on thedata bar and click on +onvert to $ull +hart

    !!. )review the report'

    https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132https://www.blogger.com/blogger.g?blogID=620176052908442132
  • 7/25/2019 DataBar Report

    16/16

    /ow report is showing with +hart./ote' e can directly add +hart also to tabli&.

    '. &oncusion"y using the above steps, we can show implement Databars and +hart in the tabular

    report.----------------------------------------------------