MDX – Select a List of All Measures in Your Cube

To get a full list of measures in your cube, open a MDX query against your Analysis Services multi dimensional database and run the following query.   The output is pretty cool, you get the measure name, measure unique name as referenced in MDX queries, measure group name and format string.    Very useful for producing business documentation for the kind people using the cube… Though if you haven’t specified custom captions for your measures, you may want to export the output to Excel then add some metadata to the measure names.

select * from $system.mdschema_measures

This blog is awesome http://dwbi1.wordpress.com/2010/01/01/ssas-dmv-dynamic-management-view/.

About AussieBICG

Connect with me here https://au.linkedin.com/in/aussiebicg

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s