Dimension Attributes: Introduction and Overview, Part III - Page 2

May 15, 2008

Procedure: Examine Further Attribute Properties in Analysis Services 2005

Having continued our examination of the properties that define and support a representative attribute in Dimension Attributes: Introduction and Overview, Part II, we focused upon the Basic group of attribute properties within our practice session. In the practice procedures that follow, we will examine the properties that are classified within the Misc group of the same attribute with which we worked in Part I & Part II, namely Geography Key, one of the attributes belonging to the Geography dimension.

We will conduct our practice sessions within the SQL Server Business Intelligence Development Studio, from which we will perform our examination of attribute properties within our Analysis Services database, ANSYS065_Basic AS DB. In Dimension Attributes: Introduction and Overview, Part I, we noted that to access the properties settings for attributes within a representative dimension, we needed to open that dimension within the Dimension Designer first. (Recall that, because database dimensions, and not cube dimensions, contain attributes, we access properties supporting dimension attributes via the Dimension Designer, and not the Cube Designer.)

1.  Within the Solution Explorer, right-click the Geography dimension (expand the Dimensions folder as necessary).

2.  Click Open on the context menu that appears, as depicted in Illustration 3.


Illustration 3: Opening the Dimension via the Dimension Designer ...

The tabs of the Dimension Designer open.

3.  Click the Dimension Structure tab, if we have not already arrived there by default.

We noted in Part I that five attributes appear within the Attributes pane of the Dimension Structure tab. The attributes belonging to the Geography dimension appear as shown in Illustration 4.


Illustration 4: The Member Attributes, Geography Dimension

We will continue our examination of the properties associated with attributes by re-entering the Geography Key attribute, as before.

Overview of the Attribute Properties

As we noted in previous articles of this subseries, Analysis Services exposes many properties that determine how dimensions and dimension attributes function. We can review the properties for our selected attribute, Geography Key, within our sample UDM, by taking the following steps.

1.  Within the Attributes pane of the Dimension Structure tab, right-click the Geography Key attribute.

2.  Click Properties on the context menu that appears, as depicted in Illustration 5.


Illustration 5: Select Properties from the Context Menu ...

The Properties pane appears for the Geography Key attribute. (The Properties pane likely appeared when we selected the Geography Key attribute within the Dimensions pane, by default, below the Solution Explorer. The design environment can, of course, be customized in many ways to accommodate our local development needs.)

We can, at this stage, see the thirty DimensionAttribute properties for the Geography Key attribute within the Properties pane. We examined the first eleven properties, the members of the Advanced properties group, in Dimension Attributes: Introduction and Overview, Part I. We noted that these properties include the following:

  • AttributeHierarchyDisplayFolder
  • AttributeHierarchyEnabled
  • AttributeHierarchyOptimizedState
  • AttributeHierarchyVisible
  • DefaultMember
  • DiscretizationBucketCount
  • DiscretizationMethod
  • EstimatedCount
  • IsAggregatable
  • OrderBy
  • OrderByAttribute

The five Basic properties (which we examined in Part II), appearing underneath the Advanced properties group, include the following:

  • Description
  • ID
  • Name
  • Type
  • Usage

The Misc group comes next, (we examined them in this article), and includes the following four properties:

  • AttributeHierarchyOrdered
  • GroupingBehavior
  • InstanceSelection
  • MemberNamesUnique

Beneath the Misc group in the Properties pane lies the Parent-Child group, which includes the following five properties:

  • MembersWithData
  • MembersWithDataCaption
  • NamingTemplate
  • RootMemberIf
  • UnaryOperatorColumn

Finally, the five Source properties, appearing underneath the Parent-Child properties group, include the following:

  • CustomRollupColumn
  • CustomRollupPropertiesColumn
  • KeyColumns
  • NameColumn
  • ValueColumn

The Properties pane for the Geography Key attribute, with the Misc properties group (which we will examine in the practice session that follows) expanded, appears as shown in Illustration 6.


Illustration 6: The Properties Pane for the Geography Key Attribute (Misc Properties Expanded)

Having completed our review of the Basic attribute properties in Part II, let’s examine the next attribute properties group that appears for Geography Key.

Examine Attribute Properties: Misc Properties

Let’s take a look at the four available Misc properties for our chosen attribute example. We will again discuss the purpose of each property, examining or discussing, in most cases, possible settings with which we can come into contact within the context of the respective property.

Misc Property: AttributeHierarchyOrdered

One of several attribute properties that define and control the behavior of the attribute hierarchy, the AttributeHierarchyOrdered property setting specifies whether the members of the attribute hierarchy are ordered. The setting options are, unsurprisingly, True or False (with a default of True). While it might seem intuitive to order members most of the time, we can use this setting to conserve processing power in certain cases: if we know in advance that the associated attribute hierarchy will not be used for querying (or it is otherwise enabled, but not often used), processing time can be saved by changing this property value to False.

Misc Property: GroupingBehavior

The value we select for the GroupingBehavior property can be used to provide a “hint,” or indicator, to a client application.

1.  Click the downward arrow selector button that appears to the immediate right of the GroupingBehavior property label button, to expose the two options for selection, as depicted in Illustration 7.


