Creating a new web report with the BIRT Report Designer
After installing BIRT, you can start creating new reports in the BIRT Report Designer.
To create a new report with the BIRT Report Designer
- In the BIRT Report Designer, select File > New > New Report.
- Enter a file name.
Use the default file location or browse to a different file location. - If you want to use a blank report template, click Finish.
- If you want to select a report template, click Next, select a report template, and click Finish.
The new report appears in the Layout editor pane of the BIRT Report Designer.
To enable data access for a BIRT report by creating a data source
Before creating new BIRT reports, you must build a BIRT data source to connect a BIRT report to a data source, such as a database. A BIRT data source allows you to access data for a BIRT report.
- In the BIRT Report Designer, go to the Data Explorer tab, right-click Data Sources, and select New Data Source.
- If the Data Explorer tab is not open, select Window > Show View > Data Explorer.
In the New Data Source dialog box, make sure Create from a data source type in the follow list (default) and ODA Data Source (default) are selected, and click Next.
If ODA Data Source does not appear as a selection in the New Data Source dialog box, make sure the correct plug-in files were copied to the BIRT installation directory.
- In the New Designtime Data Source Profile dialog box, enter the User Name and Server for the data source.
- Click Test Connection.
If the Ping succeeded! message appears, continue to the next step.
If the Ping failed! error message appears, review the details, correct the data source information, and test the connection again until you are successful. - Click Finish, and click OK to close the box.
To define the data available in a report by creating a data set
After creating a new report, you must build a data set to configure the data to extract from data source. The data set defines all data that is available to the report. For example, the data set configuration determines which fields are displayed in the report.
- In the BIRT Report Designer, click the Data Explorer tab, right-click Data Sets, and select New Data Set.
- Configure the New Data Set dialog box:
- Enter the Data Set Name, for example, Incident Data Set.
- Under the Data Source node, select the data source, and click Next.
For example, select a data source previously created for this report.
- Configure the Query box:
- From the Form list, select a form.
- Click Add.
The Available Fields dialog box displays all fields in the selected form. - Select the fields you want to include in the report, and click OK.
In the Qualification field, enter the criteria to be used for the query, click Verify, and click Finish.
Enter the qualification using this format:'field' operator "Parameter"For example, for the incidents that are not closed, enter:
'Status' !="Closed"Click Finish.
- From the Form list, select a form.
- To change a column label in a report, make changes in the Output Columns dialog box.
- Select the output column you want to edit.
- Click Edit.
- In the Display Name field, change the column label.
For example, you can change the Short Description column heading to Description. - Click OK.
For a description of the parameters that can be configured in the Data Set editor, see the BIRT online help.
To preview and save a new BIRT report
- In the Edit Data Set dialog box, click Preview Results in the left navigation area to preview the data for the new report, and click OK.
The data that fills in the criteria of the data set appears in the right pane of the Edit Data Set box. - To save the new BIRT report, select File > Save As, and enter a meaningful file name in the File Name field.
- Click Finish.