To create advanced reports, you must use the reporting views to create a data model for your report. A data model is an object that contains a set of instructions for retrieving and structuring data for a report. Using SQL statements or the Query Builder, you must select columns from the views to create a data set that contains the data you want to include in your report data model.
To create a data model:
- Select New and click Data Model.
- In the Diagram tab, expand the New Data Set list and click SQL Query.
- In the New Data Set - SQL Query dialog box, complete the following:
- In the Name field, enter a name for the query.
- In the Data Source list, select an EnterpriseTrack data source.
- In the Type of SQL list, select Standard SQL.
- Click Query Builder.
- In the Query Builder window, complete the following:
- In the Schema pane, select a schema table.
- Navigate to the Conditions tab and add conditions and functions to the columns.
- Navigate to the SQL tab and verify the SQL query.
- Navigate to the Results tab and verify the results of the query.
- Click Save.
- In the New Data Set - SQL Query dialog box, click OK to save the data model.
- In the Data Model tree, expand Data Set and select a data set.
- In the Data tab, click Save As Sample Data.
- Browse to the EnterpriseTrack reports folder (for example,
ET_Reports
) and save the data model.
Generating Reports
Creating a Report