Report Builder: Explicit X-axis range definition? - reporting-services

I'm assembling a set of charts that query the same data, but with differing filters. For some of the filtered datasets, there is limited data, and for the charts displaying that data their minimum value on the X-axis is simply set to the minimum value found in the dataset. For consistency, I would like to explicitly set those bounds to the parameters passed to the report, however unlike the Y-axis the X-axis seems to lack this capability. Are there options that I'm missing?
Thanks!

You should have no issues in setting an expression in the x-axis properties dialog box and as such using a parameter there also. I've done it and the links below provide some sense that the option is there.
Axis Properties Dialog Box, Axis Options
I suspect what they are talking about, or at least how you can do this as far as I know, is to use these parameters in the dataset itself as the x-axis will be set based on the dataset alone.
Whereas the vertical axis is, or at least can be, unbound to your values. I mean that you may have values in the positive but decide not to display them by forcing the chart to show only negatives, due to say a KPI that is needed.

Related

SSRS Combination Pie Chart

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.

Rendering inconsistency between SSRS and browser causing misaligned tables

I am using SSRS to report numbers and percentages and display them in a matrix using a column grouping (so new "rows" of data populate new columns rather than rows).
In order to make a "nice" header for each row that spans several rows I have created two tablixes, one for the headers and one containing the data. These two tablixes have both been dropped into a list in order to keep them aligned (being contained in a list is also essential if I want to use them within a multi-page report). The heights of each cell have been defined carefully to ensure that the two tables align and appear as one table.
When I view the report in SSRS everything appears more or less as I would expect. However, when I view the same report via IE the rows become misaligned.
Is there an easy explanation as to why this happens?
My best guess is that the heights I've specified in mm and cm are being converted into another unit and the inconsistency is being introduced via a rounding error.
i.e. the headers are 15mm height, numbers are 7mm height and percentages are 8mm high. Normally 8+7=15 but perhaps conversion(8)+conversion(7)=/=conversion(15)
If this is the case then it would be useful to know the native or "correct" units to use in SSRS if I want to avoid this kind of conversion error.

SSRS Expressions Not Executed When Rows Are Hidden

I'm new to SSRS and have been tasked with converting our Crystal Reports to it. The problem I'm running into is when trying to hide the detail rows which contain the data for the group calculations, the expressions no longer get calculated. How can I hide the detail data, but still execute the expressions in those rows so that the group summaries are accurate?
Values before setting row visibility to hide -
Values after setting row visibility to hide -
It's a hack, but you could set the font color of the detail rows to white and make the rows as small as possible instead of hiding them... If someone else has a better suggestion, I'm interested as well!

How to find out tablix width to set chart's DynamicWidth equal to matrix's width?

The requirements call for placing a chart above the matrix and them having the same width.
Depending on how many years the user wants to report/chart, the number of columns and width of the matrix will change. How can I query the width of the matrix tablix to set chart's DynamicWidth to that value?
I would put the chart in the tablix and format the tablix with the correct spacing, etc., to have the layout you want. I'll always have the same response - everything should be in a tablix. This then locks the chart size to the tablix size.
EDIT: That being said, I'm pretty sure functionality to get something like: Tablix.size.width property at runtime doesn't exist.
When you consume the report programmatically the datasets in XML don't make sense if everything is in a floating text box. For instance, when you call the report from C# and try to parse datasets, you're going to have a bad time.

SSRS automatic extension columns depending on the parameters - tablix

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