This article covers creating Metrics and is part of R365 Intelligence, an R365 add-on feature. 


Metrics are Data Objects that are used to measure. When necessary, Users can create Metrics by creating new calculations. When created, these are added to the Datasets Panel as a new Data Object, and they can then be used to create Visualizations.


 Users can create Metrics using system-built shortcuts or from scratch using the formula/function editor. 


Article Topics:


Shortcut Metric


Users can create a Metrics using the 'Shortcut Metric' option. This function can be completed by right clicking a Metric on a Visualization and selecting 'Shortcut Metric' from the dropdown options.




Shortcut Metrics are Metrics that are preprogrammed calculations based on the Metric selected, including the following:

  • Rank
  • Percentile Rank
  • Percent to Total
  • Percent Of
  • Percent Change 
  • Moving Average 
  • Running Total
  • Percent Running Total


Once a selection is made, the Metric will appear in the Visualization and within the Dataset panel. 



Aggregate By


The 'Aggregate By' option allows Users to use the aggregation function, which are used to calculate subtotals for a metric like the following:

  • Sum
  • Average
  • Minimum
  • Maximum 
  • Count 
  • Median
  • Mode
  • Product 
  • Standard Deviation 
  • Variance


To access the Aggregation function, right click over a metric, and select 'Aggregate By' from the dropdown, then make a selection. 



Calculation


Users can create a new derived Metric also by combining the values of multiple Metrics with a a calculation. This can be done by right clicking Metric, then selecting 'Calculation' from the dropdown and making the necessary selections. 



From the calculation options,  Users can select the Metrics to combine, and then select whether to add, subtract, multiply divide, or average the selected metrics. 



Creating a Metric Using the Formula/Function Editor


In addition to using preprogrammed Metric building, Users can also create their own Metric using the Formula/Function editor. To do this, right click the Datasets panel and select 'Create Metric' from the dropdown. This will open the Formula/Function editor. 




Users can click the 'Switch to' button in the bottom left corner to switch to the Formula/Function Editor at any time. 





Function Editor


From the Function Editor mode, Users must build a Metric by first selecting a Metric function, and then specifying the parameters, such as which existing Data Object to base the calculation upon. The required information will be dependent on the Function selected.  When clicked, each Function has a description in the bottom panel of the dialog box. 


As an example, when creating a metric that represents SPLH, Users might select the 'Quotient' function as well as 'Gross Sales' and 'Total Actual Hours' to complete the required parameters. 


 




Formula Editor


In Formula Editor mode, Metrics are created by building out a formula in the Formula Box. Users can utilize existing functions and Data Objects to build out the formula or type out the Formula themselves. As a formula is typed into the formula box, predictive text helps Users make their selections.


As an example, Users might creating the formula: Total Sales/Actual Hours to create a Metric that represents SPLH.