Solved

Analysis Services: Browsing Nested Hierarchies

Posted on 2009-07-05
4
318 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
[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
  • 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

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 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