Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Add indicators to a report SQL Server

Adding indicators to a report provides you with in-depth training on Developer. Taught by Simon Alla… Show More

SQL Server Reporting Services in Depth

with Simon Allardice

Video: Add indicators to a report SQL Server

Adding indicators to a report provides you with in-depth training on Developer. Taught by Simon Allardice as part of the SQL Server Reporting Services in Depth
Expand all | Collapse all
  1. 12m 6s
    1. Welcome
      1m 9s
    2. What you need to know
      1m 36s
    3. Exploring SQL Server Reporting Services components
      4m 17s
    4. Reviewing SQL Server versions
      5m 4s
  2. 49m 41s
    1. The elements of a report
      3m 10s
    2. Creating a report with Report Builder
      12m 11s
    3. Grouping table regions on a report
      6m 1s
    4. Joining data from multiple tables
      4m 33s
    5. Formatting report elements
      4m 34s
    6. Using functions in a report
      11m 0s
    7. Displaying data in a matrix
      8m 12s
  3. 24m 9s
    1. Filtering data and adding parameters to a report
      5m 35s
    2. Customizing report parameters
      5m 4s
    3. Sorting data in a data region
      4m 7s
    4. Applying interactive sorting
      4m 57s
    5. Creating a drillthrough action to connect reports
      4m 26s
  4. 49m 57s
    1. Introduction to charting in Reporting Services
      4m 16s
    2. Creating a column chart
      8m 35s
    3. Adding a generated average to a chart
      4m 5s
    4. Creating a pie chart
      8m 19s
    5. Using sparklines
      6m 38s
    6. Adding a sparkline to a drilldown matrix
      14m 34s
    7. Adding data bars
      3m 30s
  5. 21m 48s
    1. Adding indicators to a report
      7m 52s
    2. Using and configuring gauges
      5m 30s
    3. Using maps in Reporting Services
      8m 26s
  6. 38m 14s
    1. Creating modular reports with report parts
      4m 36s
    2. Adding and updating report parts
      4m 37s
    3. Using subreports and nested regions
      4m 28s
    4. Configuring headers and footers
      3m 9s
    5. Printing and exporting reports
      3m 45s
    6. Using page breaks
      5m 37s
    7. Creating and using shared data sources
      8m 11s
    8. Creating and using shared data sets
      3m 51s
  7. 27m 20s
    1. Organizing reports in Report Manager
      3m 1s
    2. Adding users and configuring report security
      5m 24s
    3. Configuring subscriptions
      5m 13s
    4. Creating a linked report
      4m 8s
    5. Using Report Designer in SQL Server Data Tools
      9m 34s
  8. 1m 2s
    1. Goodbye
      1m 2s

please wait ...
Adding indicators to a report
Video Duration: 7m 52s 3h 44m Advanced


Adding indicators to a report provides you with in-depth training on Developer. Taught by Simon Allardice as part of the SQL Server Reporting Services in Depth

View Course Description

Discover how to create, manage, and deliver interactive reports—not just to print, but to dynamically explore enterprise-level data—with Reporting Services in SQL Server. In this course, author Simon Allardice concentrates on using Report Builder to build and format reports from a variety of data sources, but also shows how to perform basic administration tasks such as granting user access and organizing reports in the Report Manager. Plus, learn how to add interactive sorting and filtering functionality to your reports, and create column and pie charts to better express your data.

Note: These tutorials are applicable to both the 2008 and 2012 versions of SQL Server.

Topics include:
  • Understanding the elements of a report
  • Grouping table regions
  • Joining data from multiple tables
  • Displaying data in a matrix
  • Customizing report parameters
  • Filtering and sorting data
  • Creating charts
  • Adding sparklines and data bars
  • Creating at-a-glance reports with indicators
  • Using Maps in Reporting Services
  • Configuring report security
  • Printing and exporting reports
Developer IT
SQL Server

Adding indicators to a report

We've been working our way through the options on the Insert tab, and the next two up in the Data Visualization section are Gauges and Indicators. I'm going to talk about both of these at the same time because they're very similar to each other. They're both simpler than charts in that they typically just display one data point. But they're also configured to tell us whether that data point is good or bad or how far along a scale it's supposed to be. So, I have a blank report here with a data source pointing to the regular AdventureWorks database.

I'm going to go and get us some data. So creating a new dataset, I'll call this one TerritoryInfo, and jumping into Query Designer, I'm going to start drilling down into the Tables section, and I've got a SalesTerritory table-- I don't think we've used this one yet--where I will get the name of the territory, the Sales Year To Date, and the SalesLastYear. I'll just go ahead and run this query to see if this might be useful data for us.

It looks about right. We're getting these different regions: SalesYTD, SalesLastYear. There is not a ridiculous amount of data, so it will be good to have on a table. Click OK. That's my dataset. Now, while we can add gauges and indicators completely independently, like sparklines, they're very commonly seen on a table or a matrix. So I'm going to go ahead and insert a new table based on that dataset I just created. And all of these columns, I'm just going to put in the Values section.

