For more information, visit Account FAQ. Please Log In or Register now!
Custom Report Example - Activity and Skill Totals Report
This example uses the Activities and Skills module. It shows how to group records and give a summary total of the number of records in each group. The query produces a list of activities and skills and counts the number of individuals for each one. Review the previous example to see the basic steps for creating a query.
To create the Activities and Skills report:
| 1. | Add the new query. |
Add a new query for the Activities and Skills module and give it the title “Number of Individuals in Each Activity/Skill.”
| 2. | Create the filter for the query. |
Using the Filter Building window, create the filter condition Skill Number is greater than 0. Please note: Version 11 refers to this field as "Activity Number".
| 3. | Select the output fields. |
From the Select Fields to Show in Query dialog box, choose the following as output fields: Skill Number, Skill Description, Profile Last Name. Please note: Version 11 refers to these fields as "Activity Number" and "Activity Description". Remain in this dialog box for the next step.
| 4. | Group records by skill number. |
On the Select Fields to Show in Query window, click the Skill Number field in the list of selected fields. Then click Group to see the Select Group Field Type dialog box. Click Group Records First By This Field (GRP 1) and then click Done.
| 5. | Choose Profile Last Name as the summary field. |
Highlight this field in the Select Fields to Show in Query window. Click Group and choose Count Number of Records in Each Group (CNT). This option counts the number of records in each activity and skill group. Click Done.
| 6. | Sort by skill number. |
On the Query Overview window, click Edit Sort Order. On the resulting dialog box, choose the Skill Number field and click Done.
| 7. | Run the query and print the report. |
See the previous example for more information on these functions. The results should resemble the following illustration.

PCPlus v 7, PCPlus v 8, PCPlus v 8.5, PCPlus v 9, PCPlus v 10/10.4, PCPlus v 11, PowerChurch Online
Last updated: 2010-08-27
Search Entire Site (via Google)
Show all documents grouped by:
