Design and Run Reports

The Reports page in Quest Data Modeler lets you create, run, and export reports for models stored in the Quest erwin Mart Portal and for models selected in Quest Data Modeler. Define a report once, save its properties, and then run or export it whenever you need current information.

Model-level reports use a model that you select when you run the report. A model-level report is not tied to one model, so you can define it once and run it on any compatible model.

Mart reports query the Mart directly and apply the selected filters and properties. They don't require an open model and can report on multiple models in the Mart.

Note: For Mart reports, your report coverage is determined by your Mart permissions.

Understand Reports

Before you create a report, learn how reports are defined, which models you can run a report on, and how QDM selects the model for a run.

Report Definitions

A report definition is the saved set of choices that describes a report. It includes the report subject, the selected properties, the filters, the report title, header, and footer, and the page setup options for PDF exports. The definition does not store the results. Each time you run the report, QDM queries the current information and displays new results.

A model-level report definition is independent of any single model. The properties that you select describe what to report on, and the model that you choose determines the data that appears in the results. This means that you can build a report once and reuse it on different models instead of rebuilding it for each model. You can also set a model as the default model.

Default Model, One-Off Model, and No Default

A model-level report can handle the model in one of three ways:

  • Default model: The model that the report runs on unless you select another one. The default model is optional and is saved with the report.

  • One-off model: A model that you select in the Run on field for the current session only. A one-off model does not change the report and is not saved.

  • No default: A report can be created without a default model. You are prompted to select a model each time you run the report. Reports that you import from an erwin DM template, or add from the report library, always start with no default.

Compatible Models

A report can run only on a model whose model type can produce the type of the report. The following table lists the report types that each model type can run.

Model Type Report Types It Can Run
Logical Logical
Physical Physical
Logical/Physical Logical, Physical, and Logical/Physical
Conceptual Conceptual

Database-Specific Properties

Conceptual and Logical reports use the same properties and filters regardless of the database. Reports run consistently across all supported models.

The properties and filters available in a Physical or Logical/Physical report depend on the model's target database. For example, a property available for Snowflake might not be available for PostgreSQL. If a report uses properties or filters that the model doesn't support, those items are omitted from the results. They remain in the report definition and become available again when you run the report on a compatible model.

Explore the Reports Page

To open the Reports page, select Reports in the left navigation bar. The first time you open the Reports page, no reports are defined and the workspace is empty.

The workspace includes the following areas and report types:

  • Report subjects: A report subject determines what a report is about and which properties are available to include in it. Report subjects appear when you open an existing report or create a new report.

    • Mart reports: For a Mart report, the properties are queried from the Mart. You can create following reports:

      • Cross Model Report: Reports on the design content of the models stored in the Mart. Use this subject to query and compare modeling objects across one or more models, such as Attributes/Columns, Design Layer Lineages, Domains, Entities/Tables, Naming Standard, Relationships, Subject Areas, User Defined Properties (UDP), and Views.

      • Mart Administrative Report: Reports on the administration and usage of the Mart itself. Use this subject to query operational and governance information, such as Libraries, Locks, Models, Profiles, Sessions, User Logs, User Permissions, and Users.

        Report subjects pane for Mart showing Cross Model Report and Mart Administrative Report subjects

    • Model-level reports: Select a model to see the report types available for it. Depending on the model, you can create a Logical, Physical, or Logical/Physical report and select properties.

      Report subjects pane for the Sales Billing 2 model with the Model subject expanded

  • Saved reports: This area includes the reports that you have already created and saved, and any reports that have been shared with you. A report that has no default model displays a No default tag.

    Saved reports list with Import and New report buttons and a No default tag on ETL Handoff Data Dictionary

  • Import: Create a report from an erwin DM report template file or from the report library. For more information, refer to the Import a Report Template section.

Create a Model-Level Report

Use a model-level report to review the content of a specific model. The report types, report subjects, and properties that are available depend on the model that you select.

For example, you need a data dictionary that includes entities in the Sales Billing 2 model, with its attributes and their definitions. You can share this report with the ETL or development team before they build data loads.

