Dimension Attributes: Introduction and Overview, Part V - Page 4July 7, 2008 13. Click the downward arrow selector button that appears to the immediate right of the NameColumn label, to expose the three basic options for selection, as shown in Illustration 15.
The three selection options that are available are None, and New, and a preselected column, such as the one we see in our example attribute, DimGeography.GeographyKey (simply a notation of the Table / Column). 14. Select the New option within the selector. The Object Binding dialog appears, once again. As we mentioned earlier, we use the Object Binding dialog box in Business Intelligence Development Studio to define bindings between the property of an Analysis Services object and a table or column in a data source view. As we have seen, selecting (new) from the drop-down list for this and several other property values (such as the CustomRollupColumn, CustomRollupPropertiesColumn and UnaryOperatorColumn, as we saw within an earlier segment of this multi-part article) calls the Object Binding dialog box. As we have noted, we can use the Object Binding dialog to select Binding type, Source table and Source column as appropriate to our needs, and then save our changes. Because we will not be making changes to these property settings in our practice example, we will simply dismiss the dialog via the Cancel button, as we have done earlier. 15. Click the Cancel button at the bottom of the Object Binding dialog box to dismiss the dialog. We are returned to the Properties pane, where we will examine the settings that we can see within the expanded NameColumn property. Source Property: NameColumn Source The value we select for the Source property specifies, in a manner similar to the KeyColumns property we examined in Dimension Attributes: Introduction and Overview, Part IV, a column or columns within the underlying data source. The KeyColumns property specifies the column(s) containing the member key(s). 16. Click the ellipses ( ... ) button that appears to the immediate right of the Source property label, as depicted in Illustration 16.
The Object Binding dialog again appears, where we can, as we are now probably well aware, select Binding type, Source table and Source column as appropriate to our needs, and then save our changes. Because we will not be making changes to these property settings in our practice example, we will simply dismiss the dialog via the Cancel button, once again. 17. Click the Cancel button at the bottom of the Object Binding dialog box to dismiss the dialog, as we have done earlier. Source Property: NameColumn - DataType We use the DataType property to specify the data type used by Analysis Services. 18. Click the downward arrow selector button that appears to the immediate right of the DataType label, to expose many options for selection, as partially shown in Illustration 17.
The fifteen standard selection options that are available (as of this writing) include the following:
Having the DataType property setting available at the Analysis Services level affords us the advantage of being able to specify a data type here that can differ from the data type of the corresponding column in the underlying data source. Source Property: NameColumn DataSize The value we select for the DataSize property specifies the data size used by Analysis Services. Having the DataSize property setting available at the Analysis Services level affords us the advantage of being able to specify a data size here that can differ from the data size of the corresponding column in the underlying data source. Source Property: NameColumn NullProcessing The NullProcessing property dictates the processing of null values. 19. Click the downward arrow selector button that appears to the immediate right of the NullProcessing label, to expose our options for selection, as depicted in Illustration 18.
The five selection options, each of which dictates what action the Analysis Server should take when it encounters a NULL value, include the following:
NOTE: For more information about handling Unknown Members in Analysis Services, see my articles Manage Unknown Members in Analysis Services 2005, Part I and Manage Unknown Members in Analysis Services 2005, Part II. Both articles are members of my Introduction to MSSQL Server Analysis Services series at Database Journal. Source Property: NameColumn Collation We use the Collation property to specify the collation applied by Analysis Services. The Collation string consists of the locale identifier (LCID) and the comparison flag, separated by an underscore character. (For example, Latin1_General_CI_AS is an acceptable string for the Collation property value). The value that we provide sets the character set and case sensitivity for the column under consideration. When collation is not set at the column level it inherits the setting from the parent object, usually all the way up to the default settings specified at the Analysis Server level (typically first done when Analysis Services is installed). Source Property: NameColumn - Format The Format property affords us a means of specifying the format string applied by Analysis Services. Source Property: NameColumn InvalidXmlCharacters The InvalidXmlCharacters property specifies the treatment of any characters that exist in the data that are invalid in XML. 20. Click the downward arrow selector button that appears to the immediate right of the InvalidXmlCharacters property label, to expose the options for selection, as shown in Illustration 19.
The three selection options, each of which dictates what action the Analysis Server should take when it encounters an invalid XML character(s), include the following:
To enhance performance in general, Analysis Services does not check for invalid XML characters unless we set the InvalidXmlCharacters property. For this reason, if such characters exist, the response the Analysis Server sends to the client may contain invalid XML. Source Property: NameColumn MimeType The MimeType property value reflects the Multipurpose Internet Mail Extensions (MIME) type, if applicable, of the data represented by the parent DataItem element. The default value is None (blank), and the value data type is a string. Source Property: NameColumn Trimming The value that we supply for Trimming specifies how data from the data source is trimmed. 21. Click the downward arrow selector button that appears to the immediate right of the Trimming property label, to expose the options for selection, as depicted in Illustration 20.
The four selection options, each of which dictates what action the Analysis Server should take when specifying the details for the trimming of strings, include the following:
Having examined the settings that we can see within the expanded NameColumn property, we are ready to overview the last member of the Source property group, ValueColumn. Source Property: ValueColumn The ValueColumn property allows us to specify the column within the underlying data source from which Analysis Services derives the value of the attribute. ValueColumn is similar to the NameColumn property we discussed earlier, in that it offers a downward arrow selector button that appears to the immediate right of the property label. We can use this selector to choose either the None or the New option (a third option representing a preselected column will exist if a column has already been selected not the case in our current example, but possibly different elsewhere). If we select the New option within the selector, the Object Binding dialog appears, just as it does in our examination of the NameColumn property above. We can use this dialog to define bindings between the property of an Analysis Services object and a table or column in a data source view, via the same Binding type, Source table and Source column settings that we used for NameColumn and other attribute properties. If we specified a value in the NameColumn property, then the same value is used as the default in ValueColumn. If we did not specify a value in the NameColumn property, and the KeyColumns collection of the attribute contains a single KeyColumn element representing a key column with a string data type, the same values are used as default values for the ValueColumn element. This article concludes our examination of the dimension attributes properties groups, which we began in Dimension Attributes: Introduction and Overview, Part I. NOTE: Please consider saving the project we have created to this point for use in subsequent related articles of this subseries, so as to avoid the need to repeat the preparation process we have undertaken, initially, to provide a practice environment. 1. 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. 2. Select File -> Exit to leave the design environment, when ready, and to close the Business Intelligence Development Studio. ConclusionIn this, the final 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, Basic, Misc, and Parent-Child attribute properties, which we covered in Part II, Part III, and Part IV, and examined the attribute properties belonging to the Source group, including what they define and support, and how we can manage them. » 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 |