Beruflich Dokumente
Kultur Dokumente
1. Background
The aim of the article is to describe a way of adding data bars in the report to make
report more interactive.
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.
We cannot add a data bars to a detail group in a table.
Data bars do not have any category group. It will have only series grouping.
We will add data bars into the above report to show year wise sales amount for
regions.
I.
II.
Here we can see that Sales Region is repeating as we have deleted the fiscal year
column so we can group the data by Sales Region to avoid duplicate records.
III.
To create a group for SalesRegion, click on Details group in Row Group pane
and select Group Properties:
IV.
V.
Click on Add button and select Sales Region and click Ok:
VI.
Now go to tablix and right click on SalesAmount text box and select
expression:
VII.
It will open the expression builder, add the SUM function to sales Amount:
=SUM(Fields!SalesAmount.Value)
Click Ok.
VIII.
Preview the report. It will show the aggregated Sales Amount for SalesRegion:
Now we can see the report showing region wise aggregated Sales Amount.
Note: Now we will add the data bars to show progress of Sales Amount.
IX.
X.
For adding Data bar, right click on Report layout then Insert and select Data bar:
XI.
XII.
XIII.
XIV.
Now add a new column into a tablix named SalesIndicator. Drag and drop the Data
bar into this newly created column:
Now run the report and see whether we are able to see the sales amount progress or
not:
We can add data label to Data bars. Right click on the data bars and select Show
Data Labels:
Now we can remove the SalesAmount column as we are showing Data labels in the
data bar itself.
XVI.
Now we will add another data bar to show Sales Progress over years, Add a new
column named Sales Progress and add a data bar into this newly created column. Set
the Below property:
Value : SalesAmount
Series : FiscalYear
XVIII.
Go to the property of the Data bar and set the horizontal axis range in such a way that
it should show negative values too:
XIX.
XX.
XXI.
4.
II.
5. Conclusion
By using the above steps, we can show implement Databars and Chart in the tabular
report.
----------------------------------------------------End of Document--------------------------------------------------Share to TwitterShare to Facebook