Gross Margin

Purpose

This measure represents a core profitability indicator and is essential for impact calculations and margin leakage detection. The Gross Margin measure should be used in most Agent scenarios where profitability analysis is required.

Business Context

Gross Margin reflects the portion of revenue remaining after deducting the Cost of Goods Sold (COGS). It enables business users to assess profitability across products, customers, or time periods and to identify areas where margin erosion may occur.

Definition

:question_mark:

The measure calculates the sum of gross margin over the Agent’s filtered scope. A dedicated Gross Margin field is expected to be available in the dataset. If such a field is not available, Gross Margin should be calculated as Revenue minus Cost of Goods Sold (COGS).

Business Formula

Gross Margin = Sum of Gross Margin

Alternative Business Formula

Gross Margin = Revenue − Cost of Goods Sold (COGS)

Agent Expression

SUM(GrossMargin)

Alternative Agent Expression

SUM(Revenue - COGS)