Defining DeepSee Models
Introduction
[Back] [Next]
   
Server:docs1
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

This chapter introduces DeepSee models.

Be sure to consult InterSystems Supported Platforms for information on system requirements for DeepSee.
Purpose of DeepSee
InterSystems DeepSee enables you to embed business intelligence (BI) into your applications so that your users can ask and answer sophisticated questions of their data. Your application can include dashboards like the following example:
The widgets on a dashboard are driven by pivot tables and KPIs (key performance indicators). For a pivot table, a user can display a listing, which displays source values.
Pivot tables, KPIs, and listings are queries and are executed at runtime:
Introduction to DeepSee Models
A model includes some or all of the following elements:
You use these elements to create dashboards as follows:
The chapter Basic Concepts provides an overview of cubes and subject areas. A model can contain many additional elements. See the chapter Summary of Model Options for a complete comparison of the options.
Introduction to the Model Development Process
The model development process typically is as follows:
  1. Create, compile, and build a basic cube with only a few items.
  2. Use the Analyzer or the DeepSee shell to examine the results and to identify changes to make.
    For information on the Analyzer, see Using the DeepSee Analyzer.
    For information on the shell, see Getting Started with DeepSee.
  3. Repeat the preceding steps as necessary.
  4. When the cube is finalized or nearly finalized, define subject areas based on the cube.
Note that you might need multiple cubes.
Introduction to the DeepSee Architect
You use the Architect to create cubes and subject areas.
To access the Architect, do the following:
  1. Click the InterSystems Launcher and then click Management Portal.
    Depending on your security, you may be prompted to log in with a Caché username and password.
  2. Switch to the appropriate namespace as follows:
    1. Click Switch.
    2. Click the namespace.
    3. Click OK.
  3. Click DeepSee and then click Architect.
    When you first display the Architect, you see the following:
  4. Click Open, click Cubes, click the name of a cube, and then click OK.
    Now the system displays something like the following:
The top area contains navigation links and buttons to perform different tasks.
Below that, the page consists of the following areas, when the Architect is displaying a cube.
Class Viewer
The left area is the Class Viewer, and it shows the properties in the base class used by the cube; this area is not shown for a subject area. For example:
You can resize this area. To do so, drag the vertical divider on the right edge of this area.
The following rules control the display of a class in the Architect:
All core cube elements are based either on a source property or on a source expression (which is a Caché ObjectScript expression) that can use properties of any class.
Important:
The Architect provides a useful view of the class properties, which makes it very easy to create DeepSee elements based on those properties. It is important, however, to know that although this view provides a convenient way to access some properties, you can also use a source expression to access any data. These source expressions are evaluated when the cube is built and thus do not affect your runtime performance.
Model Viewer
The center area is the Model Viewer, and it shows the current contents of the cube. For example:
You can resize this area. To do so, drag the vertical divider on the left edge of this area.
The links at the top include Add Element, which you can use to add measures, dimensions, and other items to the cube. In the area below the links, you can select items for editing, including the cube itself in the first row. You can also delete an item by clicking the X button in the row for that item.
Details Area
The right area is the Details Area, and it shows details for the element that is currently selected in Model Viewer (if any), or for the cube (if nothing is selected).
For example:
To hide this area, click the Hide Details button . If you do so, the Model Viewer is widened.
Then, to display this area again, click the Show Details button .
In this area, you primarily work on the Details tab. The Tools tab provides quick access to other tools, not documented this book. This tab looks like this: