Numeric filter in Pentaho dashboard - pentaho

I am creating Pentaho dashboards on top of Pentaho analyzer reports. In the analyzer report I created two filters:
- One for a daterange
- One on top of a numeric value: value greather than a default value.
From the dashboard I want to be able to adapt the values of the filter. For a date range I do this by giving a name to the filter in the analyzer report, creating a promt in the dashboard and linking those contents.
My question is how to solve this for the numeric filter: there is no option to give a parameter name to the numeric filter in the analyzer report. And since the filter has no name, I can not access it from within the dashboard. Any help is appreciated!

I believe you are trying to create a prompt for a measure, as far as I know it's not possible. You still have the filter and it is editable in the report itself.

Related

Crystal Reports dynamic group summary

I'm trying to figure out a way to dynamically create a report summary that lists the totals of instances for each account dynamically at the beginning or end of the report. An account will only show up on the report if that account had any instances in the date/time range established by the Start/End date parameter fields, so every account will not always show, hence the dynamic part of the problem. There is surprising sparse information on how to do this from what I've found. Any ideas would be appreciated.
Use Insert, CrossTab...
Select Account as the row and select the value you wish to summarize.
There are many other options if you look into CrossTab features...

Display row with condition in Pentaho Report Designer

Assume I have one data set with following fields:
Name, Amount, Time, etc
How can I display only those records with Amount > 100, for example?
Since I need this data set for other report, I can't filter these records when I prepare data set.
I searched around, but couldn't find any answer. I will really appreciate if anyone can help.
By the way, I used Pentaho Report Designer 3.9.
Thanks a lot.
Yes, you can.
You have to find your Details Band - not Details Body -, within your Report Structure, and set up the Style Attribute visible the expression:
=if([Amount]>100;true();false())
Besides, if you want your summaries to consider only the shown data, you can also add an Open Formula function field, that would say:
=if([Amount]>100;[Amount];0)
And you'd summarize it at the end of the report.
Here's the link with the full example built to your situation.

Date Filters and Group options do not appear

I am quite a new user, working on a pivot table with SQL Server Analysis Services on Windows Server 2003.
I am unable to filter my reports by date despite having Googled many websites for advice. A blog tells me that by grouping we can easily filter by date but whenever I group a single field (row) it automatically groups it with a new column. No row or column is empty, so I don’t understand why it does not show me the group dialogue box to set parameters manually and also on right click and hover over on filter. Only one filter option shows, "Top 10", however many other options I have seen in tutorials about filtering by date.
My date format is 2013-05-07 which I cannot change. Maybe this is the problem?
I just want to filter report by date. How can I achieve this?

Report Builder 3.0, how to sort on a calculated field

I'm using Report Builder 3.0 with SharePoint Lists in SQL Server Business Intelligence Development Studio.
I have a textbox on the Tablix that calculates data from several fields using a VB.Net function in an expression. This textbox displays a date that is generated from that function.
I would like for my report to be sorted by that date, ascending - I have been unable to find anything helpful on this thus far. It is not a field in the dataset, so none of the canned options will work.
Thank you in advance for any assistance!
The answer was to use the same expression behind the field in the Sort properties of the Grouping properties, A-Z selected as the sort order.
A calculated field will show up in a tablix as a normal one and should be entered as Fields!cal.Value

Dynamic SSRS report

I had a problem in creating the Dynamic report in SSRS. My problem is:
In a table I have stored SQL scripts with the column SQLScripts. If you execute these SQL scripts you get different number of columns for each script.
My problem is, I have one report with buttons of these scripts, for example test1, test2...like that. If you press test1 button this should take the test one SQL script and should display the report with appropiate columns in that sqlscripts.
I can't create individual reports for each test report, they are plenty. Are there any options for me to solve this problem...
The only way I've been able to get this to work sofar is:
Each report has 2 datasets.
ReportData
DataHeaders
The "DataHeaders" need to have the proper name of the datafields in "ReportData". Be careful since SSRS replaces blanks and special characters with "_"
Now, create a table (or matrix) and drag the DataHeaders as the Columns of your report. (This should be a grouped column). If you run it at this point, you'll see all your columns without any data. Now comes the magic:
Create another report that takes a "DataField" parameter. Create another table or matrix within this report and set it's dataset property to be "ReportData". In the DATA cell for the table, set it to the expression =Fields(Parameters!DataField.Value).Value
Now go back to your first report. Right click and insert a subreport. Right click on the subreport and select "Subreport Properties". Under general, select the second report you created to be used as the subreport. Under parameters, select the DataField parameter and set its value to something like =Fields!DataField.Value
In my case I did some formatting in this expression to fix the above mentioned issue with spaces and special characters, since my stored procedure was initially used in ASP.NET and this was just a proof of concept.
Also in my experience the performance isn't great. In fact it was kinda slow, though I haven't had a chance to switch it to use a shared dataset, which I suspect would help a bit. Please let me know if you find a better solution.
I have not found a way to do this completely dynamically. Here is a similar question with some possible solutions:
How do i represent an unknown number of columns in SSRS?
You basically need to create a 'master dataset' from the other Datasets that are based on your multitude of SQL scripts first.The master dataset should contain the data to be presented in it's most simplistic form, i.e. in a simple list format.
Finally, go to the toolbar in SSRS and drag a 'Matrix' into the report. A Matrix table acts similar to a pivot table in Excel or a CrossTab query in Access that will display whatever's in the Dataset.