Pivot table or crosstab summary

On this sample it is shown a very important functionality : “Crosstable” style summary.

Creating a new report

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

companies C INNER JOIN releases R ON C.CompanyID = R.CompanyID
INNER JOIN departments D ON R.DeptID = D.DeptID

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

Creating the groupings

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

4. Select the fields: C.CompanyName and D.DeptName and click in Turn On/Off .

Creating a total

5. Click in Totals and then click on Fields.

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

Setting up the crosstab summary option

7. Back to the initial options “Grid Modules”

8 Mark the “Summary” as the initial module and enable it and the “Chart”.

9. Access the Summary and click on Settings.

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

11. Click on the button “Run application”.

Tutorials in the same category

Subquery XML export

1- Create an application of Grid 2- Go to the toolbar option on the side menu to enable ...

Send summary exported by email

In this tutorial we will be looking at how to export the summary and send it by email. Creat...

Send grid exported by email

1- Create an application of the type grid 2- Proceed to go in the side menu Export /...

Advanced Filter Tags (Chart)

In this tutorial we will see how an advanced filter can be applied within a Chart application ...

Comment this post