Lesson 4: Pie Charts
Lesson 4-1 Creating a Pie Chart showing the percentage of orders from each country
Goal - The goal of this lesson is to create a report that has a Pie Chart that
shows the percentage of orders from each country.
- 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 "Orders".
- Click on the "Chart" tab. This is where we create charts.
- Click on the "Chart Type" drop down box and choose "Pie" for the chart type.
- Click on the "Label" drop down box and select "ShipCountry" for our label field.
- For the "Label" function select "Group" from the drop down box.
- Click on the "Value" drop down box and select "OrderID" for our value field.
- For the "Value" function select "Count Distinct" from the drop down box. Let's sort
the values so the countries with the most orders will be together.
- Click on the sort checkbox for the value 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 "Orders By Country"
- 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 4-1",
and enter the category you want the report to be shown under, for example "Training",
click ok. The Izenda report is saved.

Figure 9. Screen shot from report made in Lesson 4-1
End
Lesson 4-2 Advanced Pie Chart Report
Goal - The goal of this lesson is to modify the pie chart created in Lesson 4-1
by separating the data by year so we can see which countries had the most orders
each year.
- If you did not just complete lesson 4-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 4-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 "Chart" tab.
- Click on the "Show Advanced" button.
- Click on the "Separator" drop down box and select "OrderDate"
- Click on the "Separator" "Function" drop down box and select "Group(Year)" this
is how the data will be separated. Let's limit the number of records shown to 10.
- Click on the Show records textbox. Enter 10. Let's add a legend.
- Click on the "Legend" check box to select it. Let's explode the largest slice from
each year.
- Click on the "Explode Largest Slice" check box. Let's add percentages to the pie
graph.
- Click on the "Show Percentage" check box. Let's also change the type of pie chart.
- Click on the "Chart Type" drop down box and select "Doughnut."
- Click the "Preview" tab. Now the Pie Chart has been enhanced to show the countries
with the most orders separated by year. Let's update the title for this report.
- Click on the "Misc" tab.
- In the "Title" text box enter "Orders By Country and Year"
- Click the "Preview" tab. Let's Save it.
- Click on the "Save as" tool bar button, name your report, for example "Lesson 4-2",
and enter the category you want the report to be shown under, for example "Training",
click ok. The Izenda report is saved.

Figure 10. Screen shot from report made in Lesson 4-2
End
|
Type: HOWTO
|