Tutorial: Pivot table or crosstab summary

This sample shows a very important functionality: Summary of the “cross table” style.

Creating a new report

1. Create a new report based on the following SQL statement.

SELECT
C.CompanyName,
D.Deptname,
R.DateRelease,
R.ValueRelease
FROM
companies C INNER JOIN R ON Creleases.CompanyID = R.CompanyID
INNER JOIN D ON RDepartments.DeptID = D.DeptID


2. Select the fields C.CompanyName, D.DeptName and R.DateRelease. To do this, click Select fields.

Creating the groupings.

3. Open the Group By folder and click on “Static Grouping >> New Grouping“.

4. Select the fields: C.CompanyName and D.DeptName and click Enable / Disable.

Creating a total

5. Click Totals and then click Fields.

6. Select the R.ValueRelease field and then click SUM.

Setting the cross-reference table summary option

7. Return to the initial options “Grid

modules8 Mark the “Summary” as the initial module and enable it and the “Graph“.

9. Access the Summary and click Settings.

10. Change the “Record count” property to “do not show” and the position of the “C.CompanyName” field for the “X axis.

11. Click on the “Run application” button.

Tutorials in the same category

Card View HTML

  This tutorial demonstrates how to create a Grid application using the “User defined” ori...

Evaluation Field in the Grid

In this tutorial, you will see how to use the evaluation fields in a Grid application.  We ...

Evaluation Field in Summary

In this tutorial, you will see how to create a Summary by using the evaluation fields. We can use ...

Grid with fixed toolbar

  In this example, we are going to develop a report using a fixed toolbar on the top so we can...

Comment this post