Skip to content
D365 Reference

UnitOfMeasure

Shared across companies

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

Module: Product InformationNo company partition
Notes

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

KeyFieldEDTDescriptionTypeLengthFlags
KeySymbolUnitOfMeasureSymbolThe unit symbol (kg, ea, hr) — the natural key, and the value unit columns across the lake resolve tostring
UnitOfMeasureClassClass of the unit (length, mass, quantity, time…) — conversions only exist within or between classes deliberatelyenum
SystemOfUnitsSystem of units the unit belongs to (metric, US customary…)enum
DecimalPrecisionNumber of decimals quantities in this unit are rounded toint
RecIdRecIdThe 64-bit surrogate key UnitOfMeasureConversion joins to on both the from and to sideint64

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.

Query parameters
-- ============================================================
-- 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

  • UnitOfMeasureConversionUnitOfMeasureRecId ref · N:1
    ON unitofmeasureconversion.fromunitofmeasure = unitofmeasure.recid
  • UnitOfMeasureConversionUnitOfMeasureRecId ref · N:1
    ON unitofmeasureconversion.tounitofmeasure = unitofmeasure.recid

Data Entities That Expose This Table