How to create roport in RTC using BIRT on entered data weekly/monthly manner - birt

I am new for birt,my problem statement is that,when users add value in particular attribute in RTC work item daily ,then take sum of those all values and show the result on weekly/monthly manner in report using birt
Can anyone have any idea on the same?
Thank you in advance

Related

pivot report in oracle apex to show total per row and columns

I have this view
name.......task........Sub total
George...Leave.......50
Mason....Sick.........100
George...Sick..........20
Mike......Vacation.....40
How can I have it presented like this in oracle apex? I've tried the pivot option in apex but I only can get the total per column NOT per row!! any idea is greatly appreciated. please keep in mind that the task can be anything.
....Leave Sick Vacation......etc...total
George......50...........20............0.............................70
Mason.......0..........100.............0.............................100
Mike...........0..........0...............40.............................40
total..........50.........120.............40
Did you try an Interactive Report? That function is included on it.
https://docs.oracle.com/database/apex-5.1/AEEUG/managing-pivot-reports.htm#GUID-B71B947D-FC08-466C-9739-DFFE7981F4E8

Crystal Report not filtering SQL records based on selection formula

unfortunately I'm not an expert of Crystal Report, so I'll post here my question hoping for any help about my issue.
I want to display inside my report the result of a filter on a SQL RecordSet; this RecordSet is looked up from an a single table, of which I want to show some fields of my SQL table, while the filter I want to apply is based on a field parameter (defined static) that I'm trying to set programmatically.
Here below I attached my code where I'm applying the record selection formula, I tried also hard-coding the value instead of passing it through a dropdown selection:
ReportDocument RPT_Doc = new ReportDocument();
RPT_Doc.Load(RPT_Path_Name, OpenReportMethod.OpenReportByDefault);
ApplyConnInfos(ref RPT_Doc);
RPT_Doc.SetParameterValue("data_riferimento", "20161001");
RPT_Doc.RecordSelectionFormula = "{viaggi.data_part_pre} = '20161001'";
crystalReportViewer1.ReportSource = RPT_Doc;
In the first image attached you can find the field parameter definition, while second image is the record selection formula I defined inside my report:
The report always shows all the records of my table (more than ten thousand rows), instead of displaying a filtered RecordSet. The odd thing is Preview function from Visual Studio works like a charm; it prompts the field value, once I confirm the value the viewer displays the report with the rows filtered as I expect..
What am I missing from report/C# program configuration to make the record selection work?
Thank you in advance for any suggestion you can give me :)
Leonardo
Ok, finally we got the solution to our issue.
We found the CrystalReportViewer object used to display generated reports has 2 different properties, SelectionFormula and ViewTimeSelectionFormula; both has default value set to empty string.
Below I attached the picture of .Designer.cs file with the 2 properties valued:
We commented those 2 properties and the selection formulas and field parameters applied through code / report designer worked again.

disabling sorting in CrossTab of Crystal Report

I have report with Crystal Report and there is a Cross Tab inside of it. In order to pass data to CrossTab I create a DataTable , do some processing on the data and pass it to Crosstab In Report, In Cross Tal I have 3 Group By's. I dont want the cross tab changes the sorting of data I have pass them to it.
This is by default happens in cross Tab Group by
But I dont want the value be sorted.
any Idea for that?
If you wish to maintain the order that the values are loaded into the report, the quickest way is probably to alter the SQL yourself.
Create a new returning field in your SQL statement that starts at 1 and increments with each record. Then tell the Crosstab to sort on the field you just made.

Crystal report summary depending on another column

Image:
Hi, i am new to crystal reports but a fast learner.
I need to make a report, that shows the price of specific maintenance during a month.
The important thing is that the Total values are correct
As you see the "arbejdsordre" can appear multiple times because on the same column it has different "titel" the different "titel" has different "planlagt tid" but the same "Omkostninger"
I need to tell crystal report to only calculate "omkostninger" for "arbejdsordre" one time when "arbejdsordre appears several times.
how can i do this?
Best regards
André
If you go into the Group Expert and then group your report data by Omkostninger you should be able to accomplish your goal.
Display the value for "Omkostninger" in the Group Header, and then display the different "titel" and "planlagt tid" in the details section or any other group header section that is a lower level grouping than Omkostninger.
This will allow you to display each unique value for Omkostninger once and only once on the report, with all of the other data for each Omkostninger value displayed in the details.

Browse field data shows value, but displays another value

I have a formula written for a field in Crystal Reports. When i refresh the report, i get a different value from the formula. The required value is always the last value in Browse Field Data dialog for that formula.
Isnt the formula supposed to have only one value as output? why are multiple values shown in browse field data dialog.? Is there a way to retrieve last value of Browse File Data dialog?
My formula looks like below:
WHILEREADINGRECORDS;
NumberVar CODTOTAL;
if {XXX.YYY} = 1 then
( CODTOTAL := CODTOTAL + {XXX.ZZZ};
);
CODTOTAL;
Browse field data shows all the values "CODTOTAL" acquires as a result of that formula and displays a random value amongst the assigned value.
Please help me out. I am amateur in crystal reports.
Any help would be highly appreciated.
~Regards.
First observation should be where have you placed the formula (Details, Footer.. etc).
why are multiple values shown in browse field data dialog.?
Browse field shows the data that is present in the table but in your case you are applying "If" condition of the filed. It can be possible that there is only one record that satisfies your condition.
I would suggest to run the report without the codition, Check the results and apply the condition and check results again.

Resources