Features of the Data Model Editor

The data model editor for pixel-perfect reporting enables you to combine data from multiple datasets into a single XML data structure.

Datasets from multiple data sources can be merged either as sequential XML or at line-level to create a single combined hierarchical XML. Using the data model editor you can easily combine data from the following dataset types: SQL query, OLAP (MDX query), LDAP, and Microsoft Excel.

The data model editor is designed with a component pane on the left and work pane on the right. Selecting a component on the left pane launches the appropriate fields for the component in the work area.

The data model editor supports the following:

  • Group data - Create groups to organize the columns in your report. Groups can do two things: separate a query's data into sets, and filter a query's data.

    When you create a query, the data engine creates a group that contains the columns selected by the query; you can create groups to modify the hierarchy of the data appearing in a data model. Groups are used primarily when you want to treat some columns differently than others. For example, you create groups to produce subtotals or create breaks.

  • Link data - Define master-detail links between datasets to group data at multiple levels.

  • Aggregate data - Create group level totals and subtotals.

  • Transform data - Modify source data to conform to business terms and reporting requirements.

  • Create calculations - Compute data values that are required for your report that are not available in the underlying data sources.

The data model editor provides functions at the element level, the group level, and the global level. Note that not all dataset types support all functions. See the Important Notes section that accompanies your dataset type for limitations. The figure below highlights some of the features and actions available in the data model editor.

Launch the Data Model Editor

Launch the data model editor to build a data model for pixel-perfect report.

  1. From the header or from the Home page, click Create.
  2. Click Data Model.

About the Data Model Editor Toolbar

In the data model editor, the toolbar on the top provides you the options to manage private data sources, view data, create report, and save the data model.

Option Description
Validate Validate the queries used for datasets, LOVs, and bursting definitions.
Manage Private Data Sources Connect to private data sources for your personal use that don't require setup by an administrator.
View Data Display the Data tab where you view and generate sample data.
Create Report Create a new report with this data model.
Save / Save As

Select Save to save your work in progress to the existing data model object or select Save As to save the data model as a new object in the catalog.

If you create a data model and then navigate out of the data model editor without saving it, a draft or temporary data model entry might be displayed in the Recent section of the Home page. You can't manually delete the temporary data model entries manually. The temporary data model entries are automatically deleted after 24 hours.

Help View online help.

About the Interface

By default, the datasets that you created are shown in the Diagram View as separate objects.

The dataset structure builder has three views:

  • Diagram View - The Diagram View displays datasets and enables graphically creating links and filters, adding elements based on expressions, adding aggregate functions and global-level functions, editing element properties, and deleting elements. The Diagram View is typically the view you use to build your data structure.

  • Structure View - The Structure View has two modes:

    Table View and Output

    The table view displays element properties in a table and enables updating XML element alias names, presentation names of the elements, sorting, null values, and reset options. The image below shows the structure Table View.

    The Output view provides a clear view of the XML structure that is generated. The Output view cannot be updated. The figure shows the Output view.

  • Code View - The Code View displays the data structure code created by the data structure builder that is read by the data engine. You can update the content in code view. The figure shows the code view.