Define custom metrics to monitor indicators that are meaningful to you and that help you understand the status of your factories and machines.
Create a new metric:
- Click Menu and then click Design Center.
- Select Organization from the Design Center menu.
- Click Metrics .
- Click Create Metric .
- Enter a Name to identify the new metric.
- Select the Entity Type to which the metric applies.The Entity Type is usually the machine type. You have the following options:
- All Factories: Select if your metric applies to all factories. For example, a metric that calculates the percentage of machines that are down per factory.
- All Machines: Select if your metric applies to all machines. For example, a metric that calculates the average production quantity per machine.
- Production Plans: Select if your metric applies to production plans. For example, a metric that calculates the hourly average of actual quantities produced for a particular routing task.
- Maintenance Schedules: Select if your metric applies to maintenance schedules. For example, a metric that queries the maintenance start times and end times.
- Machines: Lists the various machine types available. Select the machine type if you are creating a metric that applies to a machine type. For example, a metric that calculates the average dispensation rate for a dispenser machine.
- Under Calculate, select an appropriate option.
Calculate on Demand: On-demand metrics get calculated when they appear on a page, such as the Map page. On-demand metrics use less computational resources. You cannot use an on-demand metric for anomalies, predictions, and historical analysis.
Calculate on Schedule: Scheduled metrics are refreshed at the intervals you specify. You can choose between weekly, daily, hourly, and live metrics. Scheduled metrics can be used in anomalies, predictions, and historical analysis.
You can choose to convert a metric from on-demand to scheduled, and vice versa, at any point. For example, you may want to use an on-demand metric during testing and development phase, and subsequently convert the metric into a scheduled metric.
- Using the Formula editor, define an expression to calculate the new metric.You can build your operation using the elements in the Formula editor, or click Advanced to directly edit the SQL-like expression.The default formula uses the Count function on the properties you choose. So, for example, you may want a count of the number of factories with pending work orders greater than 10.To select a different function or aggregation, click the function name (COUNT), select the function name, and choose from the properties available for the selected function. The following additional functions are available:
Build your expression using the toolbar in the Formula editor, or by typing in the expression.
This image shows you how to use the formula editor:Your expression can contain the following elements:
The description for the metric is automatically created based on the properties and operators that you select.
- Parenthesis: Use parenthesis to group operations and indicate precedence.
- Symbols: You can use arithmetic, relational, and logic operators. When you click the Symbol button, the add operator appears in our formula. If you want to select another operator, click the add icon and select an operator from the list.
- Numbers, text, and boolean values.
- Properties: A list of predefined indicators that you can use to build your own metrics. This list is based on the business entity that you selected.
- (Optional) Click Validate Formula to validate your expression.
- Click Save.Your metric is saved and you can add it to the toolbar in the Map view.
Add the new metric to the Metrics toolbar in the Map view:
- In the Map view, click the Edit icon located in the Metrics toolbar.
- Drag and drop your new metric from the Unused Metrics group to an existing group.To drag and drop a metric, click on the ... located above the metric’s value.You can add your metric to an existing group, or create a new one by clicking the Add icon next to the existing groups.