BackPrevious Page Next PageNext

Lesson 1: Creating a Web Report the Quick Start Way

In this lesson, we will create a web report the quick start way and learn about the visualization toolbar of Web Report Studio, which is also available in the standard way.

This lesson contains the following tasks:

Task 1: Create a web report

Task 2: Work with the visualization toolbar

Task 1: Create a web report

  1. On the JReport Server Start Page, click Web Reports in the Create category. Web Report Studio is then displayed in a new tab, with the Select Data Source dialog prompted for you to select the business view used to create the web report and the data fields to be displayed in the report.

    Select Report Data

  2. From the Resources box, select WorldWideSalesBV. All the data fields contained in the business view are then displayed in the right box. Select Region, Sales Year, Total Sales, and Category and click OK.
  3. A web report containing a table is generated.

    Table

Task 2: Work with the visualization toolbar

Via the visualization toolbar (the toolbar displayed vertically) of Web Report Studio, you can conveniently convert a data component between the following types: table, crosstab or chart.

Firstly we will convert the table to a crosstab.

  1. Click Crosstab button on the visualization toolbar. The table is converted to a crosstab:

    Convert Table to Crosstab

The visualization toolbar also provides entry to the wizard of current data component. With the wizard you can redefine a data component, apply filter to narrow down data displayed in the component.

Next we will use the wizard to edit the data fields displayed in the crosstab.

  1. Click Wizard button on the visualization toolbar and the Crosstab Wizard is displayed.

    Crosstab Wizard

  2. In the Rows box, select Sales Year and then click the X button at the top right of the box to remove it.

    Remove Row Field

  3. Remove Category from the Columns box in the same way.
  4. In the Resources box, browse to the Products category at the bottom and select Category, then click Add button to add it to the Rows box.

    Add Row Field

  5. Click OK to confirm the changes. A message dialog is displayed asking for your confirmation of the change. Click OK in the dialog.

    A new crosstab is created.

    Newly Defined Crosstab

Lastly we will convert the crosstab to a chart and save the web report.

  1. Click Bar Chart button on the visualization toolbar. The crosstab is converted to a bar chart as follows. You can also select other chart types on the toolbar.

    Convert Crosstab to Chart

  2. Click the Save button 保存按钮 on the toolbar, the Save As dialog is then displayed.
  3. From the Save In drop-down list, select the My Reports folder, input Product Sales in the File Name text box, then click OK to save the report to the server resource tree.

BackPrevious Page Next PageNext