Skip to content

Importing KPIs

This functionality allows you to import a previously exported JSON file containing one or more KPIs, including their filters, grouping criteria and embedded KPIs.

You can import the file into any smart view, provided that the same measures and attributes have been selected in the source and destination smart views.

The progress of this operation can be tracked on the "Monitoring Messages page.

Prerequisites

  • You have created a smart view.
  • A JSON file to be imported must be stored in your system.

Limitations

  • To successfully import KPIs, you must have selected all the required measures and attributes in the destination smart view.
  • If you are importing KPIs using the "Override existing KPI" option:
    • The KPI to be overridden must be in the destination smart view and not in another smart view.
    • The destination smart view should not contain a KPI with the same name which is either embedded or used in any KPI event.
  • If you are importing KPIs using the "Create a copy of the KPI" option, the destination smart view should neither include a KPI with the same name nor a KPI called "Copy of KPI name". For example, if the KPI in the JSON file is named "Good Items", the destination smart view should not include KPIs named "Good Items" and "Copy of Good Items".
  • If the import of an embedded KPI contained in the JSON file fails for any reason, the corresponding composite KPI import will also fail.

Procedure

  1. In the "KPIs" tab, select "Import KPIs".
  2. Browse for the JSON file you want to import.
  3. If the KPI you are importing already exists, you can select one of the following options:
    • Create a copy of the KPI: a copy of the KPI is created, named "Copy of KPI name".
    • Skip the KPI: the KPI is not imported.
    • Override existing KPI: the formula and any filters and groupings are overridden. This option can be applied if the existing KPI: is included in the same smart view, or has not been associated with any KPI event, or has not an embedded KPI. Composite KPIs can be overridden.
  4. Click "Import". If any errors occur, nothing is imported: you have to fix the errors and import the file again.

Response messages

These messages can be shown in the "Monitoring Messages" page after the Import KPIs operation. The list of KPIs for which the message is returned is provided. You can find below the possible actions to be performed if one of these messages is returned.

Message Action
KPIs Imported Successfully No action is required. The list of correctly imported KPIs is provided.
Skipped KPIs No action is required. The list of skipped KPIs is provided. The KPIs were skipped because the corresponding option was selected.
KPIs Deleted For Override No action is required.
KPIs whose deletion failed, so cannot be Overridden No action is required.
Overriding failed because following KPIs were in use or were present in other smart view Remove the associated KPIs from the events or delete the KPIs from the other smart view.
KPIs failed In Formula Creation KPI import failed during the formula creation. A referenced measure is not selected in the smart view. Check the JSON file for the missing measures.
KPIs failed In Filters Creation KPI import failed during the filters creation. A referenced attribute might not be selected in the smart view. Check the JSON file for the missing attributes.
KPIs failed In Groupings Creation KPI import failed during the groupings creation. A referenced attribute might not be selected in the smart view. Check the JSON file for the missing attributes.
KPIs failed In Embedded KPIs Mappings Creation No action is required.
Exception occurred in following KPIs No action is required.

Last update: October 26, 2026