SQL Server Analysis Services Multidimensional Modeling

Perspectives

A perspective is a subset of a cube that presents a specific view of the cube's data to business users. Perspectives simplify cube analysis by providing users with focused, task-oriented views that are easier to navigate and understand than the entire cube. They can hide unnecessary objects (tables, columns, measures, hierarchies) and expose only those relevant to a particular business process or user role.

Benefits of Using Perspectives

Creating and Managing Perspectives

Perspectives are created and managed using SQL Server Data Tools (SSDT) or SQL Server Management Studio (SSMS). You define which objects (tables, columns, measures, hierarchies, attributes) are visible within each perspective.

Key Objects in a Perspective

Example Scenario

Consider a large retail cube with data for sales, inventory, and marketing. Users in the sales department may only need access to sales figures and product dimensions, while marketing users might focus on campaign performance and customer demographics. Perspectives allow you to create a "Sales View" and a "Marketing View" of the same underlying cube.

Creating a Sales Perspective (Conceptual Steps):

  1. Open your Analysis Services project in SSDT.
  2. Navigate to the Perspectives folder in Solution Explorer.
  3. Create a new perspective, for example, "Sales Perspective".
  4. In the perspective designer, select the cube(s) to include.
  5. For each selected cube, choose which dimensions, hierarchies, and measures to make visible. You might hide the inventory measures and dimensions irrelevant to sales.
  6. Save and deploy the changes.

Technical Considerations

When designing perspectives, consider the following:

Note: Perspectives do not physically divide the data; they provide logical views. All data remains available in the underlying cube, but only the objects marked as visible in a perspective are exposed to the user querying that perspective.
Tip: For complex cubes, consider creating multiple perspectives, each tailored to a specific business function or user role, to significantly improve usability and reduce training overhead.

By effectively leveraging perspectives, you can transform complex multidimensional models into user-friendly interfaces, empowering business users to derive insights more efficiently.