Summary and Pivot Chart

This example shows how to create a report with the summary and the graph on the same page.

Creating a new grid

1. Create a new grid application based on the following SQL.

SELECT
C.CompanyName,
D.Deptname,
R.DateRelease,
R.ValueRelease
FROM
companies C INNERJOIN R ON Creleases.CompanyID = R.CompanyID
INNERJOIN D ON RDepartments.DeptID = D.DeptID
WHERE
R.CompanyID NOTIN (6,7,8,9) AND
R.DeptID NOTIN (6,7,8,9)

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

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

4. Click Totals and then click Fields.

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

6. Access the “Summary” guide in the application menu, then click on “Graphics >> Settings“.

7. Configure as the image below

Showing only pivot and graph summary

8. Return to the initial options “Grid Modules

9. Verify the “Summary” as the initial module and leave only this module and the “Graph” enabled. In the “Graph” options, change to display it on the “same page”.

10. Click on the “Run application” button.

Tutorials in the same category

Tutorial: Grid with modal filter.

This tutorial will show how to configure a query filter to display in a modal window, using the res...

Export Option

To export different types of files we must carry out the following steps: 1 - Create a Grid ...

Integration with WhatsApp

To integrate WhatsApp with ScriptCase, we will be using a specific API called Chat-API, it is a...

Menu with Font-Awesome

For the items in a menu to have icons of the new Font-Awesome functionality and design, do the ...

Comment this post