Illustration 7: GroupingBehavior Property Value Selection Options

The two selection options, EncourageGrouping (the default) and DiscourageGrouping appear. As we have noted, the setting is relevant only from the perspective of a targeted client application that is designed to take advantage of the setting in the first place.

Misc Property: InstanceSelection

The value we supply to InstanceSelection is similar to that which we provide to the GroupingBehavior property, in that it can be used to provide a “hint,” or indicator, to a client application. In short, the value selected here specifies the recommended means by which a client user interface should allow selection of a member. That is, the selected setting (there are five options) provides direction to the targeted client application(s) about how they should present a list of items to users, based largely upon the expected number of items within the list involved.

2.  Click the downward arrow selector button that appears to the immediate right of the InstanceSelection property label button, to expose the five options for selection, as shown in Illustration 8.


Illustration 8: InstanceSelection Property Value Selection Options

The five selection options appear as follows:

  • None: (Default) InstanceSelection not enabled / applicable.
  • DropDown: Appropriate for situations where the number of items is small enough to display within a dropdown list.
  • List: Appropriate for situations where the number of items is too large for a dropdown list, but not large enough to require filtering.
  • Filtered List: Most useful in scenarios where the number of items is large enough to require users to filter the items to be displayed.
  • Mandatory Filter: Appropriate for situations where the number of items is so large that the display must always be filtered.

Misc Property: MemberNamesUnique

The MemberNamesUnique property setting specifies whether member names in the attribute hierarchy must be unique. The setting options are True or False (with a default of False). The setting affects how member unique names are assigned.

Having completed our review of the members of the Misc properties group, we will conclude this part of our examination of attribute properties. We will extend our introductory examination of dimension attributes, specifically continuing our discussion with the Parent-Child and Source groups of properties, within subsequent parts of this article.

NOTE: Please consider saving the project we have created to this point for use in subsequent related articles of this subseries. Doing so will allow us to avoid the need to repeat the preparation process we have undertaken, initially, to provide a practice environment.

3.  Select File -> Save All to save our work, up to this point, within the originally chosen location, where it can be easily accessed for our activities within subsequent articles of this subseries.

4.  Select File -> Exit to leave the design environment, when ready, and to close the Business Intelligence Development Studio.

Conclusion

In this, the third part of a multi-part article introducing dimension attributes, we continued our current subseries focusing upon dimensional model components, with an objective of discussing the associated concepts, and of providing hands-on exposure to the properties supporting each. We reviewed our initial introduction to the dimensional model and summarized its role in meeting the primary objectives of business intelligence. Next, we provided a brief review of dimension attributes in general.

We overviewed many of the general characteristics and purposes of attributes, including their names, and the names of the groups within which each is classified. We then continued our focus upon the properties underlying them, based upon the examination of a representative attribute within our sample cube. In this article, we extended our discussion beyond the Advanced group of properties, which we began in Part I, and the Basic group of properties, with which we continued in Part II and examined the attribute properties belonging to the Misc group, including what they define and support, and how we can manage them. We will continue our examination of attribute properties, this time for those that constitute the membership of the Parent-Child properties group, in the next part of this article.

» See All Articles by Columnist William E. Pearson, III

Discuss this article in the MSSQL Server 2000 Analysis Services and MDX Topics Forum.

