Create a pivot table
Create a pivot table in a report, add dimensions and measures, and set additional properties as needed.
- Create a new, empty report.
- In the Data View, associate your data schema.
- From the Tool Box, drag and drop a Pivot Table to the report structure under the Page Root.
- Add dimensions as Hierarchy elements. See Add a dimension to a pivot table.
- Add measures under the Fact node. See Add a measure to a pivot table.
- Arrange the dimensions and measures in the Structure View. See Arrange your hierarchies.
- Set additional properties as needed for the Pivot Table. See Pivot table properties.
- Save the report.
Examples are provided in the Reports project (Reports.4pw) as part of the samples directory. The reports are StaticPivotTable.4rp and DynamicPivotTable.4rp.