UnitOfMeasure
Shared across companiesThe shared unit-of-measure master — one row per unit symbol (kg, ea, hr) with its unit class and system of units; every quantity column in the lake ultimately resolves to a symbol here
Not in the CDM Tables catalog; structure verified against the Microsoft AX 2012 table reference (framework unchanged). UnitOfMeasureConversion references it by RecId.
Fields
5 fields · 1 key
| Key | Field | EDT | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | Symbol | UnitOfMeasureSymbol | The unit symbol (kg, ea, hr) — the natural key, and the value unit columns across the lake resolve to | string | ||
| UnitOfMeasureClass | Class of the unit (length, mass, quantity, time…) — conversions only exist within or between classes deliberately | enum | ||||
| SystemOfUnits | System of units the unit belongs to (metric, US customary…) | enum | ||||
| DecimalPrecision | Number of decimals quantities in this unit are rounded to | int | ||||
| RecId | RecId | The 64-bit surrogate key UnitOfMeasureConversion joins to on both the from and to side | int64 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading UnitOfMeasureon Databricks — enums are decoded, 1900-01-01 dates are wrapped to NULL, and the DataAreaId anchor is in place. Set your Unity Catalog location, company, and filter values below; they’re substituted into the SQL and the copy button.
-- ============================================================
-- Table : UnitOfMeasure The shared unit-of-measure master — one row per unit symbol (kg, ea, hr) with its unit class and system of units; every quantity column in the lake ultimately resolves to a symbol here
-- Purpose: Column-selected read of UnitOfMeasure — auto-generated from field metadata
-- Grain : One row per Symbol
-- Notes : Auto-generated skeleton for Synapse Link / Fabric Link-landed F&O data (lowercase column names). Enums decoded inline where verified; datetimes stored in UTC; 1900-01-01 dates are sentinels mapped to NULL. System/audit columns omitted — see the quirks guide.
-- ============================================================
SELECT
u.symbol AS "The unit symbol (kg, ea, hr) — the natural key, and the value unit columns across the lake resolve to",
u.unitofmeasureclass AS "Class of the unit (length, mass, quantity, time…) — conversions only exist within or between classes deliberately", -- enum: decode u.unitofmeasureclass via GlobalOptionsetMetadata join — see quirks guide #enums
u.systemofunits AS "System of units the unit belongs to (metric, US customary…)", -- enum: decode u.systemofunits via GlobalOptionsetMetadata join — see quirks guide #enums
u.decimalprecision AS "Number of decimals quantities in this unit are rounded to",
u.recid AS "The 64-bit surrogate key UnitOfMeasureConversion joins to on both the from and to side"
FROM <catalog>.<schema>.unitofmeasure u
ORDER BY u.symbol;2 parameters not filled: <catalog>, <schema>
Relationships
1-hop neighbors — click a table to navigate there. RecId and InventDim edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON unitofmeasureconversion.fromunitofmeasure = unitofmeasure.recidON unitofmeasureconversion.tounitofmeasure = unitofmeasure.recid
Data Entities That Expose This Table
- UnitOfMeasureConversionEntityUnit conversions — conversion factors between units, with the from/to unit symbols resolved; product-specific conversions are exported separately
- UnitOfMeasureEntityUnits — the unit-of-measure master export (displayed as 'Units'), one record per unit symbol with class, system of units, and precisionPrimary source