Update/Refresh a hidden parameter in SSRS after action operation in line chart - ssrs-2008

I am new to SSRS report. I have a SSRS report in which have a main report with Line chart and a sub report to show the detail.
In line chart on click of the data point(series property) have to update the sub report detail on the basis of the data point value. For getting the value of the selected line chart have used a hidden parameter and which is then passed to the sub report to get the respective data..
I have some parameters also so on selection of one of the parameter's i have to reset the hidden parameter value but the value is not reset and showing the last value set using the line chart action property.
Is there any way I can reset the hidden parameter after updating the drill down report. I am using web service to show the data in the report.
Thanks in advance
Supriya Khamesra

Assuming you whishing to reset a parameter that you getting from a main report into a subreport, you can do as following:
From the sub-report you can send the parameter back to the main report and put in the action screen/parameters - hard coded value which will "reset" your parameter. that way the parameter in the main report always be reset according to the hard-coded value you putted in the subreport.

Related

Jaspersoft studio calculate variables before detail band

Jaspersoft studio 6.2.
The report below, there are 3 bands: title, detail, and summary. Detail is in the middle. Look at "Activated staff" on the top on title band, it used a variable (activatedstaffcount1) as expression. The variable sum all activated staff counts in the detail. However it shows null. The bottom one is in the summary band and used the same variable but it shows correct number. The middle section is the data (detail band). I want to show aggregated result before the display data(detail band), how can I do it?
Try to set also Evaluation time in the text field which contains that variable to the "Report".
If the text field is outside of the table - try to return value into the parameter back from dataset and display that parameter at the end of report evaluation.

how to get rid of the white space when hiding a subreport ssrs2008?

I am using SSRS-2008. I am using a subreport named SubReport1 in my main report named MainReport1.
When SubReport1 has no rows, I get white-space in place of SubReport1in MainReport1.
How can i get rid of this?
The subreport will be displayed in main report with the properties mentioned in the subreport itself. So, if reduce the row height, it will not affect the report display if there exist a value. In all other cases, you will not see a blank space over there in the main report. (The row boundaries also could set to 'None' values in main report)
Select the row properties -> under 'Layout' section, you could find the 'Height' parameter. Provide value for this parameter as 0.07938cm

Passing Value from Sub Report To MainReport on Crystal Reports

I'm currently having a problem with regards on Crystal Report Shared Variable. this is my situation.
I have a Report consist of multiple sub reports (and of course the main report). i need to expose a value in main report from Sub Report, but the problem is i need to Display it before the sub report was rendered. Please see the image below:
As you can see the image above, i need to display the value below (Sub report with RED encircle with VALUE) on the TOP (Red encircle without value).
I used Shared Variable but i think it will not work since the TOP will be first rendered (where i need to display the Value from subreport) before the Below(where i need to get the value).
Is it possible?
The section that displays the value has already been rendered by the time the other section sets the value of the shared variable.
Two options:
add a second instance of the subreport to a section that precedes the section when you want to display its value; you won't be able to suppress either the section or the subreport, so you will need to make the subreport as small as possible and change the font colors to white
use a sql-expression field to calculate the desired value and avoid the subreport complexity altogether

how to get Master report variable value into subreport variables in Jasper?

how to get or assign the Master report variable value into subreport variables ?
If you are using iReport in your subreport properties look for the Parameters property and click the button on the right of the text box.
This will open an input box.
Click the Add button in this box and add the parameters you require.

How do I load images dynamically in Crystal Reports XI

HI I am running a Crystal Reports XI from .NET application. I am passing parameter name as company and report should display the logo depends on company.
How we can load the image dynamically in crystal report.(how to write formula to load the image from specific directory)
A simple solution for Crystal Reports XI is to pass the image's URL as a parameter to the report, then use it as the picture's graphic location.
Create a string parameter field, call it 'imageUrl'.
Add an image (Insert | Picture...) to the report (it's a placeholder)
Change the image's Graphic Location:
right click image
select Format Graphic...
select Picture tab
click the conditional-formula button (looks like x+2)
set the formula's text to '{?imageUrl}' (without the single quotes)
save the formula and click the OK button
save the report
Run the report and set the imageUrl's value accordingly.
Alternately, you could use a CASE statement in a formula field for the same effect; simply change the image's conditional-formula field to reference the formula field instead of the parameter field.
I don't think you can. The only way I've found to do that is to embed each image in a different section of the report and conditionally suppressing the section depending on the company parameter's value.