Seeing results of compute and aggregate in BlueSky Statistics - output

In BlueSky Statistics when I compute a new column, why don't I see the result in output window?

The new variables are appended to the far right-hand side of the data editor window. Only messages appear in the output window. This is just like SPSS if you're familiar with that.

Related

How to get MS ACCESS to run an interactive query when plotting a simple chart

MS Office 365 ProPlus, Access 2007 - 2016
I am trying to build a very simple chart which plots a single value over time. The data is coming from a saved query and looks something like this...
SELECT tot_effort_left, when_captured
FROM BurnDownMetrics
WHERE project = proj and domain = dom;
When I run the query, it asks for the "proj" and the "dom", which I enter, and the table/report it generates is correct.
tot_effort_left when_captured
300.0 4/10/2018
270.0 5/10/2018
230.0 6/10/2018
190.0 7/10/2018
100.0 8/10/2018
Now, for the report...
In the chart settings I select "Queries" and identify the stored query from the list provided.
For the "Axis" I select "when_captured" and for the "Values (Y axis)" I select "tot_effort_left (Sum)" and a chart pops up. Looks good but it appears to be using the search criteria I specified when developing the query. It does not ask me for the values. So I'm thinking it's just getting some data so that I can continue to develop the chart/report and when I actually go to run it, it'll ask then.
Another disconcerting thing is that I really don't want it so sum anything, just plot the data that the query returns.. So I change it to "tot_effort_left (None)" and the nice chart that I had disappeared. I go back to "tot_effort_left (Sum)" and the nice chart is restored. So I'm guesing/hoping that the "sum" won't actually do anything if there is nothing to sum. I save the report (fingers crossed).
Now, I double click the report. It does not run the query, it does not ask me for the "proj" and/or "dom". It just plots the same points that I saw when developing the report.
Is there a way I can get it to prompt me for the query criteria, run that through the query to generate the data, then just plot that ?

How to enter multiple user defined values on data Refresh in Business Objects

