Solved

Analysis Services: Browsing Nested Hierarchies

Posted on 2009-07-05
4
314 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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