Search code examples
matrixreporting-servicescolorsssrs-2008

Displaying multiple colors on a single data bar


Okay I am going to try and be as clear as possible with my end goal here so I apologize if it does sound messy. I am trying to display a data bar that has a target of 10 for example. This data bar is displayed in grey. What I'd like to do is on the same data bar have the color green fill up as each target is completed. Here is a rough image of what I would like:

Example

I'm trying to do this in ssrs within a matrix. If anyone could help I would greatly appreciate it or if anyone needs more detail please let me know.

Thanks in advance.


Solution

  • Right click on your column group and insert 'inside group'.
    Drag and drop a Data Bar into your new cell.
    Choose a stacked bar.
    Click on the new chart, so that Chart Data appears.
    Add your first value, the one you wish to be, for example, green.
    Add a second value, adding the same value as before.
    Change the expression on this second value to be 10 - 'Value'