Solved

Analysis Services: Browsing Nested Hierarchies

Posted on 2009-07-05
4
317 Views
Last Modified: 2013-11-26
I'm running the "SQL Server Analysis Services Tutorial" (see http://msdn.microsoft.com/en-us/library/ms170208.aspx), using Visual Studio 2008 against the AdventureWorks database in SQL Server 2008. I have two sets of hierarchies I've defined: one for the customer and one for Calendar Time. The customer hierarchies show where the customer lives and is shown in the following levels: Country Region, State Province, City; whereas the Time hierarchy has these levels: Year, Semester, Quarter, Month, Date.
 
When I view the browser for the Customer Hierarchy, I see in the Hierarchy dropdown menu, in addition to the field names, the name of the hierarchy as a selectable item. When I choose this, I see a very nice tree structure by Country Region ("Australia", "Canada", "France", etc.) followed by the State Province within each Country Region (Within Australia: "New South Wales", "Queensland", "South Australia", etc.), followed by the Cities within each State Province (within New South Wales: "Coff's Harbor", "Darlinghurst", "Goulburn", etc.).
 
For some reason, however, when I view the "Time" hierarchy, I do not see the entire hierarchy listed in the Hierarchy dropdown menu, just the individual field names. When I choose a field name, I see only an alphabetical list of the contents of that one field (Month: "April", "August", "December", etc.).
 
One dimension allows me to see a nested view of the entire hierarchy while the other allows me to see the contents of only one individual field at a time. I am clearly missing whatever it is that permits or denies me the option of selecting a full hierarchal view.
 
Your assistance is most appreciated. Thank you, ~Peter Ferber
0
Comment
Question by:PeterFrb
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
rob_farley earned 500 total points
ID: 24820762
I think that tutorial starts off empty with the plan being for you to set up the dimension properties there.

For example, I'd be looking to create a user-defined hierarchy, which starts on the Year, and then drills into the others. But as well as that, I'd be looking to set the key columns for the month attribute to be the year + monthnumber, and the name column to be the month name. Set it to be ordered by the key (rather than the name), and a bunch of other stuff...

Make sense?

Rob

0
 

Author Closing Comment

by:PeterFrb
ID: 31600028
Yes!
0
 

Author Comment

by:PeterFrb
ID: 24882177
It does now.  I just went through the tutorial and discovered how to perform this piece, which was keeping me from seeing a full compliment of values.  That's been an impediment to me for a long time, and I'm glad to finally understand how this works.
0
 
LVL 15

Expert Comment

by:rob_farley
ID: 24883937
Terrific!
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql 2016 data tools breakdown.. 1 28
What is newest platform to convert a massive Windows Forms program to? 7 52
ASP.NET Built-In Report Creator / Viewer 5 25
sql query 5 44
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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