To create a model-level report, follow these steps:

  1. On the QDM Overview page, in the left navigation bar, select Reports.

    The Reports page opens.

    Reports page showing the Report subjects pane, the Saved reports list with a No default tag, and the New Report and Import buttons

  2. Select New Report.

    The New report dialog appears.

    New report dialog with Sales Billing 2 selected and Logical/Physical selected as the report type

    Models that are open in the modeler are listed under Open in the modeler, and the active model is marked as Active. Each model is listed with its model type.

  3. Search for or select the model that you want to report on. For example, Sales Billing 2.

  4. Under Report type, select the report type. For example, Logical/Physical.

  5. In the Report name field, enter a name for the report. For example, ETL Handoff Data Dictionary.

  6. Select Create.

    The report page opens. The Report Subjects pane lists the subjects that are available for the selected model and report type, such as Domain, Entity, Relationship, and Subject Area.

    ETL Handoff Data Dictionary report page for Sales Billing 2 with the Logical/Physical report type

  7. In the Report Subjects pane, select the report subject. For example, Entity/Table.

  8. Select the subject properties to include in the report. For example, for an entity or table, select Data Retention Time (In Days) and Copy Grants. For an attribute or column, select Name and Definition.

    Report designer with Entity/Table and Attribute/Column expanded and their Properties branches collapsed

  9. [Optional] Select a filter to limit the results. For example, Selected in Current Diagram. This filter lets you select entities or tables in Modeler for the report. Open the model in Modeler, and select required entities or tables, and then return to the Reports page.

    Entity filters with Selected in Current Diagram checked

  10. Select Save.

    The report is added to the Saved Reports section, and its properties and default model are stored with it. The Run on field displays the model that you selected, marked as (default).

    Saved ETL Handoff Data Dictionary report with Sales Billing 2 shown as the default in the Run on field

  11. Select Run.

    The report results are displayed in the Results pane. The status bar displays the report name, report type, and the number of rows and objects.

    The run options for a model-level report are the same as for a Mart report. For example, you can run the report in a paginated format or load all rows in a single view. For more information, refer to the Run a Report section.

    Logical/Physical results from Sales Billing 2 with retention time, Copy Grants, Database, Attribute/Column Name, and Definition columns

Review the results, and then export the report to share it with the ETL or development team. For more information, refer to the Export a Report section.

Run a Report on a Different Model

Use the Run on field to run a model-level report on any compatible model without changing the report. The field is located immediately to the left of Run and displays the model name that the report will run on. Use this option to run the same report on several compatible models and review their results.

To run a report on a different model, follow these steps:

  1. Open the model-level report that you want to run.

  2. Select Run on to open the list of available models.

    The list opens with the default model at the top and a Search models box.

    Run on model picker showing Sales Billing 2 as the default and availability details for other models

    Under each model, the list displays how well the model matches the report:

    • Clean match: Everything that the report selects exists on that model.

    • N columns won't be available, or N filters won't be available: Some selected properties or filters do not exist on that model. Hover over the text to see the list.

    • This model doesn't have the report's subject: The model has nothing of the report's subject type.

    Models that cannot produce the report type are unavailable and display the reason. For example, a Conceptual model cannot produce a Physical report.

  3. [Optional] In the Search models box, enter part of a model name to filter the list.

    Run on model picker filtered by Op, showing OpportunityFlow with two unavailable columns

  4. Select the model that you want to run the report on.

    The Run on field displays the model name with (not default). Reset appears next to the field, and Make default appears if you own the report. The report is not marked as modified.

    Run on field showing OpportunityFlow as not default, with Reset and Make default available

  5. Select Run.

    The report results are displayed in the Results pane.

    Report results from OpportunityFlow showing attribute names and definitions, with two columns unavailable

    The results bar displays Results from followed by the model name. If the model does not provide some of the selected properties or filters, the bar also displays how many are not available, and the results leave them out.

  6. [Optional] To return to the default model, select Reset.

    The Run on field diplays the default model with (default) after the model name, and Reset and Make default disappear.

    Run on field reset to Sales Billing 2 as the default, while the results bar still identifies OpportunityFlow

