Building a Custom Report

You might have a specialized report requirement that none of the built-in text or visual reports fulfills. The following sections describe how to create a new text report and a new visual report from scratch.

Creating a New Text Report

When you create a new text report, you start with a report template that gives you the framework within which to build a good report. There are four text report templates, or report types:

  • Task

  • Resource

  • Monthly Calendar

  • Crosstab

If you’ve edited or copied any existing text reports or just looked at a report’s definition out of curiosity, you might already be familiar with some of these report types, as they form the basis for nearly all the built-in text reports.

To build a custom report, follow these steps:

  1. On the Project tab, in the Reports group, click Reports.

  2. In the Reports dialog box, double-click Custom.

  3. In the Custom Reports dialog box, click New.

    The Define New Report dialog box appears, as shown in Figure 13-28.

    Select the format for your new report.

    Figure 13-28. Select the format for your new report.

  4. In the Report Type box, select the type of report you’re creating, and then click OK.

    The report definition dialog box appears, as shown in Figure 13-29. The dialog box you see depends on the report type you select.

    The Crosstab Report dialog box appears for any report that displays a tabular format of intersecting information along vertical and horizontal fields of information.

    Figure 13-29. The Crosstab Report dialog box appears for any report that displays a tabular format of intersecting information along vertical and horizontal fields of information.

  5. In the Name box, enter the name of your new custom report.

    Be sure that it’s a unique name in the Reports list.

  6. Define your report: Specify any fields, filters, or formatting as the report definition.

    If you’re defining a task, resource, or crosstab report, also use the Details tab to specify additional information you want to add to the report. Use the Sort tab to specify which field should dictate the order of information in the report.

  7. Make any changes you want to the report fonts by clicking the Text button.

    In the Item To Change box, click the report element whose text you want to format and then specify the changes you want. When you finish, click OK.

  8. When you are finished with your new report’s definition and changes, click OK in the report definition dialog box.

    The name of your new report appears in the Reports list in the Custom Reports dialog box.

  9. Click your new report if necessary, and then click Select to generate the report and see what it looks like in the Print Backstage view.

  10. If you want to make further changes, click Project, Reports, Reports. Double-click Custom, click the custom report, and then click Edit.

    The report definition dialog box appears again. Make the changes you want.

Your new report is saved with your project file and is available whenever you work in this particular project.

Creating a New Visual Report Template

When you create a new visual report, you specify the data type, or OLAP cube, such as Task Usage or Assignment Summary. This provides the basis for the visual report, whether it is generated in Excel or Visio.

To create a visual report template from scratch, do the following:

  1. On the Project tab, in the Reports group, click Visual Reports.

  2. Click New Template.

    The Visual Reports - New Template dialog box appears, as shown in Figure 13-30.

    When you create a new visual report template, you must specify the application (Excel or Visio), the data type (OLAP cube), and the project fields to be included.

    Figure 13-30. When you create a new visual report template, you must specify the application (Excel or Visio), the data type (OLAP cube), and the project fields to be included.

  3. Under Select Application, select Excel if you want to create an Excel chart based on a PivotTable from Project 2010 data. Select one of the Visio options if you want to create a flow diagram based on a PivotDiagram from Project 2010 data.

  4. Under Select Data Type, choose the type of data you want to use as the basis for your report.

    Visual reports are based on six different sets of information: Task Summary, Task Usage, Resource Summary, Resource Usage, Assignment Summary, and Assignment Usage. These data types determine the fields that Project 2010 adds to the OLAP cube, but you can add or remove fields, as well.

  5. To modify the fields to be used in the template, click Field Picker, and then add or remove fields in the Available Fields list.

    To add fields to the new visual report’s OLAP cube, select the fields you want from the Available Fields list, and then click Add.

    To remove fields from the Selected Fields list, select the fields, and then click Remove.

  6. Click OK in the Visual Reports - Field Picker dialog box, and then click OK in the Visual Reports - New Template dialog box.

    For an Excel template, Excel launches and opens a blank PivotTable, as shown in Figure 13-31.

    Drag fields onto the PivotTable to build your report.

    Figure 13-31. Drag fields onto the PivotTable to build your report.

    For a Visio template, Visio launches and opens a blank PivotDiagram, as shown in Figure 13-32.

    Create a PivotDiagram in Visio to use as a custom project visual report.

    Figure 13-32. Create a PivotDiagram in Visio to use as a custom project visual report.

    Note

    For details on building a new PivotTable in Excel for a Project 2010 visual report, see Creating and Editing Visual Report Templates in Excel. For details on building a new PivotDiagram in Visio for a Project 2010 visual report, see Creating and Editing Visual Report Templates in Visio.

  7. When you have configured the PivotTable or PivotDiagram, save the template. In the Save As dialog box, be sure that the template is being saved to the folder where all the other templates are located, for example the C:Users[username]AppDataRoamingMicrosoftTemplates1033 folder.

    Saving the template in this folder ensures that the template appears in the Visual Reports - Create Reports dialog box.

    If you save the template in a location other than the default Microsoft templates folder, you can still have it included in the list of visual reports. On the Visual Reports - Create Report dialog box, select the check box labeled Include Report Templates From, click the Modify button, and then browse to the location of your new template. Select the template, and then click OK.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.19.243