I'm doing no grouping whatsoever, either up and down or left to right. Clicking Next, I'll just go right past the layout, Next again, and this time I'll pick Slate. Run this, just to test everything looks okay. We are getting that information out. I don't really need the four decimal places here, and I'd like to make it apparent this is a currency amount. So I'll jump back into Design view, just select in there to grab that text box, and I can Shift+Select to get the second one, and change both of the formatting here to Currency, and then click the button to decrease the decimal point until it grays completely out so that we're not showing any decimal numbers at all. That looks good.

Again, what we're trying to do here is get the idea. We could have a massive amount of numbers, and I'd like to be able to quickly scan them to see if something is good or bad. What I'm going to do is add a new column to this table and put an indicator in it. So to add a new column, I'll just click somewhere in the table here to make the gray handles appear, then grab this last column, right-click the gray area, and insert a new column to the right. And I'm going to insert an indicator right here in this cell.

We want it to be the same cell that we're actually seeing the name of the territory on, or the sum of SalesLastYear. Like sparklines, it's very sensitive to where you place indicators. We don't want to put them in the header row. So, up to the Insert tab, click Indicator once, down into the cell I'm interested in, and click again. Our Indicator Type window appears. All of these are configured the same way. They're just a different graphical look and feel. You can change these later after the fact if you want to.

I'm going to pick something basic, such as this set of three shapes here-- the traffic light idea--and click OK. We see that ended in the column. Well, what happens if we run this? Absolutely nothing, because that indicator has no idea what it's meant to display. Back into Design view, I'm going to select it. Selecting indicators and gauges can sometimes be tricky because they are wheels within wheels. There is a couple of things we have to be careful of when clicking around. So, if I click again, I'll eventually select this indicator.

I'll see this little Gauge Data window appear, because an indicator is a gauge. That's why we're doing both of these at the same time. And it has this dropdown window that's very similar to working with a chart or a sparkline. Right now, it's asking for one value. It's not asking for groups. It's not asking for series. It's just saying, hey, what number am I supposed to represent? Well, I'm interested in this being a graphical representation of the sales year to date, so I'm going to drag that over here and drop it in.

Go ahead and run it. Well now we're getting indicators, although the question might be, what is this actually meant to be representing? We've got some green, some red, some yellow. An indicator is always fueled by one single value, but it needs to have some rules about whether that value is good or bad. Now, when you drag one on, it defaults to a percentage rule. The values of the top 33% are in green, the middle in yellow, the bottom in red. Now, it doesn't mean you'll always see equal amounts of red, green, and yellow, as the numbers that these are representing--which is my SalesYTD--aren't distributed exactly equally, so only two of them--the most high numbers--might actually represent 33% of the total.

Having said that, a pure percentage rule isn't what you want most of the time anyway, so let's see how to change that. Drop back into Design view. I'll highlight this, clicking the Gauge again till this appears. We can't do anything really more here, but I can right-click and I've got an option called Indicator Properties. If you don't get the option Indicator Properties, make sure you're clicking in the right place, because with that open, I have an option for Value and States, and this is where all the magic happens for an indicator.

It's how you determine which indicator actually shows up. First, it's saying okay, I'm displaying the value of sales year to date for each row. That's fine, no problem there. But the next option is, am I displaying a percentage or am I based on a specific numeric value? Well I'm going to switch to a numeric value here. And all I want to do is make this indicator quickly represent whether this year's sales have already beaten last year's sales. So in fact, I don't even need the yellow indicator here, so I'm going to highlight an area of that row and just delete it.

And in this section I describe the rules. Why should it show up in red, why should it show up in green? I'm going to say if sales year to date have been anything from 0 all the way up to the same as sales last year, then it's red. If it's from sales last year plus one dollar, or anything above that, then it can show up in green. So, 0 is fine as a starting point, but 33 is not good as an ending point. I'll just delete that, and I'm clicking the little expression builder here. So it's asking for an expression for the end value, and all I want to do is jump to my Fields section for this dataset and say I'm interested in this being more than sales last year. Click OK.

Next, I have to describe the rules for green. Well, it's not going to start at 66, so I click the expression builder. And I want the button to the right-hand side, because the one to the left is controlling a dynamic color. That's not what I want here. So click this. What I'm going to do here again is we're going from sales last year and then I just enter in plus 1, because we want to be beat it. Click OK. I don't want that one to have an end. As long as it's greater than last year's sales plus one dollar, it can show up in green.

What you'll also find over here is the ability to change the icon. We have a whole list of them, so if you want to change it, here's how you do it. In fact, I might even change that to a smiley face. Click OK and run. Now we have the indicator showing up as long as the sales year to date have beaten sales last year. Very simple to implement!

There are currently no FAQs about SQL Server Reporting Services in Depth.






Don't show this message again
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed SQL Server Reporting Services in Depth.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

Join today and get unlimited access to the entire library of online learning video courses—and create as many playlists as you like.

Get started

Already a member?

Log in

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.

Resume Start over

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.