A one-off model applies to the current session only. Selecting a one-off model is not an unsaved change, so it does not trigger the unsaved changes prompt.

Note: If you are not the owner of a shared report, you can select a one-off model and use Reset, but you cannot make the model the default.

Change the Default Model of a Report

The owner of a report can make a different model the default. The report then runs on that model unless you select another one. Changing the default model does not remove any selected properties or filters from the report.

To change the default model, follow these steps:

  1. In the Run on field, select the model that you want to use as the default.

    The Run on field displays the model name with (not default), and the Reset and Make default options appear.

  2. Select Make default.

    The Run on field displays the model name with (default, unsaved). The report is marked as modified.

    Run on field showing the model marked default, unsaved, with the Save button enabled

  3. Select Save.

    The report is saved. The Run on field displays the model name with (default). To remove the default model, select Remove default from the Run on list.

Change the Type of a Report

You can change the type of a model-level report if the model supports more than one type. For example, a Logical/Physical model supports the Logical, Physical, and Logical/Physical types. For a report with no default, the types follow the model that you select in the Run on field.

When you change the type, QDM keeps the selected properties and filters that also exist in the new type and removes the ones that do not. Revert type restores the original type together with everything that the change removed.

To change the type of a report, follow these steps:

  1. Open the report, and then open the Type list.

    Report page with the Type list showing Logical, Physical, and Logical/Physical options

    The list displays the report types that the model can produce.

  2. Select the new type. For example, Logical.

    The properties tree switches to the new type. Properties that exist only in the previous type are removed. Revert type appears next to the Type list, and the report is marked as modified.

    Report page with Logical selected, the Entity properties tree visible, and Revert type and Save available

  3. Select Save to keep the new type.

Export a Model-Level Report as an erwin DM Template

You can save a model-level report as an erwin DM report template (.erpt) file. The file does not name any model, so anyone can import it into Quest Data Modeler or erwin Data Modeler and run it on their own models.

To export a report as a template, follow these steps:

  1. Open the model-level report, and then select the down arrow next to Export.

    Report page with the Export menu showing Save as erwin DM template (.erpt)

    The menu lists Save as erwin DM template (.erpt).

    Note: The Save as erwin DM template (.erpt) option is unavailable if the report has no report subject or nothing is selected, and for Mart reports.

  2. Select Save as erwin DM template (.erpt).

    A file named after the report, with the .erpt extension, downloads.

Import a Model-Level Report Template

You can create a model-level report from an erwin DM report template. The template can come from a file that you saved in Quest Data Modeler or in erwin Data Modeler, or from the report library. The new report has no default model, so it asks you for a model each time that you run it.

To import a template from the report library or a file, follow these steps:

  1. On the Reports page, in the Saved reports area, select Import.

    The menu lists options:

    Saved Reports area with the Import menu showing From the report library and From a file

  2. Select one of the following:

    • From the report library

      The Report library dialog appears.

      Report library dialog with Model Reports selected, template checkboxes cleared, and Add report disabled

      1. Select a category from the following options:

        • Model Reports

        • Model Validation Reports

        • NoSQL

        Template options vary depending on the category you select.

      2. Select a template. For example, Attributes Reports - Default Domain.

      3. Select Add report.

        Attribute attached to Default Domain report with a No default tag and Choose a model in the Run on field

    • From a file, and then select an erwin DM (.erpt) file.

      Sales Billing Data Dictionary report with a No default tag and Choose a model in the Run on field

    The new report opens and appears in the Saved reports. After importing the template, select the model to use for the report.

Create a Mart Report

