Use a metric when
The property:- Represents a financial value, KPI, assumption, or driver
- Is added, averaged, counted, compared, or calculated
- Belongs in the values or line-item area of a financial table
- Is a result you want a formula to produce
- Revenue
- Cash Balance
- Headcount
- Units Sold
- Average Salary
- Gross Margin
Use a dimension when
The property:- Names a category
- Groups or filters other values
- Identifies where a value belongs
- Has items people use to break down a report
- Department
- Legal Entity
- Region
- Product
- Customer
- Vendor
- Account
- Date
Ask two questions
- Is this the value I want to measure?
- Or is this how I want to organize that value?
Do not choose by data type alone
- Employee ID may contain numbers, but it identifies employees and is usually a dimension.
- Gross Margin is a percentage, but it is a calculated value and is a metric.
- Date is stored as a date, but it organizes values across time and is a dimension.
- Headcount is a count, not a list of employees, so it is a metric.