BIRT report_ repeating the stucture on the basis of group - birt

With a model like: "student (1)->() School, student (1)->() Result (Student,School)"
I need to generate a BIRT report as folows,
::::::::::::::::::::::School detail:::::::::::::::::::
School name:________________
Location:_________________
School grade:____________________
Result
year|result|marks
...
...
avg marks xxx
Summary : with conduct has avg % marks
I need to repeat the above structure in BIRT report for every school, student has been through. What feature of BIRT report I can/should use to create this report. This is not the simple listing of records and grouping, Th structure I nedd in my report is not tabular and somewhat destributed description of result of one or multiple queries. Where the structure itself has to be repeated for every school.

See Tutorial 1: Building a simple listing report
Help > Help Contents
You will use the list, with a sub report (probably a table) imbeded in the list, the sub table will limited to just the student who is being reported for each list event.

Related

How do i do a automated UIPATH process where i can sum the values in different sheets based on product?

I have 3 sheets which contain 3 products and I need to sum the number of products in different sheets together. However, the number of sheets is not fixed. So how can I do an automated UIPATH process which will help me add the sum based on products depending on how much sheet is present in the excel folder?
I assume that all the worksheets have the same schema, so you could open your file Excel and read every time all the worksheets contained with "Get Workbook Sheets". Then read the range of every worksheet and merge these into one data table. Finally, you can find the sum of the products with LINQ or another query from the data table.
Something like this:
For example, LINQ query:
dt.AsEnumerable.Where(Function(x) x("colName").Equals("products")).Sum(Function(x) Decimal.Parse(x("colName").ToString))
Regards, Gio

Crystal Report Groups Duplicate My Values

I'm trying create two groups from two different tables. I choose create new crystal report (As A blank report) then i create two groups like following images:
Then I'm choosing the table. I'm doing this once again with another table i want.
My Crystal report design look like this:
Now my Result is this:
But I want to take this result:(This result is painted)
Maybe it looks like easy for you, but i need a helping hand for solving this.
I choosed link options(Full inner join)
In Design Form
The grouping functionality within Crystal maintains the data relationship and makes it easier to read by not repeating the group text for each line item - if you group by "A", you will see all items, including the "group 2 duplicates" so long as they are in group A. Adding a second group will further refine the subset of results.
This is the intended and expected behavior for Crystal - SQL-level grouping is different and is used for aggregate functions, among other things.
If you are trying to create a multi-column report, look at this
Can I make a two column Crystal Report? - Under Section Expert, go to Details and click the box "format with Multiple Columns", then click Layout at the top and enter the detail size, in inches, as well as the gap between details. if you want your groups to continue in the additional columns, click the "Format groups with Multiple Column" checkbox.
If this does not satisfy your requirement, you may have to reevaluate the report requirements and the dataset limitations.

OBIEE Merge two queries (join)

I need help.
I am new to obiee (recently moved from business objects and re-creating all reports in obiee).
Here is an example I need help with. I have created an analysis where I am listing all orders with their target delivery dates and number of products in each order.
Order Id......Target Delivery Date...No of products
Abc....1/1/2016.....5
I want to add to a column next to No of products called "No of prods delivered on time". I want to compare delivery date of each product within a order with the target delivery date and
Give count of products delivered within the target date.. So the output should be
Abc....1/1/2016....5.....3
Where 3 is number of products delivered on time.
I could do it in BO by running two queries and merging them however in obiee I am not able to add second query to my analysis. I did try at product level using case when target date >=delivery date then 1 else 0 and wrapped this with sum function to aggregate but it didn't work ..
Appreciate your help in this. Searching for this topics give me results for running queries from multiple subject area :(
You also have unions in OBIEE, you union the results of 2 queries which return the same structure, so you have query A with Order ID, Target Date, No Products and a Dummy column with a 0 and default agregation Sum, and a second query with Order ID, Target Date, Dummy column summing 0 and the number of products delivered.
You do all this in the criteria tab of the analysis. It's important the order in which you put your columns, because that's what OBIEE is using to do the union.
Regards

How to create non filtered summary in a filtered report in crystal reports

Pretty new to CR
I have a grouped survey report filtered by a parameter so (of course) all the summary's in the report are being filtered by the parameter.
I need a "average" summary on a group (question) that is not filtered by the parameter.
Not sure on how to go about this.
Thanks
There are many options to tackle this problem, but the one that will require the fewest changes to your report will be if you use a SQL Expression (basically a subquery) to get that unfiltered average.
Let's say that you're grouping your report by {table.group} and looking for the average of {table.number}. You could create an expression like:
case when "table"."group" is null then null
else (select average(number)
from table
where group="table"."group")
end
Note that the double-quoted fields refer back to the main query, so you're effectively correlating the average per group back to each row from the main report which can then be used in the Group Footer or Group Header.

Can I receive data from .rdlc Report Parameters?

I have a VS 2010 Report, and I would like to pass values that are calculated inside of one .rdlc report to another. Can I somehow use the Parameters to send data back out of the report, or have some "return" value from the .RDLC?
I don't think you can have return values with report services.
Instead, assuming that the two report have different dataset, the only solution I come out so far is to include two dataset in your second report and recalculate your field.
Doing that, you can use your normal expression to calculate the values that you need from the first report specifying the first dataset.
Here really simple example:
Report 1
The report is using only the DataSet1
=Fields!AField.Value
Report 2
The report is using two dataset: DataSet1 and DataSet2
=(Fileds!AField.Value, "DataSet1") + (Fields!AnotherField.Value, "DataSet2")
Ofc the expressions could be more complex, but the most important thing is to specify the DataSet where the report have to take the filed.

Resources