Issue related to the parameter of report in Pentaho Report Designer - pentaho

I have a chart that contains 4 parameters and every parameter is related to the following one, i success i having the result of the chart by selecting the whole parameters one after the other,
The probleme is that i want to have another option by having the result of the chart by selecting also just one parameter or having the result without selecting any parameter
Can you please help me as soon as possible
Thanks a lot

There is one checkbox available while creating a parameter "Mandatory".Just remove the Right click from the checkboxes while creating all four parameters.Now you can check your result while selecting any parameter you want.

Related

Holding parameter values when report is refreshed due to custom buttons used for expand/collapse groups

This may be as simple as it can't be done, but I have to ask. :) I am building a report using Report Builder 3.0. The report contains a table which also has Grouping established. I wanted to give the user an easy way to expand/collapse all rows of the table, so I used the method of creating a parameter with two values (0 for collapse, 1 for expand), tied the visibility of the group to the parameter using an expression in the Hidden Property for the group. Then I created two text boxes for Expand and Collapse and added the respective parameter/value in the Action in the text box properties.
At this point, everything works as intended. Here is where I run into the issue. I added another parameter, lets just call it "Location". The parameter is a text data type that allows multiple values and gets it available values from dataset/query in the same report. This is where I am guessing what I want may not be possible. When I select my Location(s), then run the report it all looks good. However, when I click on one of the Expand/Collapse text boxes, it clears out the values that I selected for the location(s). I am guessing this is due to the fact that the available values for the Location parameter is set via a query at run time. Is there any way to maintain the values for the Location parameter when triggering the expand/collapse buttons?
Thanks in advance!

SSRS search text box (parameter) dependent dropdown lists cascading filter - SQL Reporting

I am having a situation where I can't proceed further with my report.
I have 2 parameters and the first parameter is a search text and user allowed to enter multiple search values and then the second parameter will get loaded and in the dataset to get loaded.
ReportParameter1 - user should give text need to be search. It should allow multiple values.
ReportParameter2 - (Multi Selection dropdown) - If we pass single value in ReportParameter1 it is showing related dropdown list in ReportParameter2. If multiple values are given in ReportParameter1 it should load all the values in ReportParameter2 related to the search words but it is not returning any dropdownlist.
Any help will be highly appreciated and I hope the explanation make sense?
Thanks,
For passing one parameter:
passing multiple values:
You'll need to use the IN operator for multiple parameter values.
SELECT party.party_name
FROM apps.hz_parties party
WHERE UPPER(party.party_name) IN(:ReportParameter1)
The other option would be to filter the tablix.
Note: Report processing time will be longer for a tablix filter.

SSRS Action to Change Value of Variable

I'm using SSRS 2008 R2 to create a report which is a directory of contacts so people can find this easily. I've got the report working but the list is huge so I want to add dynamic filters by setting text boxes up that if anyone clicks on it, the results will be filtered.
I've set up a test report with a text box with an action to re-open the report but with the parameter set to ="A" to only pull back contacts beginning with the letter A. However, when I click this, I get the following error:
The report parameter 'Initial' is read-only and cannot be modified.
(rsReadOnlyReportParameter)
As an alternative, I've thought about adding a variable to the report and basing the parameter on this value. The only thing is that, although there's plenty out there showing how to change the value of a variable, I cannot seem to find a way to set up an action to change one.
Any ideas?
No worries everyone - I've found the answer. The first solution works but the parameter has to be set to hidden, not internal as I had set it up.

Get concrete value in Pentaho Report Designer

Let me explain my problem,
in Pentaho Report Designer I want to build such a report, where I have one data set, i.e. one request to database
SELECT code, name FROM EMPLOYEES
and show result of this request not in the form of list, but put every result in appropriate place. i.e. like in below picture
Where field "code" is unique, just one result can be put into red label in picture.
How can I do this in Pentaho Report Designer?
I can solve this problem by creating 3 data set, for each of caption. But what if captions like this will be much more, creating requests for each of this caption will not be so effective.
Hope I could explain my question.
I don't know if I got it right, but If you want to use the values returned by your query, you could create a new formula called "your_formula":
=MULTIVALUEQUERY("name_of_your_query")
This will give you an array with the result of the query. Then you could use another formula to get the 1st result of the array. For example:
=ARRAYLEFT([your_formula])
and get the first result of your query. This way let you use your_formula as parameter. This means you can drag and drop it on your report and use it.
I hope it helps.
Regards,
Tatan.

Show different report in Oracle based on parameter

I'm using Oracle report builder and I have to show summary and detail reports. This tool does not have drilldown capability. I need it to show the either the detail or the summary report based on a parameter that the user enters at the beginning. Can anyone tell me how to dynamically display either one or the other report based on the user parameter entered?
You will use a repeating frame to display the content and you can set the visibility of this frame according to the value of your report parameter.
So you will just have two of these - one for your first select and another one for the second.