When creating a new KPI from the KPI Manager widget, there are two types to choose from: aggregate and expression. An aggregate KPI has a value that is based on the metric and aggregation method you select. An expression KPI has a value that is based on other KPIs or user defined functions, using an XPath expression that you define.