Solved

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

Posted on 2008-06-19
6
1,286 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

626 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