Skip to main content

Lesson 53: Data Bar and SparkLine items in SSRS.

How to use Data bar and Spark line items in SSRS.


  • Data bar is a column chart or bar chart which is tiny in size and can be used inside the column.
  • Firstly create a datasource, a dataset and select required fields in the Matrix item.Click on the last column and insert a new column inside group.Right click on the insert column and Add a Data bar/Sparkline item as below.

  • Once the Data Bar or Sparkline item is inserted when you click on the chart area a Chart Data window pops up which is similar to the column chart chart data. 

  • Now when you select value field in the value column and a category group for every row the category values are displayed in the bar. In the fig you can see for Asia there two bars when we categorised w.r.t country.

  • In the same way add a Sparkline item and select the required fields, If you want to change the data label of the spark line/data bar click in the data label and select series label properties. edit the exp as bellow.




Comments

Popular posts from this blog

Lesson 57: Auto refresh the report in SSRS

                     How to Auto refresh the report in SSRS. Firstly create a datasource,dataset and select the required fields into the table/matrix. If you want to refresh the report frequently for every second you can change the Auto refresh as 1 in the properties of the report. If you want to change the color of a field after given period of time to change the expression of the color in properties as a follows and set the Auto refresh time to the required period of time in the report properties.

12th Day

Conditional statement in SSIS: same as ternary operator in C ** <condition>? <true>:<false> Eg: Gender=="M" ? "Male": "Female" Multicast Transformation : This t/r creates multiple copies of i/p data. it is useful because every time we need not to go to source. ** This will improve task performance. Aggregate Transformation : It is used to convert the detailed values into aggregated data by using Aggregate functions like sum,avg,max,min,count etc. ** It is Asynchronous transformation. Example: to the i/p data from source group by deptno and perform aggregate funcs. Conversion in SSIS ; * Conversion is very important because data from flat file, excel comes to transformations in the form of string(varchar) , so we cannot perform required operations so it require to convert data. 1) Directly at source level : ** Select flat file source, right click--> show advanced editor. ** Select i/p & o/p properties tab, ...

Lesson 67: Join two datasets in SSRS by using Lookup function

How to join two datasets in SSRS by using Lookup function First create two datasets each one with a different datasource. Next insert a table in the report body and insert the required columns from the dataset1. Next in order to insert the columns from 2nd dataset, you need to write a look up function where you need to give the matching columns from both the datasets and the required column from dataset and scope as 2 datset Here since we are inserting the columns of dataset1 first, we are writing exp with scope as dataset 2.