Back to Home Page
Izenda Customer Portal
Home
Search
Welcome Guest
(
Login
|
Register
)
Most Popular
Overview
Download and Install
Integration
Security
FAQ
Code Samples
Settings API
Training
Home
»
Training
»
Lessons
»
Lesson 5
Advanced Charting & Analysis
Advanced Charting & Analysis
Lesson 5: Advanced Charting & Analysis
Lesson 5-1 Creating a Report from multiple Tables
Goal - The goal of this lesson is to create a report that has fields from multiple tables to determine some statistics.
From the ReportList.aspx page Click on "Design a New Report". Or if you are in report designer click the "New" icon. Now we need to select a data source.
Click on the "Data Sources" tab. Then click on the drop down box and choose "Categories".
In the bottom most row under the "Data Sources" label, select "Products" from the drop down box. Ad Hoc automatically joins these tables. This is a unique feature of our product.
Click on the "Fields" tab.
Click on the "Field" drop down box and choose "CategoryName"
In the bottom most row under the "Field" label, select "ProductName" from the drop down box. Let's count the number of products in each category.
To do this we will want to select the "Group" function for the "Category Name" field.
Then we will select the "Count Distinct" function for the "ProductName" field. We should rename the Description for Products to make more sense.
Type in "Products" for the "Description" textbox in the "ProductName" field.
Click on the "Preview" tab so you can view the report. Let's add a title to this report.
Click on the "Misc" tab.
In the "Title" text box enter "Product Stats per Category"
Click the "Preview" tab. Now the report is titled. Let's Save it.
Click on the "Save as" tool bar button, name your report, for example "Lesson 5-1", and enter the category you want the report to be shown under, for example "Training", click ok. The Izenda report is saved.
Figure 11. Screen shot from report made in Lesson 5-1
End
Lesson 5-2 Adding Some Statistics to the Report
Goal - The goal of this lesson is to modify the report created in Lesson 5-1 by adding a subtotal and showing the percentage of the group.
If you did not just complete lesson 5-1 then you will need to load it. This can be done from the reports list or report designer. It will be under the "Training" category and labeled "Lesson 5-1". In report designer just click the name. In reports list you click the pencil next to the name and this will load the report in report designer.
Click on the "Fields" tab. Let's add a field that shows the percentage of products that are of each category type.
In the bottom most row under the "Field" label, select "ProductName" from the drop down box. After selecting the field we need to count the number of products in each category and show them as a percentage.
Select the "Count Distinct" function for the "Function" in the field we just added. Also select the "% of Group (with rounding)" "Format" for this field. Now let's put a new description for this field.
In description type "%" for the bottom most "ProductName" field. Now let's sum up the columns.
Add a subtotal by selecting "sum" from the subtotal drop down box.
Click the "Preview" tab. The percentage of group statistics and subtotals have been added to the report. Let's Save it.
Click on the "Save as" tool bar button, name your report, for example "Lesson 5-2", and enter the category you want the report to be shown under, for example "Training", click ok. The Izenda report is saved.
Figure 12. Screen shot from report made in Lesson 5-2
End
Details
Type:
HOWTO
Options
Email Article
Print Article
Bookmark Article
Export As PDF