Free Newsletters:
DatabaseDaily  
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed


follow us on Twitter





Brocade Doubles Down on 16 Gbps Fibre Channel

Microsoft Wants iOS Apps to Run on WP7

Avaya Debuts New Virtual Services Switch
Database Journal |DBA Support |SQLCourse |SQLCourse2







Technical Specialist – Pre-sales (MA)
Next Step Systems
US-MA-Littleton

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

October 7, 2002

Introduction to SQL Server 2000 Analysis Services: Parent-Child Dimensions - Page 9

By William Pearson


Enabling Values at a Parent Level

Standard dimensions provide for values in the fact table "tying" or "belonging" to leaf-level members. Here, again, the parent-child dimension requires different treatment. Values must "roll up" to the hierarchical parent levels of the respective leaf-level members to meet many reporting and analysis requirements. Let's investigate the mechanics behind making this happen.

14. Select the HumanResource dimension within the cube tree again.
15. Click the Advanced tab in the Properties window beneath the tree.
16. Click the Members with Data property.
17. Select Non-Leaf Data Visible from the dropdown value selection list.

The relevant portion of the Advanced tab appears as shown below:



Illustration 31: Members with Data Property: Non-Leaf Data Visible


The property that we have modified is an option that is exclusive to the parent-child dimension. Our selection, Non-Leaf Data Visible, generates a surrogate member for each parent hierarchical level. This allows for the presentation of data in the context of the new members and the parents that they represent.

18. Press Enter.

The Preview pane appears similar to the one partially illustrated below:



Illustration 32: The Preview Pane (Partial View) Shows Results of Our Modifications


Note the appearance of the new members; by default, they are indicated by parentheses. Changing the template for how the member names are presented is straightforward.

19. Select the HumanResource dimension within the cube tree, once again.
20. Click the Advanced tab in the Properties window beneath the tree.
21. Click the Data Member Caption Template property.
22. Remove the contents of the property value field, leaving only the asterisk (*). Type "- Individual" into the field.

The relevant portion of the Advanced tab appears as shown below:



Illustration 33: The Data Member Caption Template Property with Modification



23. Double-click the Sr. VP level heading to collapse the hierarchy somewhat and to free up real estate.
24. Press Enter.

The Preview pane appears similar to the sample illustrated below:



Illustration 34: The Preview Pane with Data Member Caption Template Property Modifications


Page 10: Enabling Values Continued


See All Articles by Columnist William E. Pearson, III


Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 



Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Script Component: Working with BLOB 0010 4 January 27th, 03:03 PM
Will an MS SQL db table trigger affect the value returned by scope_identity? wreade 2 December 19th, 04:48 PM
BULK UPDATE error benedec 1 December 14th, 08:39 AM
Toggling problem in Matrix report ssrs 2008 dev_ritesh 0 December 2nd, 02:17 PM