I have tried to reduce the space between categories in my chart but until now have not succeeded. Also, I would like to hide those columns which have values = 0. Here is the image:
Thanks in advance,
Mary
Related
So, I have a report in SSRS that contains 5 tables nested in each other all with 2 columns. We have working expressions for every table in "show and hide based on an expression" on textbox visibility, but instead of hiding the chosen tables it shows a lot of white space in the supposedly occupied area. We have been trying to reduce the white space but with minimal success. We hide the tables based on parameter values, example below:
Parameters!prmName.Value=false
=IIF(Parameters!prmName.Value= true, IIF(Parameters!prmText.Value=true, False, True), True)
The second one is for the second column which one also can hide if that parameter is chosen to be hidden.
The expressions look almost the same except some parameter names and so on.
There is 1 parameter for every table aka 5 which we use when hiding each of them.
We have tried using this in row visibility IIF(Trim(ReportItems!Name.Value) = "", true, false), but as we said it did not work.
We have also tried visibility on the tables' groups unsuccessfully.
--------------EDIT---------------
So each table is representing a kind of level. Like the first, and most outer table is a letter and the second outer table is an undergroup of the first table and so on:
A
01
011
0111
01110
01111
012
0121
01210
B
05
051
0511
05110
And so on...
In all tables, there is a text explaining the row and a subreport which contains some further information. The most inner table contains 2 subreports.
How the levels should look without the extra information
And this is how it looks when we try to hide the extra information
The blank space only increases when hiding chosen tables.
This is how the main report looks at the moment
The Expressions contain simple text explaining the level. The [ExprX] contains more detailed info about the level and then the subreport contains even further details.
This nesting became necessary because we only wanted to show levels once. Before that, it was repeating.
Hope this makes it clearer
Found a solution for our problem. Instead of trying to remove the white space we decided to never load the tabels data through several case with expressions in the query builder. Also noticed that such a 'difficult' query (with cases and stuff) had to be made in the "edit as text" inside the query builder.
Example below:
SELECT
CASE WHEN #prmLevel1 = 'true' THEN Table.ColumnName
ELSE NULL
END AS ColumnName
FROM Table
But with lots of more cases after each other.
Hope this can be of help to someone!
Have a great day!
I have created a line chart which has the date as X-axis and Y-axis as calculated median value and its grouped according to "FileName". Problem is that some of the "FileName" has same median values which makes line overlap thus not able to see all the lines. Attached image shows only 5 lines but there are total 10 lines. After running query I found out other 5 has 50 as the median which makes it overlap with one of the line.
I tried using transparency and secondary axis but wasn't able to achieve the desired result. Is there any other solution to try out ? Thanks!
This is more of a data presentation issue than something specific to SSRS. If you are stuck on using a line chart, then I've only used two options:
1) Increment lines to different widths. For example, in a chart with 3 lines, the width is set to 5,3,1 pts.
2) Change the values insignificantly to offset the lines. Obviously this depends on the data being visualized as shifting the line slight (multiply by 0.1) may be allowable or highly discouraged depending on your situation.
Trying to do either option with 10 lines (and up to 5+ stacking) is not going to be very good.
I think Viking is right and you might want to check out other visualization options. Grouped column charts perhaps or just split your chart into multiple charts on the page (i.e. four separate trend charts)
I have a row group in my report that I'm using in the page header using the approach in this article: Reporting Services - Group Name in Page Header However, I can't find a way to NOT SHOW the column in the Tablix AND not have white space in the report where the hidden column is. Anyone? I've been searching for hours now :)
Already did that - it leaves whitespace. I finally just gave up and slid the column width to the minimum so that it doesn't show.
I hope this is a simple question, but I have been beating my head against the wall for hours now. I would like to create a column chart in SSRS 2008 with columns that are always the same width and always the same width of space between columns. The catch is that the chart will not always have the same amount of columns.
Here is what I have in scenario 1 with 12 columns:
Here is what I have in scenario 2 with 4 columns:
I would like to see something more like scenario 3 instead:
As of now this is a very simple column chart. The only real modification I have done that I feel will be important to mention is that I have set the PixelPointWidth value to 20 in the Chart Series -> Custom Attributes section. This ensures that the columns all stay the same size. I notice that the PointWidth value in the same section is used to control spacing between columns, but it does so by making the columns larger/smaller to fit. The PointWidth value has no effect when the PixelPointWidth value is greater than zero.
Please help me find the way to keep the columns the same width and also maintain the same width between columns!
Manipulate your Dataset so that it always provides rows for Value 01 through to Value 12, with null values for the measure. Then in the Chart's Category Group properties, use an Iif function for the Label property to set it to an empty string "" if the measure is null (or use another column as a flag).
In my report I have a group with an inner detail group.
Group
details
more of the group
I need 3 groups on each page and I need each one to be lined up correctly. Each group member can have between 1 and 4 rows. When there are 4 rows for each one, they line up perfectly, however when there are less, everything shifts up.
Is there a way to define a static height for the group so that if there are less than 4 rows, it pads with whitespace so the bottom section of the group is in the same place?
Thanks
I think you need to create a blank row whenever your details are less than 4 rows. Try mo make an iif condition in your details row expression textbox.
Try to insert the table within a rectangle. Keep the height of the rectangle to the height that you want(height of 4 rows). This way, if the table is having less rows, the height of the rectangle will still be maintained.
So, if u put each of the tables in a rectangle and define it as above, I think it should work. Always works for me when I already know the maximum row count.