Introduction to MSSQL Server Analysis Services: Mastering Enterprise BI: Create Aging "Buckets" in a Cube - Page 8

August 8, 2005




Verification

Process the Cube and Review the Aging Capabilities within the Cube Browser



Let's process the cube to update it, before reviewing the new aging structures in action.



1.  Right-click the Sales cube, once again.

2.  Select Edit, as before, to open the Cube Editor.

3.  From within the Cube Editor, right-click the Sales cube atop the tree.

4.  Select Process Cube ... from the context menu that appears, as shown in Illustration 36.




Illustration 36: Select Tools --> Process Cube ... from the Main Menu



5.  Click Yes (if prompted) to save the cube.

6.  Click No when prompted to design aggregations, in the next message box that appears as shown in Illustration 37.


Illustration 37: Forgo the Design of Aggregations by Clicking No ...

The Process a Cube dialog appears next.

7.  Click OK to begin Full processing of the Sales cube, as depicted in Illustration 38.


Illustration 38: Click OK to Begin Full Processing

Processing begins immediately, and the Process viewer appears, displaying the various logged events with which most of us have come to be familiar. Processing completes, and the viewer presents the green Processing completed successfully message, as shown in Illustration 39.


Illustration 39: Processing Completes Successfully as Indicated on the Process Viewer

8.  Click Close to dismiss the viewer.

We will next review our new Aged Period dimension in action.

9.  Click the Data tab within Analysis Manager.

The Cube Browser – Data view appears.

10.  Within the Data view, ensure that the new Aged Period dimension is in place as the row axis, by dragging it there to replace the existing dimension, as necessary.

11.  Within the Data view, ensure that the Measures dimension is in place as the column axis, dragging it there to replace the existing dimension, if required.

The Data view, with the aforementioned dimensions in place within the respective axes, appears as partially depicted in Illustration 40.


Illustration 40: Data View, with Initial Axes in Place (Partial View) ...

We see the aggregations within the aging buckets that we have defined.

12.  Double-click the "< 30" label to explode to the transaction date level, as partially shown in Illustration 41.


Illustration 41: Perform a Drilldown to Ascertain Proper Date Inclusion (Partial View)

We can readily see that the "<30" bucket appears to contain transactions that were "under thirty days old" at year end for 1997. (Alternate drill down on other buckets will also satisfy us in this same conclusion).

13.  Right-click the Store Sales cell for a given date (in my example, I clicked Store Sales for 1997-12-11).

14.  Select Drill Through ... from the context menu that appears, as depicted in Illustration 42.


Illustration 42: Perform a Drill Through on Store Sales for a Given Date ...

The Drillthrough Data viewer appears as partially shown in Illustration 43.


Illustration 43: Partial View of the Drillthrough Data ...

We can see at the transactional level, also, that the proper dates appear to be included in the transaction date (and ultimately the aging bucket) rollups.

15.  Close the Drillthrough Data viewer when finished.

16.  Experiment with drilldown and drillthrough until satisfied that our results are as expected.

We will return to examine the use of our aging buckets from within a reporting environment in a subsequent article in my MSSQL Server Reporting Services series at Database Journal. As I mentioned in the introduction, there are other ways to approach aging as well (some more optimal than others); this is only an introduction to one approach that can be managed largely from within the Analysis Services layer of an integrated business intelligence solution. (We will examine the use of an RDBMS view to support aging within a cube in a prospective article in this series).

17.  Select File --> Exit to close the Cube Editor.

18.  Select File --> Exit again, to close Analysis Services.

Conclusion

In this article, we introduced a general business need that is familiar to most of us, the aging of values. We then narrowed our discussion to a pervasive example of aging, the aging of accounts receivable. We touched upon the principles of aging customer accounts in preparation for our examination of a solution that works within the OLAP component of the integrated Microsoft BI solution, and that replicates the functionality provided in many accounting and financial applications, as well as many "pre-fab" reporting solutions on the market.

After discussing aging concepts, we prepared for our practice exercises by creating a clone of the FoodMart Analysis Services database. Our intent was to be able to use an existing example cube, Sales, as well as existing (and one additional) shared dimensions as a platform for aging customer transactions, and simulating accounts receivable. We created an Aged Periods shared dimension within the sample cube to provide "buckets" for date-based transactional data, inducted our new shared dimension into our Sales cube, and, using both drilldown and drillthrough capabilities, verified the adequacy of the processed cube in meeting the needs of a hypothetical group of information consumers.

» 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