Introduction to MSSQL Server Analysis Services Series
Introduction to Security in Analysis Services
Cube Storage: Planning Partitions from a SQL Server Management Studio Perspective
Cube Storage: Planning Partitions (Business Intelligence Development Studio Perspective)
Cube Storage: Introduction to Partitions
Introduction to Cube Storage
Attribute Discretization: Customize Grouping Names
Attribute Discretization: Using the "Clusters" Method
Attribute Discretization: Using the "Equal Areas" Method
Attribute Discretization: Using the Automatic Method
Introduction to Attribute Discretization
More Exposure to Settings and Properties in Analysis Services Attribute Relationships
Attribute Relationships: Settings and Properties
Introduction to Attribute Relationships in MSSQL Server Analysis Services
Attribute Member Values in Analysis Services
MSSQL Analysis Services - Attribute Member Names
Attribute Member Keys - Pt II: Composite Keys
Attribute Member Keys - Pt 1: Introduction and Simple Keys
Dimension Attributes: Introduction and Overview, Part V
Dimension Attributes: Introduction and Overview, Part IV
Dimension Attributes: Introduction and Overview, Part III
Dimension Attributes: Introduction and Overview, Part II
Dimension Attributes: Introduction and Overview, Part I
Dimensional Model Components: Dimensions Part II
Dimensional Model Components: Dimensions Part I
Manage Unknown Members in Analysis Services 2005, Part II
Manage Unknown Members in Analysis Services 2005, Part I
Alternatively Sorting Attribute Members in Analysis Services 2005
Introduction to Linked Objects in Analysis Services 2005
Distinct Counts in Analysis Services 2005
Positing the Intelligence: Conditional Formatting in the Analysis Services Layer
Administration and Optimization: SQL Server Profiler for Analysis Services Queries
Mastering Enterprise BI: Time Intelligence Pt. II
Mastering Enterprise BI: Time Intelligence Pt. I
Design and Documentation: Introducing the Visio 2007 PivotDiagram
Actions in Analysis Services 2005: The URL Action
Actions in Analysis Services 2005: The Drillthrough Action
Mastering Enterprise BI: Introducing Actions in Analysis Services 2005
Mastering Enterprise BI: Introduction to Translations
Mastering Enterprise BI: Introduction to Perspectives
Introduction to the Analysis Services 2005 Query Log
Mastering Enterprise BI: Working with Measure Groups
Mastering Enterprise BI: Introduction to Key Performance Indicators
Mastering Enterprise BI: Extend the Data Source with Named Calculations, Pt. II
Mastering Enterprise BI: Extend the Data Source with Named Calculations, Pt. I
Process Analysis Services Objects with Integration Services
Usage-Based Optimization in Analysis Services 2005
Introduction to MSSQL Server Analysis Services: Named Sets Revisited
Introduction to MSSQL Server Analysis Services: Migrating an Analysis Services 2000 Database to Analysis Services 2005
Introduction to MSSQL Server Analysis Services: Introducing Data Source Views
Introduction to MSSQL Server Analysis Services: Reporting Options for Analysis Services Cubes: MS Excel 2003 and More ...
Introduction to MSSQL Server Analysis Services: Mastering Enterprise BI: Create Aging "Buckets" in a Cube
Introduction to MSSQL Server Analysis Services: Mastering Enterprise BI: Relative Time Periods in an Analysis Services Cube, Part II
Introduction to MSSQL Server Analysis Services: Mastering Enterprise BI: Relative Time Periods in an Analysis Services Cube
Introduction to MSSQL Server Analysis Services: Process Analysis Services Cubes with DTS
Introduction to MSSQL Server Analysis Services: Presentation Nuances: CrossTab View - Same Dimension
Introduction to MSSQL Server Analysis Services: Point-and-Click Cube Schema Simplification
Introduction to MSSQL Server 2000 Analysis Services: Manage Distinct Count with a Virtual Cube
Introduction to MSSQL Server 2000 Analysis Services: Distinct Count Basics: Two Perspectives
Introduction to MSSQL Server 2000 Analysis Services: Semi-Additive Measures and Periodic Balances
Introduction to MSSQL Server 2000 Analysis Services: Performing Incremental Cube Updates - An Introduction
Introduction to MSSQL Server 2000 Analysis Services: Partitioning a Cube in Analysis Services - An Introduction
Introduction to MSSQL Server 2000 Analysis Services: Basic Storage Design
Introduction to MSSQL Server 2000 Analysis Services: Derived Measures vs. Calculated Measures
Introduction to MSSQL Server 2000 Analysis Services: Creating a Dynamic Default Member
Introduction to MSSQL Server 2000 Analysis Services: Another Approach to Local Cube Design and Creation
Introduction to MSSQL Server 2000 Analysis Services: Introduction to Local Cubes
Introduction to MSSQL Server 2000 Analysis Services: Actions in Virtual Cubes
Introduction to MSSQL Server 2000 Analysis Services: Putting Actions to Work in Regular Cubes
Introduction to MSSQL Server 2000 Analysis Services: Reporting Options for Analysis Services Cubes: ProClarity Part II
Introduction to MSSQL Server 2000 Analysis Services: Reporting Options for Analysis Services Cubes: ProClarity Professional, Part I
Introduction to MSSQL Server 2000 Analysis Services: Using Calculated Cells in Analysis Services , Part II
Introduction to MSSQL Server 2000 Analysis Services: Using Calculated Cells in Analysis Services, Part I
Introduction to MSSQL Server 2000 Analysis Services: MSAS Administration and Optimization: Toward More Sophisticated Analysis
Introduction to MSSQL Server 2000 Analysis Services: MSAS Administration and Optimization: Simple Cube Usage Analysis
Introduction to MSSQL Server 2000 Analysis Services: Build a Web Site Traffic Analysis Cube: Part II
Build a Web Site Traffic Analysis Cube: Part I
Reporting Options for Analysis Services Cubes: Cognos PowerPlay
Reporting Options for Analysis Services Cubes: MS FrontPage 2002
Reporting Options for Analysis Services Cubes: MS Excel 2002
Introduction to MSSQL Server 2000 Analysis Services: Drilling Through to Details: From Two Perspectives
Introduction to MSSQL Server 2000 Analysis Services: Custom Cubes: Financial Reporting - Part II
Introduction to MSSQL Server 2000 Analysis Services Custom Cubes: Financial Reporting (Part I)
Introduction to SQL Server 2000 Analysis Services: Exploring Virtual Cubes
Introduction to SQL Server 2000 Analysis Services: Working with the Cube Editor
Introduction to SQL Server 2000 Analysis Services: Parent-Child Dimensions
Introduction to SQL Server 2000 Analysis Services: Handling Time Dimensions
Introduction to SQL Server 2000 Analysis Services: Working with Dimensions
Introduction to SQL Server 2000 Analysis Services: Creating Our First Cube








The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers