We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How can I obtain a listing of all the measures in a cube?

TC72
TC72 asked
on
Medium Priority
176 Views
Last Modified: 2016-02-13
Experts,
I am totally new to the world of Dimensional Data Wharehousing. I have a need to generate a list of the measures of two cubes that are on my local machine. Can you offer a solution with clear instructions possibly?
TC72
Comment
Watch Question

Commented:
If you connect to the cubes with microsoft excel, you can view all measures and dimenstions, then drag and drop the data on the cross-tab grid.

Is this what you are looking for?

Author

Commented:
Sorry, I do not have excel on this box.
Thanks,
TC72

Commented:
Do you have SQL 2005 or 2008 "management Studio"?  If so, you can caonnect to Analysis services on your local box and see all aspects of the cube.

Author

Commented:
Yes I do.. However, I do not know what to look for in finding the 'measures'. I see the MesureGroups. But there are only around 5 groups. Is this what I am looking for? Are the names of these 'MeasureGroups' the only measures for the cube?
Thank you for your quick replies, and your assistance!

TC72
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Whis worked perfectly. I opened up the SSMS and right clicked on the cube and selected query and the individual measures were listed in the left pane. Thank you SO much for your assistance.

Author

Commented:
Is there an MDX query I could use to retrieve the individual measures?

Commented:
The only thing I can suggest is to right-click on the Cubename in the tree-view window, select "Browse" and then drag the top-level measure folder that's called "Measures" into the right-hand pane.  

Commented:
This MDX will work as well...

select [Measures].allmembers on columns
from CubeName

Author

Commented:
Thanks again, you have come through. I think we are close. I have returned 247 columns with the values of each measure. Is there a query that would return the 'column' or measure names in a single column? I need to be able to select these and paste into document.
Thanks again,
TC72

Commented:
You can't pull all Measures on "rows" unfortunately.  The only thin I can suggest, is to cut and paste the results with the 247 columns into excel.

Once in excel ,select the data once again, then on a new worksheet select "edit"-"paste special".  Inside of the "paste-special" window is a "transpose" checkbox.  Click this, and your data will be pasted with the columsn and rows reversed in the format you are looking for...

Author

Commented:
Great. Thank you for your assistance.  You have been very helpful.
Cheers!

TC72
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.