[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2009-07-03
12
Medium Priority
?
120 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
0
Comment
Question by:TC72
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 3

Expert Comment

by:mfreuden
ID: 24773923
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?
0
 

Author Comment

by:TC72
ID: 24773967
Sorry, I do not have excel on this box.
Thanks,
TC72
0
 
LVL 3

Expert Comment

by:mfreuden
ID: 24773975
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.
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

Author Comment

by:TC72
ID: 24774002
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
0
 
LVL 3

Accepted Solution

by:
mfreuden earned 2000 total points
ID: 24774027
The Measure groups are the groupings of the various mesaures in the cube.  In order to see the actual Measures within the group, hightline ove othe the cubes listed in the tree-view, then click "New Query" at the top of Management Studio.

 A blank window will open the the right along with another tree-view pane of the actual cube.  Here you'll see a "measure" folder with all the individual measures listed.  The blank windoe to the right is where you would write an MDX query to quiery your cube.
0
 

Author Closing Comment

by:TC72
ID: 31599644
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.
0
 

Author Comment

by:TC72
ID: 24774085
Is there an MDX query I could use to retrieve the individual measures?
0
 
LVL 3

Expert Comment

by:mfreuden
ID: 24774107
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.  

0
 
LVL 3

Expert Comment

by:mfreuden
ID: 24774123
This MDX will work as well...

select [Measures].allmembers on columns
from CubeName

0
 

Author Comment

by:TC72
ID: 24774149
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
0
 
LVL 3

Expert Comment

by:mfreuden
ID: 24774179
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...
0
 

Author Comment

by:TC72
ID: 24774194
Great. Thank you for your assistance.  You have been very helpful.
Cheers!

TC72
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
What we learned in Webroot's webinar on multi-vector protection.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question