Solved

OLAP Cube: Export Dimension Hierarchy (Visual Studio/MSSQL/MSAS)

Posted on 2008-06-19
6
1,275 Views
Last Modified: 2011-10-03
Hi,

I have a HOLAP cube with a large number of dimensions. I've jsut been asked to produce something ina  tree format that can be displayed to the client. I would just do it by hand except that a) the list is quite large (45 dimensions, each with around 3-4 granulatrities) and b) the dimensions are soon going to be changed when the same thing will be required again - so I'm looking for the lazy option.

I'm not overly fussed about the format (screenshots were a possibility) as long as it is (or can be used to generate) a graphic tree-style view.

Any help greatly appreciated
0
Comment
Question by:basiclife
[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
  • 4
  • 2
6 Comments
 
LVL 13

Expert Comment

by:rickchild
ID: 21822997
You could access the cube with a pivot table in Excel and then expand down all the dimensions, wouldn't take too long.

Or use reporting services to access the OLAP with a Matrix report and then let the client drill down themselves (You could probably even put dummy or NULL data in there)
0
 
LVL 5

Author Comment

by:basiclife
ID: 21823208
Thanks for the rapid response. Can you explain the process for the Excel PivotTable? I've used PTs before and am familiar with their operation but have only ever used another worksheet as a data source. I've installed "Microsoft Query" which seems to be required to use an external data source and have managed to establish a connection to the database the data is pulled from but cannot see any way to connect it directly to analysis services to query the cube.

Since the dimensions are just views and tables until they're pulled into the cube and organised into a hierarchy, I'm obviously missing something here.

Thanks again

Basiclife
0
 
LVL 5

Author Comment

by:basiclife
ID: 21823222
Hang on, I've just seen the glaringly big "OLAP" tab which I managed to ignore previously *sigh*

Be back to you in 10...

0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 
LVL 5

Author Comment

by:basiclife
ID: 21823389
OK, I've managed to get the PivotTable working (Never knew you could do that - It'll come in handy for some reporting stuff - Thanks!) but I can't see an easy way to get the list of fields to fromt eh field list into the document proper - except by using the in a PT of course which would be overly complex if I used all of them.

Additionally, I'm again not sure if I'm missing something but... The top level of each hierarchy is shown along with some of the sub-levels but some seem to be missing eg:

We are using a computed column for customer age. We have a table matching the ages to the (irregular) age bands requested. The structure is simply: <root>/AgeGroup/Age

However, the list of fields shows only Age not AgeGroup.

Any suggestions?
0
 
LVL 13

Accepted Solution

by:
rickchild earned 500 total points
ID: 21823757
Strange about the missing age group, sounds like a measure rather than a dsimension?

If you can fix that you can also save a static copy of the pivot, which you coudl then send out to client.

Other than that all I can think of is a SSRS Matrix report through the wizard, should be quick to set up and can be exported to Excel.
0
 
LVL 5

Author Closing Comment

by:basiclife
ID: 31468816
Good answer, thanks very much! Exactly what I was looking for and I got it working after only a little messing about.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

752 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