I am trying to run a Business Objects report in 5.1.9.
When I refresh the report it asks me in a box labelled "Enter and Select Values"
I can either enter a single free text value in the text box or I can type % to leave it unfiltered.
I would like to specify several values in this box rather than one or all. How do I do this? I have looked everywhere on google but perhaps I have the wrong search terms?
Wow - 5.1.9 almost 15 years old.
The box you're seeing is a prompt. Prompts can be defined either in the report's query, or in a universe object that's used in the query.
If it's defined in the query, then it's easy to change. Open up the query panel via Data -> Edit Data Provider (assuming you're using Full Client, WebI is a little different). You'll see the query panel with result object in the top-right pane and conditions in the lower-right pane. Look for a condition that includes the text you see in the prompt. That condition will likely have an "Equal To" operator. Change that to "In List", and the prompt should then accept multiple values.
If the prompt is not present in the conditions pane, then it is most likely applied via a universe object. If you want to make this change for this report only, you could modify the query's SQL (but only if you're using Full Client; for WebI, you'd need to modify the universe as described below). Hit the SQL button, and you will see the generated SQL. First, check off the "Do not generate SQL" checkbox in the lower-left of the dialog. Not doing so will cause your changes to be lost. Look through the SQL for a #prompt() function. Within that function, you should see mono -- change that to multi, and close the panel.
If you don't want to change the query's SQL, or if you want the change to apply to all reports, then you will need to modify the universe object that produces the prompt. You will need to access to Designer, and permission to import/export the universe. You will also need to locate the object that produces the prompt. Once you do, change mono to multi as described above, and export the universe.
Have you tried entering either of the following?
"FreeText1";"FreeText2";"FreeText3"
or
"FreeText1","FreeText2","FreeText3"
(obvs replacing FreeText with whatever your strings are)

Kibana-Group by a field

I have a field like HW-OS Version,HW-RiskRatio,Device_HW_Count and there are some HW_Version say A,B,C,A and their risk ratio as 200,300,100,400.Now using Kibana if i try to show the count and the risk ratio i get the output in the above format whereas I want the output as grouping by the HW_version field,which Kibana is not able to do.I read in the documentation that for such cases we need to write Json query which could do the grouping like a SQL query.Can someone please explain me this with the above example.I am not able to proceed forward
Did you try doing the aggregation using the Terms option in a Bar Graph for example, where you can select the field HW_version, and then maybe you can have your filters as sub-buckets according to your need, so that your graph would be based on a group by of the field you selected.
i.e: The Y Axis would be having the count (risk ratio), and the X Axis would be divided according to your field HW_version which should be having bars for (A,B,C). This SO could be helpful.
Hope it helps!

Howto filter in Report Builder using IN or OR

I am trying to filter a series in a Reporting Services Report Chart using Report Builder (started directly from Reporting Server default Webinterface).
What I want is to filter a series on different values, originally by using an OR clause. Because this is not possible in the dialogue, I guess it was a too complicated task for the develoers to create the required logic implementing brackeds etc) I try to use the operator "IN".
I want to filter the values in my dataset like this:
IN('% Processor Time','Buffer cache hit ratio')
Several attempts to enter the strings into the one(!) textbox avaiable for this filter failed. Sometimes I get just NO DATA. If I just enter the strings like this:
% Processor Time, Buffer cache hit ratio
and confirm this, reopen the dialogue, the value is automatically changed to sth. like that:
"""% Processor Time, Buffer cache hit ratio"""
and after confirming this again, I get this unhandeled exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: items2
at Microsoft.ReportingServices.Common.CollectionUtil.ElementsEqual[T](ICollection`1 items1, ICollection`1 items2, IEqualityComparer`1 comparer)
at Microsoft.ReportDesigner.Dialogs.Controls.FilterItemControl.SaveData()
at Microsoft.ReportDesigner.Controls.ListControlBinding.SaveData()
at Microsoft.ReportDesigner.Controls.PropertyControl.SaveData()
at Microsoft.ReportDesigner.Controls.PropertyDialog.OnClosing(CancelEventArgs e)
at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)
After that I just tried to use ONE argument with the IN operator, but this also does not work because it delivers just NO DATA.
enter code hereSo my question is, does anyone know a solution for filtering a dataset using OR or IN clause in Microsoft Report Builder?

Jaspersoft Studio : issues while drawing graph

I am new to JasperReports / Jaspersoft Studio and struggling a bit with Charts. The experts may find it very primitive and it is possible that I could be missing some very basic stuff here.. Here is a brief of what I am trying to do
1) Data source is csv with following fields
Sr_No, URI, total_time_taken, no_of_requests, avg_time_per_req, most_expensive_req, timestamp_of_exp_req
2) The csv has around 40,000 lines in it
3) I want to create a report which has all the 40,000 lines in it (A simple columnar report based on all the fields, sorted by no_of_requests in descending order). This is piece of cake in JasperStudio !
4) Next, I want a summary page with "top 10" URIs in a pie chart where value of the pie series is no_of_requests and key is URI (Pretty straight forward)
I have created a report in JasperStudio with data source as csv. I have selected all the fields and applied no filter to my query for the primary dataset (i.e. the default dataset that I get while creating the report). This helps me print all the 40,000 lines in the "Details" band of the report...so the first part is taken care off.
For summary page I need a pie chart where my challenge is to get "top 10" records from the entire dataset. Thankfully my "top" criteria is based on no_of_requests field and my data is already sorted based on that field. Still, I need a subset of the data to draw a meaningful chart. To achieve this, I tried to create a new dataset with just two fields, the URI (which is the key for the Pie) and no_of_requests (which is the value). I also applied filter expression "($V{REPORT_COUNT} > new Integer(10)) ? false : true" to the my new dataset so that I get "top 10" records from my already sorted data. I verified that the filter is working correctly by running it in "Data Preview" tab of "Dataset and Query" dialogue. I have chosen the new dataset as the "Dataset" for my Pie chart..
When I run the report (in preview mode of JasperStudio), I get 40,00 0 lines printed corrected (in the Details band) but the summary is empty. It draws no pie chart.
I tried same with a Bar Chart, but result is the same. The summary in that case shows just X and Y axis with no data points. The graph is empty.
Am I missing something?
Any help in this regards will be highly appreciated.
I have created two variables which I am gonna use in my pie chart to select the Top N Values from the Dataset. To achieve This I have used $V{REPORT_COUNT} Variable as follows
IF($V{REPORT_COUNT}<=N,$F{Your_Field},"") - If the Variable is a String IF($V{REPORT_COUNT}<=N,$F{Your_Variable},0) - If the Variable is Integer.
Substitute N with your desired number.If you need top 10 values then N=10
Now I have used these two Variables to create my Pie Chart.
I have written a blog for the same as I could not upload images here.
Please do check the same for detailed solution.
http://www.rajeshsirsikar.com/selecting-top-n-values-from-a-csv-datasource-jaspersoft-studio/