I have created a combination chart in excel which I am attempting to replicate within SSRS.
The chart shows three versions of 'success' plus the percentage 'failed'. (Please see image for more detail)
For one of the segments, i.e. success v2, I would like to then break this data down by how long it took to achieve success, as a percentage.
I've attempted changing my chart type a few times within SSRS and exploring the chart 'General Custom Attributes' however I haven't been able to get very far with figuring out how to link two pie/donut charts...your help would be invaluable!
Thanks
Charlotte
Welcome to SO!
This isn't really an answer but a list of things to look at/consider and too long to fit in a comment.
You need to look at the Chart Series properties, in particular the Custom Attributes related to 'Collected...'
This allows you to explode a section but as far as I know it only allows you to use values or a % lower than a specified threshold, not a particular section as you want. This migh work if the section you want to explode out is always the smallest but I guess you cannot guarantee that.
You might be able to get round this by adding another column to your dataset that always shows a high number for 'failure' and 'success x1' and a small number for 'success x2' but i'm not sure if you can define which field to explode on and visualise a different field, otherwise your main pie would look incorrect.
Alternatively you could just show two charts.
Related
I implemented a traffic light indicator in my dashboard report in SSRS 2008, but when certain parameter is selected, instead of showing a red-yellow-green light, I see "Th" instead even though the values are properly calculated. Has anyone encountered this?
It's probably trying to display an error. If you resize the content you will be able to read the error. I'm using my ESP to predict it is complaining something like "This element has no data to display".
I recommend debugging this by displaying the exact value passed to this traffic light to see what value is breaking it. If you're doing math, make sure you're not dividing by zero or comparing strings to numbers (you can cast your values with math functions like int()).
If this doesn't solve you're issue, post some more details, your expression code and screen shots.
If you have a line chart in SSRS with many lines, it is nearly impossible to identify which line belongs to which item in the legend, as the colors are nearly the same. Is there a better solution?
bad example of line chart legend
Some suggestions that may help:
Group some of the values into an Other group. It looks like you have
some values that come and go, or don't run for the full timeframe of the
report, lumping these into an Other group will mean less legend items.
Move the legend to the bottom of the chart. This can sometimes make
the legend easier to see; this is not a good option when have a lot
more legend items than what you have now.
Use more than one chart; one chart for each line is possible. This
may be a good option for you. Use more than one chart, and only
display certain values in each. Perhaps you have some natural
grouping in the data that isn’t obvious from what you have provided
in the question. If you do, use that to separate the values into
different charts.
Use a different color theme. The theme you are using now would leave
any color-blind person wondering what was in the chart at all.
Make the chart larger. You just never know, this may work.
Use a column chart rather than a line chart. The bars are wider, and
can be easier to see. Plus, with the way your values come and go, it
may be a better way to visualize the data.
Limit the timeframe of the data being displayed. Having less data may
make this look better, but that may defeat the purpose of the report.
Still, it’s an option.
Good luck.
All good ideas by R Richards. I often end up with charts looking like yours. The first thing I do is ask. Is this of any use to the end user, if not I'll try to rationalise the chart. Some of the ideas in the earlier answer are things I try but also you can try the following without reducing the amount of data in the chart.
Simply make the lines thicker, it's much easier to identify the colours with thicker lines.
Add tooltips to the data points so that the user can hover over the
lines and get info about the line and/or point.
Use a custom pallet, the default palette does not have many colours in (7 I think), so colours are repeated. Creating a custom palette with more colours will make it easier to identify each line. It also means, if you can ensure the order of series in your data that you can you produce consistent charts were a colour always represents a specific business object.
If you have breaks in the data, change the chart to use an average
to give you a continuous line. I think your x axis has to be set as
a time type for this to work, I can't remember off the top of my
head.
Here's a before and after the first two ideas were applied to a sample chart I built.
If you think you need to reduce the data, group line with smaller values together and then add a drill down chart to show these lines.
I am trying implement underlay following sections in SSRS. Is there any way to achieve this?
In crystal reports there is underlay following section check box through which we can achieve this. I want to use this feature because in my details section there is one column (unit area) which repeats its data in each row due to which the totals at group footer comes wrong (due to duplicate unit area)
Workaround to get correct totals will also work for me if underlay is not possible. I googled for underlay feature and the only solution I could find was of using Matrix as per below msdn post. Let me know if there are any other possible workarounds or solutions.
http://social.msdn.microsoft.com/Forums/en-US/1284e27c-de34-4670-a214-67fbe18470b3/underlay-following-section-like-crystal-reports?forum=sqlreportingservices
This issue has been very frustrating to figure out, but I finally figured out how to mimic Crystal's Underlay Following Sections behavior in SSRS!!! I stumbled across the solution and after finding it I have searched on the method I used and found many articles referencing it, but never equating it to the solution for mimicking Crystal's Underlay property. Here's how I did it.
I had three groups - call them Company, Business, Employee - and details. Traditionally, these groups would be laid out on separate rows like this:
Company
...............Business
..............................Employee
...............................................Details
Using a table, I put the columns all on the same row - the details row - instead of multiple rows.
Company...Business...Employee...Details
Now, this should result in duplicate values for each of the groups for every detail set in my dataset. And if you have this set up and run it, you will see that's exactly what you get. Let's fix it.
Click anywhere on the table to bring up the tablix control region.
Click on the control for the details row; this should highlight the row.
Open up Properties and scroll down to the section called Other and look for a property called HideDuplicates. There should be a drop down list with all your groups.
Select the group that represents the parent group, in my case it was Company.
This property basically hides all of the group duplicates providing you with the Underlay look you are looking for. All you have to do is save and preview!
I used this method on other reports that I wanted one of the groups, say the Company group, to be on a line all by itself. No problem, just remember that as far as the details row is concerned, the Business group is now the parent.
Hope this helps
I have a table and a graph next to each other in a line.
I can choose one or more of 5 columns which can be displayed by using multiple values in parameters. But when I'll choose 4 of 5 I have white area between chart (graph) and tablix (table), what I don't want. I want to expand these columns to initial tablix size. And the same in case less number of columns. Is it possible expand them depending on chosen parameters?
(Edit:) Or how to change width of column depending on expression? If I can do this, my problem will be solved.
Or another idea is to expand chart on whole width - it could be between tablix and the end of page.
Any ideas how to do this?
This is unfortunately not possible in SSRS without the use of a hack. To quote the "accepted" answer from this MSDN thread:
This is a common request and I definitely see the value in it. However, we didn't get to this for SSRS 2008. Please feel free to file a feature request (or add votes to an existing request) on the connect.microsoft.com.
As far as I know this hasn't changed in SSRS 2012, though someone may correct me on this.
The thread mentioned above holds several workardounds, ranging from ugly to UGLY. One other lead (possibly even a duplicate question?) is this SO question where it's suggested to not hide the column but make the text have the same color as the background o.O
I am charting a dataset that contains hundreds of datapoints as we're logging information about every 15 minutes and I want to report over a month's worth of data. When charting a single day's worth of data the readability is fine. But when I plot a month's worth of data, it is no long really readable due to me enabling markers. I have markers enabled as a requirement is to have it readable when printed in black & white.
What's the best practice to make the chart readable? Aggregating the data per hour/ per day is not an option as these are gauge readings and the customer doesn't want to lose any fidelity in the readings.
I know this was asked a long time ago, and I'm not 100% sure what your interval will be. Still this worked for me, and hopefully it will help someone else.
I needed to have the markers show up for every-other data point, so I used this expression for the name of the Marker Type:
=IIF(RowNumber(Nothing) Mod 2 = 0, "Diamond", "None")
This is based on the commonly used code for alternating rows, but I think you should be able to modify the concept to get to what you need.
Generally you need to set a max duration you want to view and test what that will look like for your users. You can do a few things but all involve the 'tick marks' and labels for the most part. On a chart object you can click once on a child element of the chart and select it. You may do this for the vertical or horizontal axis of a standard line chart in my example. Let's say you click on the vertical axis near the labels. It will show a dotted rectangle to show it is selected. Right Click and choose 'Vertical Access Properties'.
Select 'Major Tick Marks' on the left pane.
Your first option may be to 'Hide Major tick marks' select that and then do not see anything but labels.
Your second may be that you change the 'Interval' from AUTO to something else. Change the 'Interval type:' to something else and then change the Interval as needed.
Maybe you need dynamic control, you can then select the 'fx' expressions to choose a type potentially that changes. EG: Say you have a date range and someone selects month, maybe you want to make it weeks then, someone selects a year you want months, etc...
What you are describing is hard when you give a person a lot of data, you can also set just the beginning and end and then the line will adjust as necessary. The key in good charting is to allow a user to see what they need but make it readable no matter what. When you have broad options I find that less labels and ticks are best.