The following measures are approved for use with the Pricefx Agents. They follow established best practices applied in the Curated Agents catalog and are implemented using the Query Expressions.
General Guidelines
To ensure reliable and meaningful results, the following rules should be followed when defining measures.
Aggregated Calculations over Pre-filtered Datasets
Measures should be based on aggregated calculations over pre-filtered datasets. For example, filtering by a specific time period should be handled by the Agent configuration, not within the measure itself.
Query Expressions
The following Query Expressions are recommended and considered best practice.
Conditional and Null-handling Functions
Aggregation and Counting Functions
Averages
Averages should not be calculated using the AVG function. Instead, averages should be computed explicitly or as weighted averages. For example, an average price should be calculated as:
Total Revenue / Total Quantity
Measures
-
Gross Margin -
Pocket Margin -
Pocket Margin Rate (%) -
Price Realization (%) -
Price Compliance (%) -
Cost Pass-Through Variance -
Negative Margin Revenue Share (%) -
Freight Cost Recovery (%) -
Return Rate (%) -
Quote Turnaround Time (Days) -
Revenue Rank -
Profit Rank -
Suggested Margin from a Target Margin Rate -
Suggested Price from a Target Discount Rate -
Boundary Compliance Rate (%) -
First Quartile -
Third Quartile -
Interquartile Range (IQR) -
Outliers – Too Low Values -
Outliers – Too High Values -
Price Adjusted with a Target Margin Rate -
Price Adjusted with a Target Discount Rate -
Revenue (Net Realized Revenue)