Solved

Analysis Services: Browsing Nested Hierarchies

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

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 14

Expert Comment

by:rob_farley
ID: 24883937
Terrific!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 …
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

757 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

21 Experts available now in Live!

Get 1:1 Help Now