To create a Mart report, follow these steps:

  1. On the QDM Overview page, in the left navigation bar, select Reports.

    The Reports page opens.

    Reports page in Quest Data Modeler showing the empty Report subjects and Saved reports areas

  2. Select New Report.

    The New Report dialog appears.

    New report dialog showing model search and selection

  3. Under the What should the report read? list, select Mart.

  4. In the Report name field, enter the report name. For example, SDI Analysis Report.

  5. Select Create.

    The report is saved and displayed in the Saved Reports section.

    Report subjects pane listing the Cross Model Report and Mart Administrative Report subjects to choose from

  6. On the Report page, select the report object. For example, under Cross Model Report, select Attributes/Columns.

  7. Select the properties that you want to include in the report. For example, Name, Model Name, Physical Data type, Physical Name, and SDI.

    The available properties depend on the selected subject and object, and are retrieved from the Mart.

    Report designer with the Attributes/Columns subject selected and its available properties shown as check boxes

  8. Select additional filters. For example, select Specify Model Name at Run Time to choose models when you run the report.

    Filter By section of the report designer showing filter options including Specify Model Name at Run Time

  9. Expand Properties to open the Page setup and Properties pane.

    Selecting the Properties expander to open the Setup and Other Properties pane

  10. Configure the following properties:

    • Title: Specifies the report title
    • Description: Specifies the description of the report

    • Headers and footers: Specifies the header and footer text that is added to each page of a PDF export

    Setup and Other Properties pane showing the Description, Title, Header, and Footer fields

  11. Scroll down to view and configure the following page setup options:

    • Paper: Specifies the default page size to use when exporting the report to a PDF file

    • Orientation: Specifies the orientation to use when exporting the report to a PDF file

    • Table of contents: Specifies whether the table of contents is included in a PDF file

    • Index: Specifies whether the index section is included in a PDF file

    Page setup section showing the Paper, Orientation, Table of contents, and Index options for a PDF export

  12. Select Save.

    The report is added to the Saved Reports section, and its properties are stored with it.

Run a Report

Run a saved report to query current information and view the results. Mart reports send the selected properties and filters to the Mart. Model-level reports query the model shown in the Run on field, using the report type, properties, and filters that you configured.

Mart report results reflect the current state of the models in the Mart, regardless of which models are open in the modeler. A model-level report runs on its default model unless you select another model for the run, or on the model that you choose if the report has no default.

Select Run to display the report in a paginated format. To display all rows in a single, scrollable view, select the down arrow next to Run, and then select Run and load all rows.

Report designer with the Run button and a banner noting that Specify Model Name at Run Time is asked for when the report runs

If you configured a filter with the Specify at Run Time option when creating the report, the Filter Values dialog appears when you run the report. Select the required model and attribute values, and then select Run to generate the report.

Filter Values dialog prompting for the Specify Model Name at Run Time filter with models to select before running the report

The report results are displayed in the Results pane.

Results pane showing the generated report rows with the status bar displaying the report name, type, rows, columns, and subject

View a Report

After you run a report, the results appear in the Results pane. You can change how the results are displayed without changing the saved report definition. The status bar at the bottom of the Results pane displays the report name, type, number of rows, number of columns, and the report subject.

When you view a report, you can do any of the following:

  • Switch between paged and full views: Select Paged to display the results one page at a time, or select All rows to display every row in a single, scrollable view. The default view is Paged.

    Results pane with the Paged and All rows options, showing the tooltip that explains All rows loads the whole report so it can be grouped and sorted

  • Group rows: Drag one or more column headers to the grouping bar above the results to group rows by those columns, such as Model Name or Domain Name. Collapse or expand the groups to hide or show the grouped results. To remove a grouping, select Remove grouping on the grouping chip. This option is available in the All Rows view only.

    Results pane grouped by Model Name, showing the Model Name ASC grouping chip and collapsible groups for each model

  • Navigate between pages: In the Paged view, use the Previous and Next controls at the bottom of the Results pane to move through the pages of results. Use First page and Last page controls to jump directly to the first or last page of results.

    Results pane in Paged view with the Previous and Next navigation controls highlighted at the bottom of the pane

  • Show or hide columns: Select Columns, and then select or deselect the check boxes to control which columns appear in the results.

    Results pane with the columns menu open and check boxes for showing or hiding columns

These display changes affect only the current view. They do not change the saved report definition or the properties.

Modify a Report

If you need to change the selected properties after running a report, you can modify the report properties and save the report again. The updated report definition is stored with the report and is used the next time you run or export it.

To modify a report:

  1. On the Reports page, select Edit Selection.

    An opened report on the Reports page with the Edit selection option highlighted at the top of the Results pane

    The Properties pane opens.

    Report editing view showing the expandable Properties pane above the Results pane after selecting Edit selection

  2. Add or remove report properties as required, and then select Save.

    Properties list with Definition selected, Save enabled, and a banner indicating that the report must be run again

    Run the report again to view the updated results.

Save a Copy of a Report

Use Save a Copy to create a duplicate of a report that you can modify independently of the original report. This option is useful when you want to:

  • Create a variation of your own report

  • Modify a report that was shared with you and save it as a new report

To save a copy of a report, follow these steps:

  1. Open the report that you want to duplicate.

    An opened report with the Save a copy option highlighted in the toolbar

  2. Select Save a copy.

    The Save a copy dialog opens.

    Save a copy dialog with the Report name field prefilled as Copy of SDI Analysis Report and the Cancel and Save a copy buttons

  3. In the Report name field, enter a name for the copy. For example, SDI Analysis Report V2.

  4. Select Save a copy.

A new report is created with the same definition as the original. The copy is private to you and opens so that you can edit it, and you can modify it without affecting the original report.

The new report copy named SDI Analysis Report V2 open in the report editor, ready to be modified independently of the original report

Export a Report

You can export a report so that you can save or distribute the results. When you export a report, you can override some of the saved report properties for that export without changing the report definition. For example, if a report is saved with the table of contents and index turned off, you can include them for a single PDF export. The property that is saved with the report remains unchanged, so the next export uses the saved defaults again.

To export a report, follow these steps:

  1. Open the report that you want to export. For example SDI Analysis Report.

    Reports page with saved reports listed and the No report open message in the workspace

    The report opens.

    SDI Analysis Report with Specify Model Name at Run Time selected under Attributes/Columns filters

  2. Select Export.

  3. [Optional] For mart reports, if the report includes runtime prompts, provide the filter values that you want to apply to the export, and then select Run. Otherwise, proceed to step 4.

    Mart Report Filter dialog with a model search box, the Mart library tree, zero models selected, and Run disabled

  4. Select one of the following formats.

    • Delimited text: Exports the report as a delimited text file that is downloaded as a .csv file with the following options:

      • Delimiter: Specifies the character that separates values. Select Comma, Tab, Space, or Other to define a custom delimiter

      • Text qualifier: Specifies the character, such as a double quote ("), that wraps values that contain a delimiter or a line break so that they are not split into separate columns

      • Remove duplicate rows: Excludes duplicate rows from the exported file

      Export report dialog with Delimited text selected, showing the Delimiter, Text qualifier, and Remove duplicate rows options

    • HTML: Exports the report as an HTML document. Select one of the following layouts:

      • Both: Exports both the tabular and hierarchical layouts, switchable within the document, using the same layout as erwin DM

      • Tabular only: Exports a single table, as shown in the grid

      • Hierarchical only: Exports a section per object, keeping the nesting

      Export report dialog with HTML selected, showing the Both, Tabular only, and Hierarchical only layout options

    • PDF: Exports the report as a PDF document, using the same layout as erwin DM, with a title page, the report, and selected options. Configure the following options:

      • Paper: Specifies the page size, such as A4, used for the export

      • Orientation: Specifies whether the pages are laid out in Portrait or Landscape orientation

      • Include: Specifies whether to include the Table of contents and the Index in the exported document

      Export report dialog with PDF selected, showing the Paper, Orientation, and Include Table of contents and Index options

  5. Select Export.

    The report is exported in the selected format using the filters and properties that you specified. The saved report definition is unchanged.

Share or Delete a Report

In the Saved reports section, hover over a report name to display the actions that are available for that report.

Saved Reports section with a report selected, showing the share and delete icons next to the report name

To share a report, hover over the report name and select Share a report. You can share a report with other members of your tenant. When you share a report, recipients can view and run it, but they cannot modify the original report.

To delete a report, select Delete a report.