Solved

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

Posted on 2008-06-19
6
1,251 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
  • 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Hello, In my precious Article  (http://www.experts-exchange.com/Database/Reporting/A_15280-Create-Project-in-Microstrategy-Part-I.html)we saw the Configuration part for Microstrategy which included Metadata Creation and DataSource Preparation as …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now