Create member with description in MDX

Dan Kennedy picture Dan Kennedy · Apr 21, 2010 · Viewed 7.7k times · Source

This is a pretty straight forward question that may or may not be possible but, when you create a measure in a SSAS 2005 cube, there is a description property which can be set, which we've been using in the client application that consumes the cube.

Is it possible to set this description when you create a calculated member through MDX? i.e. something like (although it doesn't work as I get an error saying the syntax near DESCRIPTION is incorrect)

CREATE MEMBER CURRENTCUBE.[Measures].[CalculatedMember] AS
NULL,
FORMAT_STRING = "Percent",
VISIBLE = 1,
DESCRIPTION = "My favourite calcuated measure";

Answer

Jake Longo picture Jake Longo · Sep 1, 2011

On the Calculations Tab - click on the 'Calculations Properties' button. This is where you can tell SSAS which folder to put your calculations in. There is a Description column - fill that in, and Bob is your uncle.