SSRS SubReport background color change - reporting-services

I need to change the background color of the subreport as per Master reports background color. How can I get the background of any text control in Master report.

Pass the background color through to the subreport as a parameter, use an expression to set the background color to the value of that parameter. You may find it easier to store the master reports background color in a parameter as well, since it sounds like it too may vary.

Related

Why SSRS colour from expression is not working?

I'm trying to have a dynamic color for some objects in my report (font color, background fill of text box etc.). I was trying to get it from either Parameter or Variable, but nothing worked, the color evaluates to White.
I used these for example:
=Variables!Hdr1_Color.Value
=Parameters!Hdr1_Color.Value
I even tried this: ="Green"
but none of these commands work, color stays White.
Example
Report Builder 15.0.19611.0
SQL Server 2019 Reporting Services
Version 15.0.7961.31630
Has anyone seen/solved something like that?

ssrs indicator arrows - is it possible to display in solid colour, rather than with grey shadow/gradient?

I want to add solid white indicator arrows into my ssrs report, but the closest I appear to be able to get is an arrow with a grey border/shadow/gradient effect, like this:
I've tried tweaking every property setting I can find to suppress this gradient effect, but no joy... Is there a way to configure these indicators to be a simple solid colour?
Alternatively, is it possible to upload my own image files into ssrs to use instead?
Appreciate any guidance.
To answer your alternate question, Yes, you can add your own images. They can either be embedded in the report or stored in a location that the report can access. Be careful because the location the report can access locally during development is not the same as the location once it's deployed. You can use an expression to change the image name so that it is dynamic.

Textbox on top of picture

In Reporting Services I'm trying to place a table over a picture. Within the Report Builder it works, but whenever the report is run, the table is moved to beneath the picture. I've thought about several workarounds, but none of them has worked:
Creating a rectangle with my picture as the background, and placing the table of top of the rectangle. This works, but it doesn't show the picture in the Excel sheet when exporting the report. I need the picture in the report, so this solution is not satisfactory.
Creating a report where the background image is set to the picture I need, and then importing it in my main report as a subreport. The weird thing here is that background images WILL show up in Excel when you just export the report with the background image. However, when importing that report within another report, it doesn't show up anymore in the export.
Set the picture as background for the main report. the problem is that the picture will be the background for every page/sheet. If someone nows a possibility to set a specific background per page, I would also be helped!
TL;DR: Is it possible the overlay a table of top of a picture? Or is it possible to set a background image per page, so I can use that instead?
You can overlap text and an image but it may not show up that way depending on how you want to render it. I think it works with PDFs and DOCs but not much else.
You can use a background image for the report or just the table's background.
Click on either the Body or the table and use the Background Image properties.
Put an Expression in the Background Image Value field with your logic to determine which image to display.
https://technet.microsoft.com/en-us/library/ms156482(v=sql.100).aspx

Conditional palette (or colour set) for the same SSRS 2008 chart

I need several series of pie chart in SSRS report to appear in grey scale, depending on Boolean value specified in data set, and have absolutely no idea how to approach this except hardcoding all colours. Some background information placed below.
Source data set looks like this:
I need those sectors in pie chart that represent active stages (Active = 1) to be coloured automatically according to current palette, and those that are inactive - to appear in grey scale. Of course, number of different inactive stages varies depending on parameters and report running time, but it is known and can be used for generation of grey scale colour data set.
Will be very grateful for any hints.
How About in the series colour property using an expression such as
=iiF(Fields!Active.Value = 0, "LightGrey","Automatic")
Instead of using Active you could use Stage and nested IIF to give you your grey scale by choosing a different shade of grey for each of those items that are considered inactive.
You can create expressions to determine the palette at chart level but your issue here is chart comes before chart data.

Applying a custom colour palette to charts built in SSRS and Crystal Reports

I have several charts built in SSRS and Crystal Reports. I'm trying to create a standard colour palette for them that matches our company brand standards, and want to apply a specific colour to each series value. For example, assume the series values are:
Watermelons (always make this pink),
Cherries (always make red),
Grapes (always make green), and
Lemons (always make yellow).
Is there a way to do this in either SSRS or Crystal Reports (v 11)?
Thank you very much.
I don't know Crystal, but for SSRS:
In the Chart definition for Values, you can set the Color property using an expression. The best way would be to pass in an extra column in the source Dataset which gives the required Color values. Then your Color expression can just refer to that column.
You will need to copy that Expression into to each series in each Chart object.