Blank template: Microsoft Excel O365

Follow these steps if you are using Microsoft Excel O365.

Before you begin

Ensure you have the API Key. For more information, see Create API Key.

Authenticate and connect to the Nintex Process Manager Reporting API

  1. Open the template and if prompted, click Enable Editing and then click Enable Content. The list of available tables from which you can retrieve data will be displayed.
  2. Click Data > Get Data > Power Query Editor.
  3. On the left pane, click API Key and paste the value you have copied as described in the Create API token topic.
  4. On the left pane, click Reporting API URL.
  5. From the Current Value drop-down list, select https://au-reporting.promapp.io/odata.

Note: Only the https://au-reporting.promapp.io/odata URL is currently available.

  1. On the left pane, click Reporting API OData. If prompted, click Edit Credentials and then click Connect. The list of tables for the supported endpoints will be displayed. For more information about the endpoints, see API Reference.
  2. To exit the Power Query editor and load data in the Microsoft Excel file, click Close & Load.

  3. Click Data > Refresh All.

You can save the file with the configured values and use the Power Query Editor and PivotTable in Microsoft Excel to customize data and create reports. For more information, see Example: Configure and create reports.

Example: Configuring the Microsoft Excel file

This section describes an example of how you can configure the Microsoft Excel file in order to display data and relationships to help you create the required reports.

  1. Open the template and if prompted, click Enable Editing and then click Enable Content.
  2. Click Data > Get Data > Power Query Editor.
  1. In the Power Query Editor window, the list of tables for the supported endpoints will be displayed. For more information about the endpoints, see API Reference.
  2. In the Queries column, right-click Reporting API OData > Rename, and type Incidents.
  3. In the tables list, click the Table link for the Incident table row. If prompted, click Continue. The Incident table data will be displayed.
  4. In the Queries column, right-click on Incidents and then click Duplicate.
  5. Right-click on the duplicated query, then click Rename, and type IncidentFields.
  6. In the Query Settings column, click Source.
  7. In the tables list, click the Table link for the IncidentField table row. If prompted, click Continue. The IncidentField table data will be displayed.

Note: This example describes the Incident and IncidentField table. You can use the same steps for the other tables. In the Data column, click on the Table link to display data for the corresponding table. The table fields will be displayed with the corresponding data in rows. For more information about the columns displayed, see the Properties tables in API Reference.

  • To select a different table:
    • Click View > Query Settings.
    • On the right pane, click Query Settings > Source to display the list of available tables.
  • To refresh data, click Refresh Preview > Refresh All. The data is not refreshed in real-time and it can take up to 8 hours to fetch the updated details.

  1. Click Close & Load > Close & Load.
  2. Click Data > Refresh All > Refresh All. The Microsoft Excel file will display two new worksheets for the Incidents and IncidentFields details.

Note: If data is not displayed, click Data > Refresh All > Refresh All again.

You can configure relationships, add PivotTables, and explore other Microsoft Excel options to customize the data displayed and create the required reports. The following section describes an example report.

Example: Reporting by Portfolio Name

This section describes an example of how you can configure the relationships between the Incident and IncidentField table data and add a PivotTable to create a report to display the total number of incidents created for each portfolio in 2019.

  1. Complete step 1 to step 10 described in Example: Configuring the Microsoft Excel file.
  2. From the Workbook Queries column displayed on the right, click the query name to load the corresponding sheets and rename as Incidents and IncidentFields for clarity.
  3. Click Incidents and then click Data > Relationships.
  4. In the Manage Relationships dialog, click New.
  5. In the Create Relationship dialog, select the following values:
    • Table: IncidentFields
    • Related Table: Incidents
    • Column (foreign): IncidentId
    • Related column (Primary): EntityId

  6. Click OK > Close.
  7. Click Insert > PivotTable.
  8. In the Create PivotTable dialog, select the following values:
    • Select the Use this workbook's Data Model check box.
    • Choose where you want the PivotTable report to be placed: New Worksheet.

  1. Click OK. The new worksheet will be displayed with the PivotTable. The Workbook Queries and PivotTable Fields columns will be displayed on the right.

  2. In the PivotTable Fields column, drag and drop the fields as follows:
    1. IncidentFields > IncidentId to VALUES
    2. Incidents > PortfolioName to ROWS
    3. Incidents > ReportedDate to COLUMNS. The ReportedDate, ReportedDate (Year), ReportedDate (Month), and ReportedDate (Quarter) columns will be added.
    4. Click on the ReportedDate, ReportedDate (Month), and ReportedDate (Quarter) columns and then click Remove Field.
    5. Drag and drop the ReportedDate (Year) column to the FILTERS area.
  3. For the ReportedDate (Year) filter displayed on the worksheet, select 2019.

The PivotTable will display the total number of incidents for each portfolio for the Year 2019 as illustrated in the following image. You can use the fields to customize it for your requirements. For more information about working with PivotTables, see the Microsoft Excel help center.