CREATE MEASURE statement (MDX)
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Creates a measure in a Tabular Model.
The Measure_Name must be enclosed in square parenthesis.
The CREATE MEASURE statement can only be used inside of a MDX script definition; see MdxScript Element (ASSL).
You can also define a calculated member for use by a single query. To define a calculated member that is limited to a single query, you use the WITH clause in the SELECT statement. For more information, see Building Measures in MDX.