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).
Returns a set of measures that belongs to the specified measure group.
The specified string must match the measure group name exactly. Square brackets for measure group names with spaces are not required.
The following example returns all of the measures in the Internet Sales measure group in the Adventure Works cube.
SELECT MeasureGroupMeasures('Internet Sales') ON 0 FROM [Adventure Works]