Basic Reporting
Basic Reporting
Guide
Version: 10.9
10.9, September 2017
Copyright © 2017 by MicroStrategy Incorporated. All rights reserved.
Trademark Information
The following are either trademarks or registered trademarks of MicroStrategy Incorporated or its affiliates in the United States and certain other countries:
MicroStrategy, MicroStrategy 10, MicroStrategy 10 Secure Enterprise, MicroStrategy 9, MicroStrategy 9s, MicroStrategy Analytics, MicroStrategy Analytics Platform, MicroStrategy
Desktop, MicroStrategy Library, MicroStrategy Operations Manager, MicroStrategy Analytics Enterprise, MicroStrategy Evaluation Edition, MicroStrategy Secure Enterprise,
MicroStrategy Web, MicroStrategy Mobile, MicroStrategy Server, MicroStrategy Parallel Relational In-Memory Engine (MicroStrategy PRIME), MicroStrategy MultiSource,
MicroStrategy OLAP Services, MicroStrategy Intelligence Server, MicroStrategy Intelligence Server Universal, MicroStrategy Distribution Services, MicroStrategy Report Services,
MicroStrategy Transaction Services, MicroStrategy Visual Insight, MicroStrategy Web Reporter, MicroStrategy Web Analyst, MicroStrategy Office, MicroStrategy Data Mining Services,
MicroStrategy Narrowcast Server, MicroStrategy Health Center, MicroStrategy Analyst, MicroStrategy Developer, MicroStrategy Web Professional, MicroStrategy Architect,
MicroStrategy SDK, MicroStrategy Command Manager, MicroStrategy Enterprise Manager, MicroStrategy Object Manager, MicroStrategy Integrity Manager, MicroStrategy System
Manager, MicroStrategy Analytics App, MicroStrategy Mobile App, MicroStrategy Tech Support App, MicroStrategy Mobile App Platform, MicroStrategy Cloud, MicroStrategy R
Integration, Dossier, Usher, MicroStrategy Usher, Usher Badge, Usher Security, Usher Security Server, Usher Mobile, Usher Analytics, Usher Network Manager, Usher Professional,
MicroStrategy Services, MicroStrategy Professional Services, MicroStrategy Consulting, MicroStrategy Customer Services, MicroStrategy Education, MicroStrategy University,
MicroStrategy Managed Services, BI QuickStrike, Mobile QuickStrike, Transaction Services QuickStrike Perennial Education Pass, MicroStrategy Web Based Training (WBT),
MicroStrategy World, Best in Business Intelligence, Pixel Perfect, Global Delivery Center, Direct Connect, Enterprise Grade Security For Every Business, Build Your Own Business
Apps, Code-Free, Welcome to Ideal, The World’s Most Comprehensive Analytics Platform, The World’s Most Comprehensive Analytics Platform. Period.
Other product and company names mentioned herein may be the trademarks of their respective owners.
Specifications subject to change without notice. MicroStrategy is not responsible for errors or omissions. MicroStrategy makes no warranties or commitments concerning the availability
of future products or versions that may be planned or under development.
Patent Information
This product is patented. One or more of the following patents may apply to the product sold herein: U.S. Patent Nos. 6,154,766, 6,173,310, 6,260,050, 6,263,051, 6,269,393, 6,279,033,
6,567,796, 6,587,547, 6,606,596, 6,658,093, 6,658,432, 6,662,195, 6,671,715, 6,691,100, 6,694,316, 6,697,808, 6,704,723, 6,741,980, 6,765,997, 6,768,788, 6,772,137, 6,788,768, 6,798,867,
6,801,910, 6,820,073, 6,829,334, 6,836,537, 6,850,603, 6,859,798, 6,873,693, 6,885,734, 6,940,953, 6,964,012, 6,977,992, 6,996,568, 6,996,569, 7,003,512, 7,010,518, 7,016,480, 7,020,251,
7,039,165, 7,082,422, 7,113,993, 7,127,403, 7,174,349, 7,181,417, 7,194,457, 7,197,461, 7,228,303, 7,260,577, 7,266,181, 7,272,212, 7,302,639, 7,324,942, 7,330,847, 7,340,040, 7,356,758,
7,356,840, 7,415,438, 7,428,302, 7,430,562, 7,440,898, 7,486,780, 7,509,671, 7,516,181, 7,559,048, 7,574,376, 7,617,201, 7,725,811, 7,801,967, 7,836,178, 7,861,161, 7,861,253, 7,881,443,
7,925,616, 7,945,584, 7,970,782, 8,005,870, 8,051,168, 8,051,369, 8,094,788, 8,130,918, 8,296,287, 8,321,411, 8,452,755, 8,521,733, 8,522,192, 8,577,902, 8,606,813, 8,607,138, 8,645,313,
8,761,659, 8,775,807, 8,782,083, 8,812,490, 8,832,588, 8,943,044, 8,943,187. 8,958,537, 8,966,597, 8,983,440, 8,984,274, 8,984,288, 8,995,628, 9,027,099, 9,027,105, 9,037, 577, 9,038,152,
9,076,006, 9,086,837, 9,116,954, 9,124,630, 9,154,303, 9,154,486, 9,160,727, 9,166,986, 9,171,073, 9,172,699, 9,173,101, 9,183, 317, 9,195,814, 9,208,213, 9,208,444, 9,262,481, 9,264,415,
9,264,480, 9,269,358, 9,275,127, 9,292,571, 9,300,646, 9,311,683 9,313,206, 9,330,174, 9,338,157, 9,361,392, 9,378,386, 9,386,416, 9,391,782, 9,397,838, 9,397,980, 9,405,804, 9,413,710,
9,413,794, 9,430,629, 9,432,808, 9,438,597, 9,444,805, 9,450,942, 9,450,958, 9,454,594, 9,507,755, 9,513,770, 9,516,018, 9,529,850, 9,563,761, 9,565,175, 9,608,970, 9,640,001, 9,646,165,
9,680,908, 9,697,146, 9,697,350, 9,742,764, 9,742,781, and 9,743,235. Other patent applications are pending.
1
CONTENTS
Book Overview and Additional Resources vi
About this book vii
Resources viii
Feedback xvi
1. Getting Started with MicroStrategy Reporting 1
Starting MicroStrategy 1
Opening a report 4
Components of a report 4
Report types 6
Displaying multiple reports in a single presentation 10
OLAP Services 13
Printing a report 15
Exporting data 15
Emailing a report 16
2. Formatting a Report 19
Ideas for formatting 19
Formatting a grid report 20
Formatting a combined grid and graph report 39
Formatting a graph report 41
Formatting numeric data in a report 51
Preset formatting: Autostyles 51
3. Analyzing Data 54
Sorting data 54
Finding values 57
Summary/detail of data 59
Pivoting data 68
Specifying maximum and minimum values: Report limits 70
Calculating data 74
4. Answering Questions about Data 82
Filtering data 82
Understanding hierarchies 87
Drilling into related data 90
Controlling drilling behavior to affect report results 91
5. Answering Prompts and Refreshing Data 118
Refreshing a report 118
Answering report prompts 121
Saving and re-using prompt answers: Personal answers 122
Saving reports with prompts 123
6. Building a Quick Query for Analysis 126
Prerequisites 126
Creating a report by combining a template and a filter: Report Wizard 127
Quick report creation: Building a new report 129
7. Building Query Objects and Queries, for Designers 134
Before you begin 134
MicroStrategy objects 138
Providing business context to a report: Attributes 143
Calculating data on a report: Metrics 144
Filtering data on a report: Filters 169
Asking for user input: Prompts 206
Designing a report’s structure: Templates 249
Creating a grid report 251
Adding features for users 276
Modifying an existing report 291
Creating other types of reports 293
Designing reports that use OLAP Services 295
Building a query using alternative data access methods 297
A. Reporting Interfaces in MicroStrategy 299
MicroStrategy Developer interface 299
MicroStrategy Web interface 306
Index 315
Detailed steps for all functionality in the MicroStrategy system are available in the Online
Help.
The sample documents and images in this guide, as well as some example steps, were
created with dates that may no longer be available in the MicroStrategy Tutorial project. If you
are re-creating an example, replace the year(s) shown in this guide with the most recent year
(s) available in the software.
Analytics Enterprise
The name of MicroStrategy Desktop has been changed to MicroStrategy Developer.
MicroStrategy 10.8
You now have the option to use Aggregate from base or Subtotal from base from the Metric
Editor in MicroStrategy Developer. For more information on subtotals and aggregation, see
the Analyzing Data and Answering Questions about Data sections of this guide.
MicroStrategy 9.3
• You can determine which delivery options are available to users subscribing to a specific
report. For example, you can specify which delivery schedules can be used to subscribe
to the report, or prevent users from subscribing to the report altogether. For steps, see
Specifying the delivery options available to users subscribing to a report, page 290.
• The Report Wizard allows you to quickly and easily create a report by selecting an
existing template and filter. For steps, and definitions of templates and filters, see
Creating a report by combining a template and a filter: Report Wizard, page 127.
MicroStrategy 9.2
Any updates to this guide were minor and not directly related to MicroStrategy 9.2. For a list
of new features in MicroStrategy 9.2, see the MicroStrategy Readme for that release.
Resources
This section provides details on how to access books, online help, MicroStrategy Education
and Consulting resources, and how to contact MicroStrategy Technical Support.
Documentation
MicroStrategy provides both manuals and online help; these two information sources
provide different types of information, as described below:
• Manuals: MicroStrategy manuals provide:
Additional formats
MicroStrategy manuals are available as electronic publications, downloadable on the Apple
iBooks Store or Google Play, and can be read on your iOS or Android device respectively.
To download a book, search for the book’s title in the iBookstore or Google Play. To view a
list of manuals that are currently available, scan the following QR codes using your device’s
camera:
• For iOS devices, scan the following QR code:
For new MicroStrategy releases, it may take several days for the latest manuals to be
available on the iBookstore or Google Play.
Translations
For the most up-to-date translations of MicroStrategy documentation, refer to the
MicroStrategy Knowledge Base. Due to translation time, manuals in languages other than
English may contain information that is one or more releases behind. You can see the
version number on the title page of each manual.
Finding information
You can search all MicroStrategy books and Help for a word or phrase, with a simple
Google™ search at http://www.google.com. For example, type “MicroStrategy derived
metric” or “MicroStrategy logical table” into a Google search. As described above, books
typically describe general concepts and examples; Help typically provides detailed steps and
screen options. To limit your search to MicroStrategy books, on Google’s main page you can
click More, then select Books.
Information to create and modify MicroStrategy projects, and create the objects that
present your organization’s data, such as facts, attributes, hierarchies, transformations,
advanced schemas, and project optimization.
• Basic Reporting Guide
Steps to get started with MicroStrategy Web, and how to analyze and format data in a
report. Includes the basics for creating reports, metrics, filters, and prompts.
• Advanced Reporting Guide
Steps to create Freeform SQL reports, Query Builder reports, complex filters and
metrics, use Data Mining Services, and create custom groups, consolidations, and
complex prompts.
• Document and Dashboard Analysis Guide
Steps to execute, analyze, and format a dashboard in MicroStrategy Web.
• Document Creation Guide
Steps to create Report Services documents, add objects, and format the document and
its objects.
• Dashboards and Widgets Creation Guide
Steps to create MicroStrategy Report Services dashboards and add interactive
visualizations.
• In-memory Analytics Guide
Information to use MicroStrategy OLAP Services features, including Intelligent Cubes,
derived metrics, derived elements, dynamic aggregation, view filters, and dynamic
sourcing.
• MicroStrategy Office User Guide
Instructions to use MicroStrategy Office to work with MicroStrategy reports and
documents in Microsoft® Excel, PowerPoint, and Word, to analyze, format, and
distribute business data.
• MicroStrategy Mobile Analysis Guide
Steps to use MicroStrategy Mobile to view and analyze data, and perform other
business tasks with MicroStrategy reports and documents on a mobile device.
• MicroStrategy Mobile Design and Administration Guide
Information and instructions to install and configure MicroStrategy Mobile, as well as
steps for a designer working in MicroStrategy Developer or MicroStrategy Web to create
effective reports and documents for use with MicroStrategy Mobile.
• System Administration Guide
Steps to implement, deploy, maintain, tune, and troubleshoot a MicroStrategy business
intelligence system.
Supplemental Admin Guide
Steps for administrative tasks such as configuring VLDB properties and defining data
and metadata internationalization, and reference material for other administrative tasks.
• Functions Reference
Function syntax and formula components; instructions to use functions in metrics, filters,
attribute forms; examples of functions in business scenarios.
• MDX Cube Reporting Guide
Information to integrate MicroStrategy with MDX cube sources. You can integrate data
from MDX cube sources into your MicroStrategy projects and applications.
• MicroStrategy Operations Manager Guide
Instructions for managing, monitoring, and setting alerts for all of your MicroStrategy
systems from one console. This guide also includes instructions for setting up and using
Enterprise Manager to analyze your MicroStrategy system usage.
The Web SDK is available in the MicroStrategy Developer Library, which is part of the
MicroStrategy SDK.
Help
Each MicroStrategy product includes an integrated help system to complement the various
interfaces of the product as well as the tasks that can be accomplished using the product.
Some of the MicroStrategy help systems require a web browser to be viewed. For supported
web browsers, see the MicroStrategy Readme.
MicroStrategy provides several ways to access help:
• Help button: Use the Help button or ? (question mark) icon on most software windows to
see help for that window.
• Help menu: From the Help menu or link at the top of any screen, select MicroStrategy
Help to see the table of contents, the Search field, and the index for the help system.
• F1 key: Press F1 to see context-sensitive help that describes each option in the software
window you are currently viewing.
For MicroStrategy Web, MicroStrategy Web Administrator, and MicroStrategy Mobile Server,
pressing the F1 key opens the context-sensitive help for the web browser you are using to
access these MicroStrategy interfaces. Use the Help menu or ? (question mark) icon to
access help for these MicroStrategy interfaces.
Adobe Reader is required to view these manuals. If you do not have Adobe Reader installed
on your computer, you can download it from http://get.adobe.com/reader/.
The best place for all users to begin is with the MicroStrategy Basic Reporting Guide.
To access the installed manuals and other documentation sources, see the following
procedures:
• To access documentation resources from any location, page xiii
• To access documentation resources on Windows, page xiv
• To access documentation resources on UNIX and Linux , page xiv
1 Visit http://www.microstrategy.com/producthelp.
1 From the Windows Start menu, choose Programs (or All Programs),
MicroStrategy Documentation, then Product Manuals. A page opens in your
browser showing a list of available manuals in PDF format and other documentation
sources.
2 Click the link for the desired manual or other documentation source.
If bookmarks are not visible on the left side of a product manual, from the View menu click
Bookmarks and Page. This step varies slightly depending on your version of Adobe
Reader.
1 Within your UNIX or Linux machine, navigate to the directory where you installed
MicroStrategy. The default location is /opt/MicroStrategy, or
$HOME/MicroStrategy/install if you do not have write access to
/opt/MicroStrategy.
2 From the MicroStrategy installation directory, open the Help folder.
3 Open the Product_Manuals.htm file in a web browser. A page opens in your
browser showing a list of available manuals in PDF format and other documentation
sources.
4 Click the link for the desired manual or other documentation source.
If bookmarks are not visible on the left side of a product manual, from the View menu click
Bookmarks and Page. This step varies slightly depending on your version of Adobe
Reader.
Documentation standards
MicroStrategy online help and PDF manuals (available both online and in printed format) use
standards to help you identify certain types of content. The following table lists these
standards.
These standards may differ depending on the language of this manual; some languages have
rules that supersede the table below.
Type Indicates
bold • Button names, check boxes, options, lists, and menus that are the focus of actions
or part of a list of such GUI elements and their definitions
Example: Click Select Warehouse .
Type Indicates
Courier • Calculations
font • Code samples
• Registry keys
• Path and file names
• URLs
• Messages displayed in the screen
• Text to be entered by the user
Example: Sum(revenue)/number of months.
+ A keyboard command that calls for the use of more than one key (for example,
SHIFT+F1).
A note icon indicates helpful information for specific situations.
A warning icon alerts you to important information such as potential security risks;
these should be read before continuing.
Education
MicroStrategy Education Services provides a comprehensive curriculum and highly skilled
education consultants. Many customers and partners from over 800 different organizations
have benefited from MicroStrategy instruction.
Courses that can help you prepare for using this manual or that address some of the
information in this manual include:
• MicroStrategy Developer: Reporting Essentials
• MicroStrategy Web: Report Analysis
• MicroStrategy Web: Report Design
For a detailed description of education offerings and course curriculums, visit
http://www.microstrategy.com/Education.
Consulting
MicroStrategy Consulting Services provides proven methods for delivering leading-edge
technology solutions. Offerings include complex security architecture designs, performance
and tuning, project and testing strategies and recommendations, strategic planning, and
more. For a detailed description of consulting offerings, visit
http://www.microstrategy.com/services-support/consulting.
Technical Support
If you have questions about a specific MicroStrategy product, you should:
1. Consult the product guides, Help, and readme files. Locations to access each are
described above.
2. Consult the MicroStrategy Knowledge Base online at
https://resource.microstrategy.com/support.
A technical administrator in your organization may be able to help you resolve your
issues immediately.
Feedback
Please send any comments or suggestions about user documentation for MicroStrategy
products to:
documentationfeedback@microstrategy.com
Send suggestions for product enhancements to:
support@microstrategy.com
When you provide feedback to us, please include the name and version of the products you
are currently using. Your feedback is important to us as we prepare for future releases.
Starting MicroStrategy
Use the appropriate procedure below, depending on whether you are starting MicroStrategy
Web or MicroStrategy Developer.
1. From your computer’s Start menu, select Programs (or All Programs), then
MicroStrategy Products, and select Developer.
2. In the User Login window, type your Login ID and Password. Depending on how
your administrator set up your user account, this may be the same login and password
you use to access your computer, or it may be a MicroStrategy-specific login and
password.
3. Click OK.
MicroStrategy Developer opens, displaying the Folder List on the left, where the
MicroStrategy Analytics Module project source appears, as well as any project
sources that your organization may have created. The MicroStrategy Analytics
Module project source includes the MicroStrategy Tutorial project.
4. To explore this sample project data, in the Folder List expand MicroStrategy
Tutorial, then expand Public Objects, then expand Reports. Explore the folders
and double-click any report or dashboard to run it and see the sample data results.
Security privileges
The data you can view and work with may be controlled by privileges that an administrator
has assigned to you. Security settings can limit your data access to specific projects, certain
reports within a project, the ability to use specific objects on reports, and even how you can
explore some data.
If you have any questions about any data you expect to be able to access but cannot, see
your MicroStrategy administrator about having your security role or privileges adjusted.
Warehouse data in the sample MicroStrategy projects is updated regularly, and these
changes are reflected in the documentation whenever possible. However, the sample reports,
documents, objects, and images in this guide may display warehouse data that no longer
appears in the software.
Opening a report
Reports that display your business data are the focus and goal of business intelligence.
Reports allow you to gather business insight through data analysis. The results displayed in
any MicroStrategy report are often a starting point for further investigation.
Use the steps below to open a sample report in the Tutorial project, to become familiar with a
standard grid report in MicroStrategy.
To open a report
1. Log into MicroStrategy Web. Follow the steps above to log in (Starting MicroStrategy
Web, page 1).
2. In the Tutorial project, click Shared Reports.
3. Expand Subject Areas, expand Sales and Profitability Analysis, and then
click Category Sales Report to run the report and see the sample data results.
This is a MicroStrategy grid report.
Use the rest of this chapter to help you understand how to read a grid report. The information
you learn will help you throughout the rest of this guide.
Components of a report
The image below shows a standard grid report in MicroStrategy.
Cells
Each individual cell on a report contains a single value which is produced by calculating data
gathered from somewhere in your organization’s data source. That data is the focus of
business analysis in a reporting environment.
In the report shown above, for example, the revenue forecast for the first quarter of the year
(Q1) for your Art & Architecture books (in the first row) is much lower than the revenue
forecast for the same books in Q2. This difference may represent a general slump in sales
after the US holiday period, or some other customer behavior specific to the retail industry.
The analysis of this data might lead to a decision to prepare a sale or other special promotion
on Art & Architecture books for Q1, to attempt to counteract the forecasted revenue
reduction.
Report types
You can view a MicroStrategy report from different perspectives, depending on the type of
work that you want to perform.
Grids
A grid report is the most commonly used type of report. Grid view displays grid reports using
a formatted, cross-tabular display of the report data. Most business intelligence analysis is
performed using this view. The following figure displays the Grid view of a report.
To see a report in Grid view in MicroStrategy Web, from the toolbar click the Grid icon .
Graphs
A graph report is a representation of data in a visual format that can help you see overall
trends easily, identify medians and exceptions, and so on. You display report data as a graph
using Graph view. There are many different graph styles you can choose from to display your
report data most effectively. The following figure displays the Graph view of a report in the
bar graph style.
The graph report above and the grid report on the previous page are the same report, seen
in two different views. Comparing these two views of the same data helps you see how a
graph report can be more useful than a grid report for identifying trends, in this case, trends
across certain products. The grid report is generally more useful than a graph report for
identifying specific numbers you may need for financial reports and so on.
To see a report in Graph view in MicroStrategy Web, from the toolbar click the Graph icon
.
To see a report in Grid and Graph view in MicroStrategy Web, from the toolbar click the
Grid and Graph icon .
SQL view
You can see the SQL used to generate the report. Viewing the SQL provides a good way to
troubleshoot and fine-tune the selection of data that is retrieved from your data source and
displayed in reports. SQL view also includes various execution statistics for a report, such as
the number of rows, number of columns, the time it took to execute, and so on. The following
figure displays the SQL view of a report in Developer.
To see the SQL for a report in MicroStrategy Web, from the Tools menu select Report
Details Page. The SQL is displayed in the SQL Statement area. Click Show Advanced
Details below the SQL Statement area to see execution statistics for the report.
Visual Insight allows you to streamline the tasks required to create a polished dashboard.
For example, you can:
The example above shows the California Population Analysis dashboard, a sample
dashboard in the MicroStrategy Tutorial project.
An example of a simple Report Services document is shown below:
The image above shows the Balanced Scorecard Strategy Map document, a sample
document in the MicroStrategy Tutorial project.
A document or dashboard can contain data from one or more MicroStrategy reports.
Documents and dashboards can appear in almost as many ways as you can imagine and
are generally formatted to suit your business needs, in a single display of presentation
quality. Documents and dashboards allow you to display your business data in a user-
friendly way that is suitable for presentation to management for boardroom-quality material.
1. Log in to the MicroStrategy Tutorial sample project. For steps, see Starting
MicroStrategy Web, page 1.
2. Click Shared Reports.
3. Click the Enterprise Reporting Documents folder.
4. Click any of the documents listed on the right side of MicroStrategy Web, to execute it
and see the results.
1. Log in to the MicroStrategy Tutorial sample project. For steps, see Starting
MicroStrategy Developer, page 2.
2. Expand the Public Objects folder, then expand the Reports folder.
3. Click the Enterprise Reporting Documents folder.
4. Double-click any of the documents listed on the right side of Developer, to execute it
and see the results.
OLAP Services
MicroStrategy OLAP Services lets MicroStrategy Developer, Web, and Office users make
use of features that slice and dice data in reports without re-executing SQL against your data
source. This improves performance by resulting in quicker data display within a report as
users analyze and manipulate the data. Information on OLAP Services is provided in the In-
memory Analytics Guide.
View filters
A view filter is different from a report filter, which restricts how much data is retrieved from
the data warehouse. A view filter dynamically restricts the data being displayed on the report
without re-executing the report against the warehouse. This capability provides improved
response time and decreased database load.
You can use a report filter and view filter on the same report. The report filter returns a set of
data for the report, which the view filter then further restricts. Therefore, you should avoid
defining contradictory filtering criteria in both. Otherwise, you many encounter situations
where no data is displayed.
For details on creating view filters and using them to analyze data, see the In-memory
Analytics Guide.
Derived metrics
Derived metrics perform calculations on-the-fly with the data available in a report. They are
an easy way to present data already available on the report in different ways, providing
further analysis of data. You can use derived metrics to quickly perform on-the-fly analyses
such as margins, contributions, and differences between metrics included on the report.
These metrics are created based on existing metrics in the report. Since derived metrics are
evaluated in memory, their computation does not require any SQL execution in the
database.
Since derived metrics are created within a report, they can only be used for the report in
which they are created. Derived metrics cannot be saved as individual objects in the project,
and therefore cannot be applied to other reports in the project.
For details on creating derived metrics and using them to analyze data, see the In-memory
Analytics Guide.
Derived elements
An attribute is a business concept that reflects your stored data, such as Year or City. The
elements of a business attribute are the unique values for that attribute. For example, 2006
and 2007 are elements of the Year attribute, while New York and London are elements of
the City attribute. On a report, attributes are chosen to build the report, but once the report is
executed, the attribute’s elements are displayed in the rows or columns.
A derived element is a grouping of attribute elements on a report. These groups provide a
new view of report data for analysis and formatting purposes. For example, you can group
data for the months of December, January, and February into a single element that
combines and displays the data for the entire winter season.
Rather than having to define consolidations or custom groups, you can use derived elements
to create these groups on-the-fly while viewing a report. Derived elements are evaluated in
the report without regenerating or re-executing SQL.
Derived elements are defined by using a list, filter, or calculation to combine attribute element
data.
For details on creating derived elements and using them to analyze data, see the In-memory
Analytics Guide.
Dynamic aggregation
Dynamic aggregation allows you to change the level of report aggregation on-the-fly, while
you are reviewing the report results. This feature allows metric values to be aggregated at
different levels depending on the attributes included on the report without having to re-
execute the report against the data warehouse. Dynamic aggregation occurs when the
attributes included on the report layout change. The attributes included on the report layout
change when you move an attribute or attribute form off of the report layout to the Report
Objects pane, or when you move an attribute or attribute form from the Report Objects pane
back onto the report layout. As objects included on the report layout change, metric values
are dynamically aggregated to the new level of the report.
For details on using dynamic aggregation to analyze data, see the In-memory Analytics
Guide.
Printing a report
To print a report
Exporting data
You can export reports in a variety of formats, such as HTML, Microsoft Excel, and plain text.
A report’s designer determines which export formats are available for a report, based on
what makes sense for that report. Each format is described in detail below, to help you
decide what format suits your purposes:
l PDF: You can export the report to an Adobe PDF viewer, in .pdf format. After the report is
exported, the report content is displayed in an Adobe PDF file.
l Excel with plain text: You can export the report to Microsoft Excel, in .xls format.
After the report is exported, the content of the report is displayed using the default settings
in Microsoft Excel. The structure and format of the report as it is displayed in
MicroStrategy Web is not retained. For large report results, this export option is
recommended over Excel with formatting.
l CSV file format: You can export the report to a comma-separated values file (CSV).
After the report is exported, the report content is displayed in a CSV file as plain text. This
format is suitable for Microsoft Access and Lotus 1-2-3. The structure and format of the
report as it is displayed in MicroStrategy Web is not retained.
l Excel with formatting: You can export the report to Microsoft Excel, in .xls format.
After the report is exported, the report displays with the same formatting, color, and
structure that appears in MicroStrategy Web.
l Microsoft Excel does not support all colors that browsers do, so some colors may differ
after export.
l If the report is large, it is recommended that you use the Excel with plain text
export option.
l HTML: You can export the report to an HTML editor or browser, in .html format. After the
report is exported, the report is displayed in an HTML page. The structure and format of
the report as it appears in MicroStrategy Web is retained.
l Plain text: You can export the report to a text editor, in .txt format. After the report is
exported, the content of the report displays in a plain text page. The structure and format
of the report as it appears in MicroStrategy Web is not retained. You can choose a
comma, tab, semicolon, or space to separate the fields of text.
Before you export, you can adjust several export options that allow you to specify which
report details are exported, whether the data should be exported to PDF or another
application, and more.
To export a grid report that contains characters in a double-byte language, such as Simplified
Chinese or Japanese, to a PDF, your computer should be using that double-byte language
(for example, Japanese Windows). If you are using an English environment, to export double-
byte characters, a report designer must change the font of the attribute and metric names to
the font type that the locale supports. For steps, see Formatting for easier data analysis, page
276 or the MicroStrategy Help.
1. Open a report.
2. From the Home menu, select Export, and then select the required output format.
l You can modify project-wide graph settings in the User Preferences page. For more
information, click Help in MicroStrategy Web.
l You can modify export options in the User Preferences page. For more information,
click Help in MicroStrategy Web.
3. Make any necessary changes to the export options. Click Help for details about each
setting.
1. From the Home menu, select Export, and then select the required output format.
The Export Options page opens.
2. Make any necessary changes to the export settings and click Export. The report
automatically displays in the selected application.
Emailing a report
You can send a report to any email address.
Prerequisites
l You must have the Use Send Now privilege.
l You must have the Web Subscribe to History List privilege to send a report or document to
the History List.
l You must have the Use Link to History List in Email privilege to send a link to the location
of a report or document in the History List via email.
To email a report
7. From the Delivery Format drop-down list, select the format in which to send the
report. The options are HTML, Excel, and PDF. When Excel or PDF is chosen, the
report is included as an attachment in the email; you can reduce the size of the
attachment by selecting the Compress contents check box.
8. If the delivery option is Plain Text, you can specify the delimiter character to use to
separate values in a report, such as a comma or tab. From the Delimiter drop-down
list, select one of the following:
l To choose a delimiter from the list, select the delimiter you want to use, such as
Comma or Space.
l To specify your own delimiter, select Other, then type the character you want to
use as the delimiter in the field.
9. Select the Expand page-by fields check box to print all objects in the Page-by
drop-down list when the report or document is emailed.
10. In the Subject line, type a description for the emailed report.
11. If you want a message to be displayed in the body of the email, type the text in the
Message field.
12. To include the report or document in a zip file:
a. Expand Advanced Options by clicking the plus sign.
b. Select the Password Protect Zip File check box if you want to protect the
zip file by providing a password. Type a password for the zip file.
c. Type the name for the zip file in the Zip File Name field.
13. If you have selected a contact group as the recipient of the report or document, by
default MicroStrategy uses the security filter of the contact group as a whole when
delivering the report or document. To use the separate security filters for each
member of the subscribed contact group instead, select the Use contact security
for each group member check box.
14. Click OK. The report is sent to the designated email address.
rename row and column headers so the object names are more meaningful to yourself or
other analysts. You can also manually make columns narrower or wider, or adjust row
height, to fine-tune your report display.
l Graph reports: You can select an appropriate style for your graph (pie, bar, line, 3D
Surface, Gantt, and so on) and format the colors of series (for example, the colors of pie
slices in a pie graph). You can also reposition and resize elements such as the graph
legend, titles, and axis labels.
l Autostyles: MicroStrategy comes with several presentation styles for displaying reports,
called autostyles. Each autostyle automatically applies a set of formatting that includes
color scheme, font style, and font type to a report. Autostyles let you standardize
formatting across many reports.
You can achieve this by applying a threshold to the Revenue metric. The threshold is defined
to automatically apply a gray background and bold font whenever values meet the
threshold’s condition. The resulting report is shown below. Notice that revenue greater than
$1,000,000 is highlighted.
When data is set up to automatically appear with special formatting depending on certain
conditions, such as sales over $1 million or inventory below 50, this is called conditional
formatting. It is special formatting that is applied to values when certain conditions are met.
The data that meets the condition is considered to be data that has passed the threshold of
the condition; once data passes the threshold, the formatting is applied. So thresholds are
cells of data that are formatted differently from the rest of the data on a report; the formatting
is applied dynamically, whenever the report is re-executed.
An administrator can create an alert-based subscription to ensure that end users are
automatically notified by email when a metric on a report meets specific threshold conditions.
This allows email recipients to be alerted to data that is likely to be important for making
business decisions. An administrator can also have formatting applied to metric values in the
report, to draw immediate attention to the data that meets the alert conditions. See the
System Administration Guide for details on alerts.
Thresholds highlight particular data in a report by displaying special cell formats, symbols,
images, or replacement text. In the image above, the gray diamond-shaped symbol replaces
(and represents) all values that represent a small increase in revenue from the previous
year. “Small increase” is defined as revenue changes between 0 and 5 percent. The yellow
diamond-shaped symbol represents a medium decrease in revenue from the previous year,
with “medium decrease” defined as between -10 and 0. Values that show a medium
decrease for the Revenue metric are displayed in red. Each of these thresholds makes
analyzing large amounts of data easier because symbols are easy to locate, and different
colors are quickly identified.
To see threshold images you have added to a report, view the report in MicroStrategy Web.
Threshold images are also visible if the report is placed in a Report Services document in
Developer or Web, or a Visual Insight dashboard in MicroStrategy Web.
You can use certain types of threshold formatting on a graph report. For details to apply a
threshold to a graph, see Formatting conditional data on a graph: Thresholds, page 47.
Steps are below to create thresholds in MicroStrategy Web.
Prerequisites
l DHTML must be enabled. See the MicroStrategy Web Help for steps.
l Decide what condition the metric values must meet to have the threshold formatting
applied. Common examples of a threshold’s condition include sales that exceed a certain
amount, revenue that falls below a certain percentage, or employee resource numbers
that drop below a particular number.
You can use attributes or other metrics on the report to define a threshold’s condition.
For example, in the following report, the Trend Lead Conversion column includes a
green + (plus) or red - (minus) threshold to highlight when the month-to-month trend
is positive or negative. The month-to-month trend is determined by comparing the first
and second columns. This means the condition causing the threshold to appear in the
last column is based on whatever values appear in the first and second columns, as
shown below:
l Decide what you want to be displayed on your report when the condition is met. Common
examples include displaying important numbers in red, or in white font with a red
background, or displaying a red stop sign or a green traffic light in place of certain data.
You can replace null values with a specific value, such as a zero or the word NULL or NO
VALUE as shown in the image below, so that cells do not appear as empty on a report. The
replacement can be for the final report display only, or for the calculation of the report data.
Replacements do not change any values in your data source.
You might rename the first metric as Internet Revenue, and the second metric as Main
Street Revenue as shown in the image below, so that your business audience can more
easily understand what the values mean.
You can rename any business attribute (usually a row header) or metric calculation (usually
a column header) on the report grid. This feature, called aliasing, lets you name an object on
a report something that makes sense to you, within the context of a given report.
This alias feature is for report display purposes only. Creating aliases with this feature does
not change object names as they appear in the project, as they are stored in the
MicroStrategy object repository (metadata), or as they are stored in your data source.
The alias feature also allows you to display descriptive information about an object on a
report and edit the description that exists. You can use this to make object descriptions more
meaningful for other users who will view this report.
The following is a list of the objects you can rename on a report:
l Attribute: A business concept, such as Product, Employee, Month, Region, and so on.
The individual characteristics of an attribute are attribute elements. For example, 2006
and 2007 are elements of the Year attribute, while New York and London are elements of
the City attribute. On a report, attributes are chosen to build the report, but once the report
is executed, the attribute’s elements are displayed in the rows or columns.
l Metric: A business calculation, such as Revenue, Profit, Employee Headcount, or
Probability of Purchase. Some metrics are key performance indicators (KPIs) because
they present crucial progress information at a glance. Metrics commonly appear in the
columns of a grid report.
l Consolidation: A selected group of attribute elements used just like an attribute on a
report. For example, suppose you want to see each season of the year as a separate row
on a report, but Season does not exist as an attribute in your project. A consolidation
allows you to group together the elements of the Month of Year attribute into various
seasons and place them on the report. In this example, the consolidation will contain four
consolidation elements, one for each season. Consolidations are covered in the
Advanced Reporting Guide.
l Custom group: A special filter for report data. Custom groups are covered in more detail in
the Advanced Reporting Guide.
Creating an alias
You can create an alias by renaming a row or column header.
Derived metric: If you have MicroStrategy OLAP Services (see OLAP Services,
page 13), you may have a derived metric on the report. If you click on a data cell of a
derived metric, you can change the syntax of the derived metric formula in the formula
box.
4. Type the Name for the object and click OK to save your changes.
2. From the Format menu, select Resize Columns and Rows. The Resize
Columns and Rows dialog box is displayed.
3. Under Columns, choose the Fixed option. In the drop-down list underneath, select
the metric you wish to hide.
4. Enter 0 in the Width field.
5. Click OK.
The report automatically updates with the metric column you selected now hidden. In the
example image below, the metric Revenue has been hidden, although the Percent Growth
remains the same.
The procedure below is slightly different depending on whether your report was designed to
use Fixed Column Width mode or Auto Column Width mode. The differences are described
below.
1. Run a grid report.
2. On the Grid menu, select View Column Handles.
The following message may appear: “Column width changes in Automatic Column
Width mode will not be saved. Do you want to switch to Fixed Column Width mode?”
This message indicates that the report you executed is in Automatic Column Width
mode. This means the system automatically sizes the columns for you. If you click No,
the report stays in Automatic mode and any column sizing you do will not be saved. If
you click Yes, the report’s column width mode is changed to Fixed, and any column
sizing you do will be saved when you save the report.
3. Column handles appear along the top of the columns of the report. In the following
image, the report on the top has no column handles displayed. The report on the
bottom shows column handles displayed.
4. Hover your cursor over a column handle until the cursor changes to a double arrow, as
shown below:
5. Drag the handle left or right to make the column narrower or wider.
Column widths must be fixed for row heights to be fixed. Column widths are applied
first and then row heights.
1. Open a report.
2. Do one of the following:
l Click and drag a column header's vertical lines to adjust the size of a column. The
size of the column is adjusted accordingly.
l From the Format menu, select Resize Columns and Rows. The Resize
Columns and Rows dialog box is displayed.
l If DHTML is disabled, click Go. The Resize Columns and Rows panel is
displayed.
3. Resize the columns and rows using the following options:
l To automatically set the size of the columns and rows:
l Auto Fit to Window: The grid report's columns stretch to fit the size of the
browser window.
l Auto Fit to Contents: The width of the report's columns or rows is
determined by the data in the column or row. All extra space in the grid is
removed.
l To manually size the height of the rows or width of the columns, select Fixed in the
Columns area or Fixed Height in the Rows area. Type a size for the columns or
rows. The grid report is adjusted to the column width and row height you specify.
Changing the height of the rows manually does not affect the header rows at the top
of the report.
To do this, you choose to band by columns, and you select the banding colors. After applying
the banding, the report appears as shown below.
The autostyle of a report provides the report’s default banding options, but you can define
custom banding or even turn off banding for a report, regardless of its autostyle. (For
information on autostyles, see Preset formatting: Autostyles, page 51.)
You can perform more complex banding of report data, based on custom grouping of
attribute elements (for example, Northeast, Mid-Atlantic, and Southeast on the report above)
and other banding conditions. For details, see the chapters on Custom Groups and
Consolidations as well as Reports in the Advanced Reporting Guide.
You cannot create banding formatting in MicroStrategy Web. However, you can enable or
disable the display of banding on a report in Web. The procedure is below.
The next image shows the same report with the report’s borders removed. The data looks
less crowded, and the important data at the bottom of the report is emphasized:
The Hair line style cannot be displayed in reports viewed in MicroStrategy Web. It is
replaced with the Thin line style. If you want appearance to be consistent between
Developer and Web report display, consider a line style other than Hair.
To view a report in Grid Graph view, see Grids and graphs combined, page 8.
1. Open a report.
2. From the View menu, select Grid Graph View.
3. From the Data menu, select Report Data Options. The Report Data Options
dialog box opens.
4. Expand the Display category and select the Grid Graph Mode subcategory.
• Grid Percentage specifies how much space the grid occupies in the display
area. For example, if this option is set to 75, the grid occupies 75% of the
report display area while the graph is resized to fit in the remaining 25%, as
shown below.
If Grid Position is set to Top or Bottom, Grid Percentage represents the height
percentage. If Grid Position is set to Left or Right, Grid Percentage is the
width percentage.
• Minimum Grid Percentage is the minimum space that the grid can
occupy.
Grid Percentage and Minimum Grid Percentage interact to determine the size of the
grid. For example, if Grid Percentage is set to 25, you cannot set the Minimum Grid
Percentage higher than 25.
6. Click OK.
Reports saved in Graph view automatically appear in Graph view when executed.
You might then want to see the same data in a Polar graph style, as shown below.
When selecting a graph style to view your data, you must consider two important issues:
l The structure and amount of data on your report affect your decision because some graph
styles cannot be displayed unless a certain number of attributes or metrics appear on the
report grid. These requirements are listed in the Graphing chapter of the Advanced
Reporting Guide.
l The position of report objects on your report grid also determines whether a graph can be
generated in a certain graph style. For example, to display slices in a pie chart, you can
change the placement of report objects by pivoting data; for details, see Pivoting data,
page 68. For general information about how the placement of report objects determines
which graph styles you can use, see the Graphing chapter of the Advanced Reporting
Guide.
If a graph style is grayed out and unavailable, there is insufficient data on your proposed graph
to generate the graph in that style. Choose another graph style for the graph. For information
about the minimum requirements for each graph style, see the Graphing chapter of the
Advanced Reporting Guide.
If an error message is displayed that notifies you that there is insufficient data on your
proposed graph to generate the graph in the selected style, click Cancel. Choose another
graph style for the graph. For information about the minimum requirements for each graph
style, see the Graphing chapter of the Advanced Reporting Guide.
described in a graph report’s legend. The groups of data along the X-axis are called
categories. In general:
l Categories:
l Are groups of data usually found on the X-axis of a graph report
l Usually correspond to the rows of a grid report
l Usually represent attributes
l Series:
l Are groups of data usually found on the Y-axis of a graph report
l Usually correspond to the columns of a grid report
l Are explained in the legend of a graph report
l Usually represent metrics
You can change the colors of the series in a graph by selecting a color scheme from the
Color Palette in the Graph toolbar, as described in the following procedure.
By default, the graph color of a metric overrides the color scheme. For steps to define the
graph color, see Defining a graph color for metrics, page 45. For steps to allow the color
scheme to override the graph color, see Defining a graph color for metrics, page 45.
To format the series colors of a graph in MicroStrategy Web, you must be granted the
necessary Web Professional privilege. For more information, contact your administrator.
You can define a default graph color for a particular metric, and this color is used in all graph
reports. You must have the necessary Developer privileges to define this; see the Graphs
chapter in the Advanced Reporting Guide for details.
1. In MicroStrategy Web, log in to a project and navigate to a graph report. Click the
report to run it.
2. Locate the metric whose color you want to change in the graph. Right-click the metric
and point to Fill. A color palette is displayed.
3. Select your desired color in one of the following ways:
l Select one of the default colors in the color palette.
l To define a new color outside of the color palette, select More Colors. The More Colors
dialog box will now be displayed. You can select a new color from the slider on the right or
create one based on its Hex, RGB, and HSV values. Click Apply to see the changes
made to your graph or click OK to apply your changes and close the dialog box.
l To apply a gradient to the metric on the graph, select Gradient. A gradient displays a
blend of two colors in a gradual color change for the metric when the metric is displayed as
a series in a graph report. You can select the two colors for the gradient from the Color 1
and Color 2 drop-down lists, and then click one of the squares to set the direction of the
shading between the two colors. The colors can blend left to right, right to left, top to
bottom, bottom to top, horizontally centered, or vertically centered. Click OK to save your
changes and close the dialog box.
You can repeat these steps for any metrics on the report that require a specific graph color.
Each metric should use a color that can be easily distinguished from the colors used for other
metrics. This ensures that graph report results are easy to decipher based on color.
Inheriting metric graph color is enabled by default. The steps below show you how to disable
this formatting, to allow the graph color scheme to apply to all the series in a graph.
1. In MicroStrategy Developer, log in to a project and navigate to a graph report.
2. Right-click the graph report and select Run. The Report Editor opens, displaying the
report as a graph.
3. From the Graph menu, select Preferences. The Preferences dialog box opens.
4. In the Other area, clear the Apply metric formatting when available check
box.
5. Click OK to save your changes and return to the graph report.
Because of how graph types display report data, a threshold on a graph report displays
background formatting only. This includes a solid color, a gradient color, a pattern, and any
other available background effects. Other threshold formatting, such as symbols and text
formatting, are not applied to the graph report, but are still displayed on the grid report.
Not all graph types can display thresholds. For example, Area graphs combine all data into a
single area object. Since the data is all visually connected into the same area object,
thresholds cannot be displayed for specific data points. However, many graph types display
a separate series or data marker for each data point, and thus can display thresholds.
The following graph types can display thresholds directly on the series of the graph:
l Bar
l Boxplot
l Bubble chart
l Funnel
l Histogram
l Pareto chart
l Pie chart
l Stock
For example, the Bar graph report shown below uses thresholds on the series to highlight
when employee satisfaction is above seven or below three for a given survey field.
The following graph types can display thresholds on the data markers that highlight specific
data points on the series of the graph:
l Gauge
l Line
l Polar chart
l Radar line chart
l Scatter plot and three-dimensional scatter plot
For example, the graph report shown below is the same report used in the previous
example. However, the report shown below uses a Line graph style, and the threshold is
applied to the data markers.
Any thresholds that are already defined for this metric are displayed below the toolbar.
If you want, you can select any existing threshold to modify, and then skip defining the
condition, as described in the next step. An existing threshold must include some type
of background formatting such as a solid color, a gradient, or a pattern. The
background formatting is the only conditional formatting that is displayed on a graph
report.
4. Define the condition that the value must meet to have the threshold formatting applied.
Click the text Click here to start a new qualification. The parts of the
condition appear, each of which must be defined:
a. Click Field first, to select the business attribute or metric calculation that is part
of your condition.
b. Click Operator to select an operator, such as In List, Not in List, or Where.
c. Click Value to specify the elements from the available list.
If you selected an existing threshold in the step above, you do not have to redefine the
condition.
5. Next you define the formatting that you want displayed for values that meet the
condition you have defined above.
a. Click the Edit the threshold formatting icon. The Format Cells dialog
box opens.
b. Click the Background tab.
c. Select a Background Style from the drop-down list, and then choose the
colors to use. For details to format the background, click Help.
d. Click OK.
6. Select the threshold that you formatted, and click the Enable threshold on
Graph icon on the toolbar. This applies the background color to the graph when
the threshold condition is satisfied.
This icon is available only when you have formatted the background of the selected
threshold.
7. Click OK to save your new threshold definition and close the Thresholds dialog box.
Your new threshold is automatically applied.
8. Review the graph report. The thresholds should be displayed for applicable data on
the graph report. If you are using one of the graph types that support thresholds, and
you do not see thresholds on the graph report, use the steps provided below to display
the thresholds:
a. From the Graph menu, select Preferences. The Preferences dialog box
opens with the Options - General page displayed.
b. In the Other area, clear the Apply rounded effects to all series check
box. This removes the automatic beveling effects used for the series and data
markers of the graph report, but it also allows the display of thresholds for
certain graph types. You can still apply and create your own custom bevel
effects for the graph report, as described in the Graphing chapter of the
Advanced Reporting Guide.
c. Click OK to save your changes and return to the graph report. The thresholds
should now be displayed on the graph report.
For example, you format the series colors (pie pieces) of your pie graph by selecting the
Apex color style from the Color Palette in the Graph toolbar. (To change the colors of series
in a graph, see Changing the color scheme of a graph, page 44.) Taking another look at your
graph, you decide you do not like the change and want to revert to the pie graph’s original
colors. The Undo icon on the report’s Edit menu allows you to easily reverse formatting
choices such as these.
If you decide later that you did not want to undo an action (for example, you want to change
back to the Apex color style), you can use the Redo icon on the report’s Edit menu to quickly
reapply that formatting choice.
The Undo and Redo icons work similarly to the corresponding commands in Windows.
For example, in MicroStrategy Developer and Web, the default autostyle used for all reports
is called Corporate, which includes a gray background and dark blue font color, as shown in
the image below:
Applying an autostyle
To apply an autostyle in MicroStrategy Web
Although you cannot create new autostyles in MicroStrategy Web, autostyles created in
Developer are available to be applied to reports in Web.
4. Specify a name for the new autostyle in the Save Autostyle As dialog box. The name
should be descriptive so you or other users can be aware of what formatting changes
it will make when applied to a report.
5. You can save objects in MicroStrategy so that only you can see and use them, or so
that all other users can see and use them. This is determined by the location where
you save the object:
l To save an autostyle so that other users can also use the autostyle to apply
formatting to their reports, save the autostyle in the Public
Objects\Autostyles folder.
l To save an autostyle so that only you can use it, save the autostyle in the My
Personal Objects\My Objects folder. If you save an autostyle in this folder,
it appears only in your autostyle drop-down list and is not available to other users.
The next time you open a report, you can view the autostyle you created in the list of
available autostyles.
For information on creating autostyles for a broad number of reports, changing properties in
the default autostyles, and so on, see the Advanced Reporting Guide.
Sorting data
You can reorganize how data is displayed on your report by sorting the data. Sorting lets you
move data so you can analyze that data more effectively. Consider the following sorting
techniques:
l Move the most important data up to the top of the report where you can see it easily.
l Group particular chunks of data together so you can more easily compare the data.
For example, you are looking at a report that shows income ranges for your customers. The
report lists all income brackets for customers in every region in the United States. The image
below shows just the top half of this lengthy report. (The rest of the report that is not included
here shows the rest of the regions in the United States.)
This image shows the default sort order for this report. The default sort order focuses on
geographical regions, as shown in the far left column in the report.
But you want to analyze only the income bracket revenue over $80,000, and with the report
as it appears now, you must scroll up and down the data to gather the numbers you need,
risking missing a number or accidentally looking at the wrong number.
If you sort the Income Bracket column in descending order, you can instantly see the higher
income brackets you are interested in, grouped together for clarity and easier comparison,
as shown in the image below. With the new sort order, the focus of the report is now on
income bracket rather than geographical region.
You sort data based on a row header or column header. Row headers are typically business
attributes; for example, in the report above, Region and Income Bracket are attributes and
are in the rows of the report. Column headers are typically business calculations called
metrics; for example, in the report above, Revenue is a metric that is in the columns of the
report. Attributes and metrics are the most common objects on a report.
You can sort on any column or row that is on a grid report. When you sort, you determine the
sorting order, either ascending or descending:
l Ascending sort order arranges the data alphabetically, from A to Z, or lowest to highest,
such as from 1 to 10.
l Descending sort order arranges the data in reverse alphabetic order, from Z to A, or
highest to lowest, such as from 10 to 1.
Sorting is processed by the MicroStrategy Analytical Engine, which means you can sort and
organize the data on a report without taking up the time and resources to re-execute the
report against your data source.
This guide discusses only quick sorting. For information on more complex, layered sorting
patterns, see Advanced Sorting in the Advanced Reporting Guide. For information on sorting
custom groups, see the Custom Groups and Consolidations chapter in the Advanced
Reporting Guide.
Quick sort
You can quickly sort the data in a column or row, in either ascending or descending order. A
quick sort allows you to experiment with different sort orders for your data, so you can
determine which sort order displays the data in the most useful way.
There are various ways to trigger a quick sort, including using the right-click menu or using
the sort icons:
l MicroStrategy Developer: You can right-click on the column or row, or use the sort
icons on the Data toolbar. (To see the sort icons, from the View menu, select Toolbar,
then select Data.)
l MicroStrategy Web: You can right-click on the column or row, or use the sort icon in
each row and column header. (To see the sort icons, from the Tools menu, select Sort
Buttons.)
The procedure below describes the right-click sort method.
In Developer, make sure you right-click directly on the column name, not in the blank
area of the column header.
Finding values
Whenever you want to quickly locate a specific data value in a grid report, or you want to
jump to a section of a large report, use the Find feature. You can also use the Find feature to
locate a string in the SQL syntax, when viewing a report in SQL View. (For steps to look at a
report in Grid View or SQL View, see Report types, page 6.)
You can also narrow your searches if you need to, by defining specific requirements for your
search.
In MicroStrategy Web, use the browser’s Find feature to locate values or other data in a
report. For example, in Internet Explorer, from the Edit menu, select Find on this page.
3. From the Edit menu, select Find. The Find dialog box opens.
4. Enter the value to search for and click Find Next. The first instance of the value is
highlighted if the value is found.
5. Click Find Next again to search for additional instances of the value in the report.
Each cell in a grid report is treated as a string value. This means that, for example, if a grid
report contains data that includes the numbers 50 and 500, both cells are found when you
search for 50. To change this behavior, see Narrowing a search for report data, page 58.
Summary/detail of data
When you have a large set of data on a report, it is generally easier to analyze and
understand the data if you can look at only certain sets of the data at one time. Use one of the
following tools to organize large sets of data so it is easier to handle:
l Outline mode: This tool lets you expand and collapse sets of data. See Outlining data,
page 59.
l Page-by: This tool lets you view one “page” of data at a time. See Grouping data by page,
page 63.
Outlining data
You can create an indented grouping of related data on a grid report by organizing the data
into a standard outline style. Using an outline style, you can collapse and expand sections of
related data, as shown in the images below.
The image below shows just a small portion of an outlined report expanded completely. The
outline style is controlled with the numbered buttons that appear in the top left corner of the
report. For this image, button 3 was clicked, which expands the outline down to its third level.
In this case, the third level is Supplier. Note that most of the report data cannot be viewed
without scrolling, but each item of data and its related metric numbers can be seen clearly:
The next image shows the same report as in the image above, but with the lowest level of
data collapsed and only the higher levels of data expanded (button 2 in the top left corner
was clicked). Note that you can almost see the entire report in a single screen. The detailed
data is hidden, but higher level numbers can be analyzed and compared more easily. It is
also easier to compare totals and averages for each category.
The next image shows the same report as in the images above, but with all data levels
collapsed fully (button 1 in the top left corner was clicked). Note that this outline level
provides the highest summary of data:
Outlining is particularly useful when information displayed would otherwise involve repetitive
entries. For example, you want to display sales for three years, 2004, 2005, and 2006. You
also want data listed by month within each of the years. Rather than having all data visible for
every month of every year, you can use an outline to expand and view just that data you want
to see immediately, and keep other data collapsed, to be expanded later for quick
comparisons.
Multiple-page reports work in the same way. For example, if you are on page 4 of a multiple-
page report and you want to collapse the data to the second level, then you will only be
collapsing data that is displayed on the fourth page of the report.
Enabling an outline
Use the appropriate procedure below, depending on whether you are working in
MicroStrategy Developer or MicroStrategy Web.
Outline mode is only available when the report has more than one object in the rows. For
example, if your grid report has business attributes on the rows of the report, there must be
more than one attribute if you want to use outline mode.
Each outline level usually represents a business attribute on the report. For a detailed
explanation of rows and columns and what business data they represent, see Rows and
columns.
Each outline level usually represents a business attribute on the report. For a detailed
explanation of rows and columns and what business data they represent, see Rows and
columns.
You simply click the page-by field to select a different subset of data to display. The page-by
feature lets you decide what subsets of your business data you want to display as separate
pages of your report.
In MicroStrategy Web, the page-by feature appears as shown in the image below. The
specific subset of data from the report that is being displayed is the data related to
electronics, as shown in the page-by panel at the top of the report:
In the next image, the report is paged by books instead of by electronics, resulting in data
showing cost, price, and profits related to book sales:
Attributes and metrics are the most common objects available in the page-by pane of a
report, although you can enable page-by for most objects that appear on a report.
You can page-by any of the following objects:
l Attributes
l Metrics
l Hierarchies
l Consolidations and custom groups. (Consolidations and custom groups are described in
the Advanced Reporting Guide.)
l Most object prompts. (Specifically, object prompts that are made up of attributes,
hierarchies, consolidations, and custom groups. Object prompts containing metrics can be
placed in the page-by pane as long as the report’s rows or columns do not contain a
metric. Prompts are discussed in detail in Asking for user input: Prompts, page 206 in
Chapter 7, Building Query Objects and Queries, for Designers.)
Page-by capabilities can be enabled or disabled for your project by your company’s project
designer. (A project designer is someone who sets up objects within MicroStrategy to reflect
your organization’s data.) If you encounter a problem moving a certain type of object into the
page-by pane above a report, your project designer may have disabled the page-by
functionality for that type of object.
You can place more than one object in the page-by pane. If you decide to place multiple
related attributes in the page-by pane, be aware that order matters. Whatever you page-by
first (furthest to the left) affects the elements displayed in the other page-by fields. Place
multiple objects into the page-by pane in logical order, from left to right.
report. In the example below, the Year attribute is moved to the page-by pane.
To move metrics in columns to the page-by pane, right-click the word Metrics on the
report and select Page-by. All metrics must be moved together. You cannot have one
metric in the page-by pane and others on the report grid.
4. The report is automatically re-displayed to show only the subset of data shown in the
current page-by field. Click the page-by field and select an option from the drop-down
list to change the subset of data displayed. In the example below, you can select Year
2009 instead of 2008 to see the Revenue and Percent Growth for each customer
region for that year.
1. In the page-by pane at the top of the report, right-click the page-by field you want to
remove.
2. Point to Move, and select either To Rows or To Columns. The object is moved out
of the page-by pane and onto the report.
To further arrange objects on the report, you can click the row or column headers of objects
on the report, and drag and drop them into place.
Pivoting data
Data pivoting enables you to rearrange the columns and rows in a report so you can view
data from different perspectives.
For example, in the image below, the Inventory Received from Suppliers by Quarter report
shows a set of data spread across the screen in a large grid display. (The image below
shows only a small section of the full report.) It is not always easy to compare numbers in
reports of this size.
If you pivot the objects on the report, so that the objects that were in the columns are now in
the rows, and the objects that were in the rows are now in the columns, much of the data is
easier to read and compare, as shown in the image below.
For example, in this pivoted report it is simpler to analyze total units received each quarter
within a subcategory of books, because the totals are listed in a single column, making them
easy to compare. Any anomalies in the numbers quickly become apparent. To perform the
same comparison analysis with the first report above, you must visually skip over groups of
data and try to focus only on totals.
With data pivoting, you can do the following:
l Move an object (a business attribute or a metric calculation) and its related data from a
row to a column.
l Move an object (a business attribute or a metric calculation) and its related data from a
column to a row.
l Change the order of objects in the rows.
l Change the order of objects in the columns.
All metrics are kept together on a report, so they must be moved as a group when pivoting
data. For example, on a grid report you cannot move one metric to a row and another to a
column. For graph reports, metrics must all be together on only one axis. To pivot metric data,
select the word “Metric” in the header to move all metrics together.
l Right-click an object on the report, select Move, and choose a data pivoting option. (In
MicroStrategy Web, you must have the DHTML user preference enabled to move data
this way.)
l Select an object on the report and use one of the data pivoting buttons on the toolbar (in
MicroStrategy Developer) or in the column header (in MicroStrategy Web). To enable
pivoting buttons in MicroStrategy Web, from the Tools menu, select Pivot Buttons.
You want to see only the results of the top ten employees. If you apply a report limit to restrict
the data displayed to the top ten employees, the data used to calculate the sales rank is not
affected. Only the employees displayed changes, as shown in the image below.
A report limit is assigned to metrics that appear on the report. Report limits are defined using
operators such as Between and Less Than. By default, report limits are joined by the AND
operator. To change the operator, double-click the operator and select a new operator.
For more information on additional options and settings within the Report Limit Editor, click
Help.
For more information on advanced operators to apply to a report limit, see Appendix B:
Logical and Mathematical Operators for Filtering in the Advanced Reporting Guide.
If you have MicroStrategy OLAP Services, you can apply report limits to any data on a report,
not just metrics. For information on OLAP Services, see OLAP Services, page 13.
2. From the Data menu, select Report Data Options. Under the Calculations
category, the Report Limit subcategory displays any report limits that may already be
applied to the report.
3. To apply new limits to the report data, click Modify. The Report Limit Editor opens.
4. Double-click in the Limit Definition area. The Report Limit Qualification dialog box
opens.
5. Click Browse and navigate to the metric you want to apply the limit to. Then click OK.
Derived metrics cannot be used in a report limit. A report limit is a SQL engine function
and therefore can only use a metric that exists in the project. A derived metric, which
is created within the report, exists only in the report. To use the derived metric, re-
create it as a regular metric, using the Metric Editor. For background information on
derived metrics, see Derived metrics, page 13. For steps to create a metric, see
Calculating data on a report: Metrics, page 144.
6. From the Operator drop-down list, select the operator you want. Examples include
Between, Greater than, Less than, Exactly, and so on.
7. Enter the Value that you want the operator to apply to. In the example below, the
Operator is set to Greater than, and Value is set to 1,000,000 to see only data over 1
million.
8. Click OK. Then click Save and Close to save the report limit.
9. Click OK to return to the report. In the image of the report below, you can see that only
those employee names that earned revenue greater than 1,000,000 are displayed.
Report limits and filters: If the report has a filter, the filter is applied to the report data
first, then the report limit is applied to further restrict the data returned in the report.
Calculating data
Your organization’s data source contains data related to all of your organization’s operations.
The goal of reporting is to access the latest data related to your analysis needs, and then
calculate that data to display the numbers you need to see.
Within a single set of data that is gathered from your data source in response to a report’s
query, the results of calculations on that data can change drastically depending on a number
of considerations, such as:
l Metric join types: These determine how tables of metric data (usually numerical data,
such as sales, costs, or profits) are joined to each other. The effect of joining your data in
different ways on calculations of numerical data is described below in Determining how
metric data is combined: Metric join types, page 74.
l Attribute join types: These determine how tables of attribute data (business
concepts, such as year, store, or item) are joined together. See the Advanced Reporting
Guide for details and business examples of attribute joins in a report.
l Evaluation order: This determines in what order the various objects on a report are
calculated. Objects that can affect the calculation of data to be displayed on a report
include such things as metrics, report limits, and subtotals. Which object is calculated first,
next, and so on can completely change the report’s results. A description of the default
evaluation order and examples for different evaluation orders are provided below in
Evaluation order of calculations, page 79.
l Subtotals: These allow you to total metric data using a selected mathematical function.
You can subtotal data in different ways for other business users who will be viewing or
analyzing the data. See Subtotals, page 79.
As an introduction to understanding joins, be sure you understand the basic report
components of a metric, an attribute, and an attribute element. For descriptions and
examples, see MicroStrategy objects, page 138.
1. How data is calculated by default is usually decided first by your company’s project
designer, who implements several settings on a project-wide basis that affect how
SQL handles your organization’s data during calculation. These decisions are often
driven by the type of database your organization owns; most databases process SQL
differently. These settings are generally made within the VLDB properties for your
project’s database instance within MicroStrategy. For details on metric-specific VLDB
properties, see the Advanced Metrics chapter in the Advanced Reporting Guide.
2. Next, the person in your company who designs a metric can override the project-level
default settings described above when she creates the metric. When a metric
designer applies settings to a specific metric, these settings are effective for that metric
no matter which reports the metric is used in. For details on metric calculation settings
at the metric level, as well as joins for a compound metric (a metric that is made up of
other metrics), see the Advanced Metrics chapter of the Advanced Reporting Guide.
3. Finally, report analysts can change how a metric is calculated for a single report with
which the analyst is concerned. You can view the existing settings for a metric, as well
as change various settings, within the Report Data Options dialog box. (For steps to
do this, see Viewing and changing metric join types, page 77.) Any changes made to
metric joins in the report will override any join settings that were made by your
company’s metric designer or by your company’s project designer, described above.
However, changes made to the join type using the Report Data Options dialog box
affect this metric on this report only. When the metric is used on another report, it uses
its default metric join type. These report-level metric join options are discussed in detail
below.
Metric joins
A metric is often calculated based on data that comes from more than one table in your data
source. Data coming from multiple tables must be joined together in some way during data
calculation.
A metric join setting determines how data is combined by applying a specific type of join,
inner or outer. The MicroStrategy SQL Engine applies the designated join type to the data
pulled from your data source’s tables. The join type places conditions on the data to be
displayed in the report.
Inner and outer joins are discussed with examples below.
l Inner join: An inner join includes in the calculation only the data common to all the
tables from which data is being gathered in your data source.
l Outer join: An outer join includes in the calculation all of the data in all of the tables from
which data is being gathered in your data source.
For example, review the data in the following table. The Sales Information and Budget
Information columns show whether data exists in the data source for that type of data in that
region.
North Yes No
South Yes Yes
East Yes Yes
West No Yes
A report is created containing Sales and Budget metrics, and the Region attribute. The
default inner join is not changed, because you want to view metric values that are common to
both metrics and that are therefore not empty for either metric. Since the North region does
not have any budget data, as shown in the table above, no data is displayed for the North
region on the report. Similarly, the table above shows that sales data has not been tracked
for the West, so all data for the West region is also omitted from the report. The resulting
report, with an inner join between metrics, displays only those regions that have both sales
and budget information, or data that is common to all components of the join. The result looks
like the following report:
However, assume you need to change your analysis and you want to display all of the data
from the tables in your data source, whether or not data exists for all the metrics at all levels
in the report. (For a definition and examples of levels, see How data is aggregated on a
report: metric level, page 89.) You apply an outer join to both metrics because you know
there is some incomplete or empty data for some regions in your data source. The outer join
results in the following report, in which the North and West regions appear even though they
have no data for one of the metrics.
Finally, you can specify different joins for each of the metrics on a report. You want to see all
sales data even if budget data has no values for some regions in your data source, so you
apply an outer join to the Sales metric and an inner join to the Budget metric. All regions (all
report rows) with information on sales are displayed. The following report is created:
West is not displayed because it does not contain sales information. It is irrelevant whether
data exists for the Budget metric or not.
Inner joins
An inner join is generally more commonly used for metric data than outer joins. (The
exception is with rank metrics; see Outer joins below for details.) Inner joins are effective in
many situations, including the following:
l Inner joins provide effective results when you know the metrics on your report are closely
related to each other, such as the Revenue metric and the Profit metric.
l Inner joins are most effective if your data source contains relatively complete metric data,
without empty values.
l Inner joins require less processing time than outer joins, so they are useful to lessen the
processing load on your MicroStrategy Intelligence Server machine.
Outer joins
Outer joins are effective if your data source contains empty values for some metric data in
some tables. Outer joins are also necessary for metrics that show rank. Outer joins allow you
to see all data that is available for a metric.
For example, your revenue data may be completely up to date, but several profit values have
not been reported and entered in the data source for certain days during the past week.
When the Revenue and Profit metrics are both included on the same report, you can apply
an outer join to the Revenue metric so that you can see all values for Revenue for each day
of the past week, even if the Profit value for a given day is currently empty.
When a metric calculates rank, it is important to use an outer join on the rank metric. If the
default inner join is used on a rank metric, some of the ranks (and therefore, the ranked
attribute elements) may not appear on the report because an inner join does not include
elements with null values in the result set. But an element with a null value may have a rank.
With an outer join, all rows are displayed on the report even if there is no result displayed for
some of the elements for some of the metrics on the report. The goal for a rank metric is to
display all rankings, so all elements must appear whether they have values or not.
If you have a long list of metrics, you can sort them by metric name or by join type, by clicking
the Metric or Join Type column headers.
3 You can change a metric’s join type by clicking the join type (Inner or Outer) for the
metric you want to change.
4 From the drop-down list that appears, select a different join type. Inner and outer joins
are described fully above. You can select the following:
• Default: This option sets the metric to use the join type set for that individual metric
when that metric was created with the Metric Editor. If no join type was determined
this way for the metric, this option sets the metric to use the join type set at the
project level.
• Inner: This option displays only the data common to all data source tables from
which data is being gathered for this metric.
• Outer: This option displays all of the data from all data source tables from which
data is being gathered for this metric.
5 Click OK. The report is re-executed against your data source, and the newly calculated
results are displayed.
For details on all options available on the screen, click Help.
Page-by and sorting are determined last, to arrange the positions of the calculation results.
Their evaluation order cannot be changed.
Many reports contain objects that require complex considerations to determine an effective
evaluation order. For a more detailed discussion of evaluation order and how to change it,
including examples, see the Designing Reports chapter of the Advanced Reporting Guide.
Subtotals
Subtotals are totals of selected groups of your metric data, totaled at a level you select. (For
a definition and examples of levels of aggregation, see How data is aggregated on a report:
metric level, page 89.) A subtotal lets you see the totals for subgroups of your report data.
A metric’s designer must enable grand totals and/or subtotals for a metric. If grand totals
and/or subtotals have been enabled, an analyst can choose to either display or hide them for
that metric on a given report. Analysts can also change the function used with a subtotal. The
subtotal functions available include sum, count, minimum, maximum, average, and median,
as well as others.
Analysts also have the ability to change the level at which a subtotal is calculated. For
background information on levels, see How data is aggregated on a report: metric level,
page 89 in Chapter 4, Answering Questions about Data.
Report designers can also construct custom subtotals in MicroStrategy Developer that, for
example, allow you to apply subtotals to selected metrics only. Custom subtotal functionality
is explained in detail in the Advanced Reporting Guide.
Displaying subtotals
You can choose to display a subtotal across levels on a report, display grand totals, or
display all subtotals.
You can select the value that is displayed in place of a null value in a subtotal. For steps, see
Formatting null values and blank cells, page 24.
This procedure assumes that the person who created the metric has enabled grand totals or
subtotals for the metric.
1. Open a grid report.
2. From the Data menu, select Subtotals. The Subtotals dialog box opens.
3. Select the type of subtotal function you want to use on the report.
4. Click Advanced. The Advanced Subtotals Options dialog box opens.
5. In the Applied levels section, specify the level on the report at which to calculate the
selected subtotal.
For a definition of a level and examples, see How data is aggregated on a report:
metric level, page 89 in Chapter 4, Answering Questions about Data.
grouped by nothing, which means the grand total is calculated based on all
attributes on the report.
6. Click OK to return to the Subtotals dialog box.
7. Click OK to complete the subtotal definition. The subtotals are displayed on the report.
This procedure assumes that the person who created the metric has enabled grand totals or
subtotals for the metric.
1. Open a grid report.
2. From the Data menu, select Edit Totals. The Subtotals dialog box opens.
3. From the Definitions tab, select the type of subtotal function you want to use on the
report.
4. Click OK to complete the subtotal definition. The subtotals are displayed on the report.
For information on using subtotals in custom groups, see the Custom Groups and
Consolidations chapter in the Advanced Reporting Guide.
Filtering data
A report filter sifts the data in your data source to bring back the information that answers
exactly what you require. The following image shows a report that has not had a filter added
to it. (This is the Yearly Revenue Growth by Customer Region report, located in the sample
Tutorial project.) You can see that the filter is empty by looking at the information in the
Report details pane above the report, as shown in the image below:y
(To display report details for any report, click the Report Details icon .)
Now a filter is applied to the report, for the Eastern regions of the United States (Northeast,
Mid-Atlantic, and Southeast). The following image shows the Yearly Revenue Growth by
Customer Region report “filtered on” specific regions. You can see the filter’s definition in the
Report details pane above the report. The filter definition is {Customer Region} =
Northeast, Mid-Atlantic, Southeast.
A more complex filter is used in the next report. The report shows revenue and revenue
forecasts. The filter selects only that data related to a company’s electronics products, only
for the company’s northeastern and Mid-Atlantic US stores, and only for the current year.
The filter’s definition is:
[Category = Electronics] And [Quarter = 2006 Q1,2006
Q2,2006 Q3 or 2006 Q4] And [Region = Northeast or Mid-
Atlantic]
The report and its filter are shown in the image below.
Filters are usually created and added to reports by a report designer. For any report, you can
easily see not only whether a report has a filter applied to it, but also what that filter’s
definition is. You can view this information in the Report Details pane, as shown in the
images above. This information helps you understand exactly what data in your data source
was included in the report’s results, as well as what was excluded. For steps to view a filter’s
definition in a report, see Viewing a filter’s definition, page 85.
1. Open a report.
2. From the Tools menu, select Report Details. The Report Details pane appears,
showing a Report Description and the details of any filter that is included on the report.
You can configure the report details for a specific report, with the Report Details Formatting
option in the Report Editor, or for the entire project, with the Project Configuration Editor.
Settings configured at the report level override settings configured at the project level. For
steps to set the report details formatting options, see the Developer Help or the Advanced
Reporting Guide.
The Report Details preferences specified in the Developer Preferences dialog box override
the report details properties that control whether the following information is displayed:
l Report description
l Prompt details
l Filter details
l Definition of shortcut filters
l View filter details
l Metric details
You can change this behavior by disabling Developer Preferences for report details, as
described in the following procedure. For steps to customize report details using Developer
Preferences, see the Developer Help or the Advanced Reporting Guide.
3. To use the report details properties instead of the Developer Preferences, clear the
Apply these Developer preferences to the Report Details check box.
4. Click OK to save your changes.
Understanding hierarchies
Most data calculation in a business reporting environment is based on the concept of levels.
Hierarchies are an important part of understanding levels in MicroStrategy. To understand a
hierarchy, you must first know what a business attribute (generally called an attribute) is.
This section defines an attribute, describes a hierarchy, and then explains the concept of
levels.
Business attributes
An attribute is a business concept, such as Store, Employee, Geographical Region, or Year.
These concepts help you understand the business data (usually numbers) stored in your
data source. While knowing your company’s total sales is useful, knowing where and when
the sales took place provides the kind of analytical depth you require on a regular basis.
Attributes provide the answers to the questions “where” and “when”.
Attributes appear on reports as row headings or column headings, to tell you what the data in
that row or column is for.
Behind the scenes, attributes are MicroStrategy objects associated with one or more
columns in a lookup table within your data source. In a reporting environment, attributes
provide a context for calculating data and filtering data. Attributes help you make sense of the
business facts stored in the data source.
For example, you have a report with the Month, Year, and Region attributes on it, as well as
a Revenue metric based on the Revenue fact. When executed, the report displays your
company’s revenue by region, and for a given month and year. It might tell you that the
northeast region brought in a million dollars in revenue in the first three months of last year.
Because of the attributes on the report (Region, Month, and Year), a substantial amount of
information is available, such as which regions produced the least revenue and which years
saw the highest growth in revenue. If you remove the attributes from the report, you can only
see how much revenue the entire company grew in total, over all time.
The attributes your organization’s project designer creates are based on whatever business
concepts are important to your organization. By converting each of these important business
concepts into an individual object that can be placed on a report, concepts like Day, Month,
Quarter, and Year, or Region, City, and Customer, can appear on a report that displays data
within the context of those attributes.
Hierarchies
A hierarchy is made up of a group of related business attributes that are conceptually related
to each other. (For a description and examples of attributes, see Business attributes, page
87.)
For example, an organization’s data source tables may be updated daily with sales data, and
they may store inventory information that is updated monthly. The data source may also
store specific financial data in its tables on a quarterly or annual basis. All of this data is
stored based on the concepts of day, month, quarter, and year. Therefore, when a
MicroStrategy project is created based on the data in this data source, attributes will likely be
created to represent Day, Month, Quarter, and Year so that daily sales data can be reported,
monthly inventory can be reported, and reports of financial data can display quarterly or
annual details and summaries for corporate presentations.
If your data source contains data on daily sales figures, can you see weekly, monthly, or
annual sales figures? Yes, you can if you drill to that data, which works because of
hierarchies.
The attributes Day, Month, Quarter, and Year all share one thing in common: they are all
concepts that describe the larger idea of time. Because they are all part of the same higher-
level concept, these attributes are combined into a group called a hierarchy; in this case, the
attributes Day, Month, Quarter, and Year are combined into the Time hierarchy. Within a
hierarchy, attributes are arranged in a specific way that is based on their relationship to each
other. The Year attribute is the highest-level attribute in the Time hierarchy because it
encompasses all the other concepts of time (Day, Month, and Quarter). The lowest-level
attribute, or least-inclusive attribute, in this hierarchy is Day. This Time hierarchy is shown
below:
The example above shows a hierarchy of all the attributes that relate to the business concept
of Time. (These attributes and this hierarchy are part of the sample Tutorial project.)
This hierarchical grouping of related business attributes is useful for analyzing data in a
reporting project. For example, the sales data is stored in the data source on a daily basis.
But what if you want to see a report showing monthly sales data? Because Day and Month
are part of the same hierarchy, you can simply drill from the daily sales data displayed on the
report, up to monthly sales data. The new report you drill to (which contains monthly sales
data) is recalculated automatically based on the drilling path you select. “Drilling up” reflects
the direction you are drilling into the data in relation to where the attribute exists within the
hierarchy: you drill from Day (shown on the report) up the Time hierarchy to Month (which
appears on the new, drilled-to report).
In another example, imagine that your company is an Internet-based retailer and has its call
centers all over the U.S., and therefore stores its employee data in your data source within
the concept of geographical locations within the U.S. The related business attributes within
this idea of geographical location become part of the Geography hierarchy. An example
using sample data from the Tutorial project is shown below:
In the Geography hierarchy above, Country is the highest-level attribute and Employee is the
lowest-level attribute.
Employee might just as likely be the highest-level attribute in a hierarchy called Employee
Resources, which includes related lower level attributes like Profile (Age Range, Gender,
Nationality, Ethnicity, Education and Degree Type, Marital Status), Hire Date, Leave Date,
Date of Birth, Title, Address, Department, Division, Location, Salary Range Level, and so on.
Which attributes are grouped into what hierarchies is decided by your organization’s system
architect or project designer when a MicroStrategy project is first created. If you are
interested in complete details, see the Project Design Guide .
Be aware that the person who created the metrics on your report can change this default
level of calculation. If you have questions about what level your metric data is being
calculated for, contact your organization’s MicroStrategy report designer or metric designer.
To understand what you are doing when you are drilling up, down, or across, you should
understand the concept of hierarchies. See Understanding hierarchies, page 87 for an
introduction to this concept.
For example, you look at the revenue, cost, and profit data for all your stores, at the regional
level. The sample report is shown below.
You decide that you want to look at this information at the Call Center level. Right-click the
Region column header, and choose Drill to Call Center. A new report is automatically
created, the metrics are recalculated to reflect the new attribute that you are drilling to, and
the report displays the revenue, cost, and profit data for your stores by call center. The new
report is shown below:
Even though a report generated as a result of drilling is related to the original report, they are
two entirely different reports. The two reports can be saved or changed independently of
each other. For steps, see Tracking your drill path and naming the drilled-to report, page 91.
You can drill on attribute elements, consolidations, custom groups, and metrics, both on the
report and in the page-by field. Consolidations and custom groups are described in detail in
the Advanced Reporting Guide, but drilling on them is included in the following procedures.
Most drilling options involve attributes on reports. An attribute is a MicroStrategy object that
represents business data in your data source, such as Customer, Product, or Store. For
background information on attributes, see Business attributes, page 87.
You can control how drilling behaves on a report with the options described in this section.
You can change these options for an entire report, as described in the procedures in the
following sections. You can also change many of these options for a specific drill action,
while you are drilling in Developer. A Web administrator can also customize drill settings
under the Drill Mode page of Project Defaults.
l A user can drill up from an attribute to the attribute’s parent attribute data, for example,
drilling from Item data up to Category data.
l A user can drill across to other, related attributes, for example, drilling from Region data
across to Category data.
l Drill down only: When this option is selected in the procedure below, users can only
view data associated with objects lower in the hierarchy than the attribute on which they
are drilling. For example:
l Drilling down from the Month attribute or one of its elements, users can only drill to Day.
l Drilling down from the Category attribute or one of its elements, users can only drill to
Subcategory and Item.
For background information on drilling and how to drill on a report, see Hierarchies, page 87.
l Drill down only: Users can only view data associated with objects lower in the
hierarchy than the attribute on which they are drilling. Examples are provided
above.
4. Click OK to save your settings and close the Report Data Options dialog box.
You drill down from Region to Call Center. To do this, you right-click on Region, select
Drill, select Down, and select Call Center. If you specify that the drilled-from attribute
(called the parent attribute) is kept on the drilled-to report, Region (the drilled-from attribute)
appears on the drilled-to report along with Call Center (the drilled-to attribute), as shown
below:
If you specify that the drilled-from attribute is not kept, when you drill down from Region to
Call Center, Call Center replaces Region on the drilled-to report as shown below:
Keeping the drilled-from attribute can be helpful to trace your drilling path. However,
resulting reports can become very wide if you have many attributes and metrics. Not keeping
the drilled-from attribute can help reduce the width of drilled-to reports.
The default behavior is to keep the drilled-from attribute on the drilled-to report. Be aware
that the report’s designer may have changed the default.
You can change this option for an entire report using MicroStrategy Developer, as described
in the procedure below. In MicroStrategy Web or Developer, you can specify whether to keep
or remove the drilled-from attribute while you are drilling, for that specific drill action. For
steps, see Methods for drilling on a report, page 91.
When you drill from Region to Call Center, the revenue amounts are recalculated for the Call
Centers. For the drilled-to report, you can determine whether revenue over $2 million should
still appear bolded.
If you choose to keep thresholds while drilling, and you drill down from Region to Call Center,
Revenue amounts over $2 million are bolded on the drilled-to report, as shown below:
If you choose to remove thresholds while drilling, and you drill down from Region to Call
Center, no data is bolded, as shown below:
When deciding whether to enable this option, be aware that, when a report is drilled on,
thresholds can become meaningless. For example, if you drill up on an attribute, all the data
in the new report could potentially meet the threshold condition. Using the example above
where revenue over $2 million is bolded, if you drill up from Region to Country, the entire
report is likely to consist of revenue over $2 million. The thresholds then only clutter the
report and do not provide any meaningful information.
The default behavior retains the threshold on the drilled-to report. Be aware that the report’s
designer may have changed the default behavior.
You can change this option for an entire report using MicroStrategy Developer, as described
in the procedure below. In Developer, you can specify whether to keep or remove thresholds
while you are drilling, for that specific drill action. For steps, see Methods for drilling on a
report, page 91.
The options described in the following sections let you determine how you want drilling to
perform when you drill on a report that has one or more page-by fields:
l Drilling to a report that is unaffected by page-by fields, page 100
l Drilling to a report with page-by fields restricted to visible pages on the original report,
page 103
l Drilling to a report with one page-by field restricted and other page-by fields unaffected,
page 105
l Drilling on a report with page-by fields in the same hierarchy, page 107
If your report has two or more page-by fields that have objects in the same hierarchy, page-by
behavior changes slightly when drilling. Be sure you review Drilling on a report with page-by
fields in the same hierarchy, page 107 for details.
For steps to set these options, see Customizing drilling behavior for a report with page-by
fields, page 109.
Your goal is to have these same page-by fields, showing these same options and with the
same drop-down list of selections, in the drilled-to report.
and all subcategories, as they did in the original report, which means you can view
revenue data for other years and subcategories in the drilled-to report.
l Call Center replaces Region in the grid of the new report because Call Center was the
object you drilled down to.
You must clear the Any page-by field and Any other part of the report check
boxes to achieve this drilling behavior. To do this, see To customize drilling on a report that
has page-by fields, page 111.
Drilling to a report with one page-by field restricted and other page-by
fields unaffected
When you drill from the original report, you can include only the page-by field on which you
drill, as part of the drilled-to report’s filter. Any other page-by fields remain as they were on
the drilled-from report. As a result, the drilled-to report contains data specific to the drilled-on
page-by field visible on the drilled-from report. All other page-by fields stay the same as they
were on the original report.
To illustrate this using the same example as above, a report contains the Region attribute
and the Revenue metric, with the Year attribute and the Subcategory attribute in the page-by
fields above the report grid. The currently selected year is 2005, shown by Year: 2005 in
one page-by field. The currently selected subcategory is Art & Architecture, shown by
Subcategory: Art & Architecture in the other page-by field. The report has no filter.
The report is shown in the image below:
You must select the Any Page-by field check box and the Apply to current page-by
field option to achieve this drilling behavior. To do this, see To customize drilling on a report
that has page-by fields, page 111.
The Category and Subcategory attributes are both within the project’s Product hierarchy, as
shown on the left side of the image below. The Year attribute is in a separate hierarchy.
You leave all drilling behavior options in the Report Data Options dialog box set to default, as
shown in the image below:
However, when page-by fields contain related attributes, the behavior in the third bullet
above is slightly different.
To see the resulting report, you drill from the Subcategory page-by field down to Item. The
resulting report is shown in the image below, with the Category page-by field expanded:
When drilling from any page-by field using the default behavior settings, normally only that
drilled-on page-by field is changed so that it shows only the object that was visible in the
original report. Other page-by fields are not affected by the drilling action and remain as they
appeared on the original report.
As expected, based on your behavior settings the Subcategory page-by field was placed in
the resulting report’s filter. And as expected, the Year page-by field remains as it was on the
original report, with all years available to be selected from the Year page-by.
However, because Category and Subcategory are in the same hierarchy, in the resulting
report the Category page-by field only displays choices related to the subcategory that was
currently visible in the original report (rather than showing all items from all subcategories as
was displayed in the Category page-by field in the original report). This behavior occurs
because the higher-level attribute Category must logically reflect the elements displayed in
the lower-level attribute Item that you drilled down to. The Art & Architecture subcategory is
placed in the resulting report’s filter, and thus limits the Category page-by field to displaying
only Books.
Because these attributes are connected by their relationship within the same hierarchy, they
affect each other when you drill on one of them. This causes drilling behavior to perform
slightly differently than the default behavior described throughout this section of the manual.
In summary, in a report that has page-by fields containing attributes in the same hierarchy,
when you drill on a page-by field containing one of those attributes, all other page-by fields
with attributes in the same hierarchy are restricted to the hierarchy level of the page-by field
you drill on.
sections above. You can also refer to the table below for a quick reference to choose the
right options to achieve the drilling behavior you prefer on a given report.
The following table summarizes the options described in detail in this section of the manual:
You can change this option for an entire report using MicroStrategy Developer, as described
in the procedure below. In Developer, you can specify the page-by options while you are
drilling, for that specific drill action. For steps, see Methods for drilling on a report, page 91.
drilled-from report affects the drilled-to report, as described in the examples above:
l Any page-by field: The page-by object is added to the filter of the drilled-to report
when you drill from a page-by field. If this is selected, choose one of the following:
l Apply to current page-by field: Only the page-by object that is currently
visible is added to the filter of the drilled-to report.
l Apply to all page-by fields: All page-by objects are added to the filter of the
drilled-to report.
l Any other part of the report: The page-by object is added to the filter of the
drilled-to report when you drill from anywhere on the report’s grid. You choose to
locate the page-by drilling feature in the body of the report, where most users drill
from the data.
5. Click OK to save your settings and close the Report Data Options dialog box. When
you drill on this report in the future, your settings will determine how the page-by field
affects the results displayed in the drilled-to report.
By default, subtotals are inherited from the parent. Drill from Category to Subcategory. In the
resulting report, Region, Category, and Subcategory are displayed. Since the subtotals are
inherited, subtotals are applied across the levels of both Category and Subcategory.
Subtotals are therefore calculated for Category and Region, the attributes to the left of
Category and Subcategory. A portion of that drilled-to report is shown below.
Return to the original, drilled-from report. Specify that subtotals are not inherited from the
parent. Drill from Category to Subcategory again. As with the previous drilled-to report,
Region, Category, and Subcategory are displayed. Subcategory does not inherit its parent’s
subtotal (its parent being Category). Subtotals are still applied at the level of Category, so
subtotals are calculated for Region, the attribute to the left of Category. A portion of that
report is displayed below.
By default, the parent attribute is kept on the drilled-to report, so Category is displayed in
these examples. Return to the original, drilled-from report. Specify that the parent is not kept
when the report is drilled on. Drill from Category to Subcategory. The resulting report
displays Region and Subcategory, with no subtotals. Because Category is no longer on the
report, the across-level subtotals are no longer valid. A portion of the resulting report is
displayed below.
For information about and examples of the Keep parent while drilling option, see
Keeping or removing the drilled-from attribute in the new report, page 95.
Return to the original, drilled-from report. Specify that subtotals are inherited from the
parent. Drill from Category to Subcategory. The resulting report displays Region and
Subcategory, as with the previous report, but subtotals are calculated for Region. Subtotals
are inherited from the parent, so the across-level subtotals are transferred to the
Subcategory. Since Region is to the left of Subcategory, the report is subtotaled at that level.
A portion of that report is displayed below.
Return to the original, drilled-from report. Drill from Region to Call Center this time, so that
you are not drilling on the attribute that the across-level subtotals are defined for. The
resulting report displays Call Center and Category. Subtotals are calculated for Call Center,
because Call Center is now the attribute to the left of Category. A portion of the resulting
report is shown below.
You can change this option for an entire report using MicroStrategy Developer, as described
in the procedure below. In Developer, you can specify whether to show or hide subtotals
while you are drilling, for that specific drill action. For steps, see Methods for drilling on a
report, page 91.
This procedure assumes that the report already contains across-level subtotals. For steps,
see the MicroStrategy Developer Help (formerly the MicroStrategy Desktop Help).
Refreshing a report
As an analyst, you may find yourself regularly executing certain reports that have provided
useful information to you in the past. When you re-execute a report, how do you know that
the data that is returned reflects the most recent data available in your data source? To
answer this question, you must consider a few factors:
l The frequency with which your data source is updated.
l Whether the report you are running is being executed through the data source again, or
whether it is pulling its data from a stored cache that was created in MicroStrategy when
the report was run the first time.
Your data source may be updated on a daily basis or only biweekly. It is a good idea to
familiarize yourself with the frequency and the days or times when your data source receives
updates. This information helps you determine when it is most desirable to re-execute your
most commonly run reports, if it is important for you to see report results that reflect the latest
data.
To take advantage of recently updated data in your data storage, you must refresh the data
displayed on the report. To effectively refresh data on a report, you should take a moment to
understand your data sources.
Report caches
A report cache is a special data store within MicroStrategy software that holds information
that was recently requested from the data source to be displayed on a report. A cache is
created when a report is executed for the first time and the request is submitted to the
database to gather the latest data. The report’s results are then cached, or stored, in
MicroStrategy.
Generally, frequently requested reports are cached because future requests for the same
reports return data faster if the report has been cached. The execution time is quicker
because cached reports do not need to run against the data source. In a cache, results from
your data source are stored and can be used by new job requests that require the same
data.
Caching is a useful strategy your administrator can use to reduce demands on your
database and improve the speed of MicroStrategy’s reporting performance. However,
cached data is not always the most up-to-date, because it has not been run through your
data source since the cache was created.
You can get new data for a report that has been cached, by deleting the report’s cache
before you execute the report. (There are other ways to refresh data on a report, which are
discussed in this chapter.) Deleting the report’s cache forces the report to be executed
through your data source again, thus returning the most recent data from your data source.
You must have administrative privileges to delete a report cache.
You can see whether the results on a report have come from a MicroStrategy cache in two
ways:
l Look at the Report Details for the report. To do this, open a report and, from the View
menu, select Report Details. An example image of the Report Details pane and its
related report is shown below:
In the Report Details pane above, the last line shows whether the cache was used
to populate the report with data. For this report, the answer is Cache Used: No.
l Look at a report in SQL view. To do this, from the View menu select SQL View. As
shown in the image below, for this report the 5th line says Cache Used: Yes.
1. Determine whether the prompt lets you save prompt answers as personal answers.
You can tell whether a prompt will let you save a personal answer if the Remember
this answer check box (for a single personal answer) or the Save this answer
check box (for multiple personal answers) is displayed.
2. If the Remember this answer check box is displayed, only one prompt answer
(which can contain multiple items or qualifications) can be saved.
To save the personal answer, select the Remember this answer check box. The
items that you selected are saved as the personal answer for this prompt. They are
displayed, to be used again if you choose, when you re-execute this report and also for
any other report that uses this prompt.
3. If the Save this answer check box is displayed, you can save and name multiple
personal answers.
a. To save the personal answer, select the Save this answer check box.
b. Type a name in the Name field. Create a descriptive name that will remind you
of the details when you see it at a later date.
c. You can set this personal answer as the default, so that it displays when you are
presented with this prompt again, either on this report or another.
You do not have to save the report to save a personal answer; the personal answer is
saved automatically when one of the check boxes above is selected.
l To save it as a prompted report, select the Keep report prompted check box.
The report is saved with active prompts. When you execute the report in the future,
you are prompted for answers again.
l To save it as a static report, clear the Keep report prompted check box. The
report is saved with the currently displayed report and filter information. When you
execute the report in the future, you are not prompted again.
5. If you save it as a prompted report, you can choose whether or not to use the current
prompt answers as the default prompt answers when you run the report again, as
described below:
l To save the current prompt answers as the default prompt answers, click
Advanced Options. Select the Set the current prompt answers to be
the default prompt answers check box. When you run the report again, the
prompt answers that you selected are displayed as the default prompt answers.
You can choose to use the default answers or change them.
l To use the default prompt answers defined in the prompt, click Advanced
Options. Clear the Set the current prompt answers to be the default
prompt answers check box. The prompt answers that you selected are not
saved with the report. When you run the report again, the default prompt answers
defined in the prompt are displayed. You can choose to use the default answers or
change them. If default prompt answers have not been defined in the prompt, no
default answers are displayed.
6. Click OK. Your selections are saved.
Prerequisites
Make sure you review the following prerequisites before you create a report in
MicroStrategy. They can save you time and make your report results more effective, thus
making data analysis much easier.
l Define your business query: Before you can determine what objects to place on a new
report, you need to know what data you want to see displayed on a report. MicroStrategy
reports answer business questions that can be answered with the help of the data stored
in your data source. To define your business question, make sure you consider the
following questions:
l What is the main topic area the report needs to address? In other words, at a general
level, what do you need to know?
l What level of detail do you need? For example, do you want complete details, or do you
only want to see a few key measurements of particular data? Key measurements can
be useful for a business meeting or high-level presentation.
l Look for existing reports: Before you create a report or document, search through
MicroStrategy to see whether a similar report already exists that can serve the same
purpose as the report you intend to create. This can not only save you time, it can help you
avoid unnecessary duplication in your MicroStrategy project.
l Look for appropriate report objects: Do objects already exist in the project which match
what you want to see on a report? If not, a report designer can create them.
l The objects which you will use to create a report must already be created in a
MicroStrategy project. Report objects are generally created by the project’s designer
when the project is first created, and by report designers.
l Understand how your MicroStrategy project reflects your data source: Since you use
objects to create reports, it can be useful for you to understand how the project’s objects
reflect the actual data in your organization’s data source. In this way, you can choose
objects to use on reports with full knowledge of the data source tables that data is coming
from when the report is executed.
It is not necessary to have in-depth knowledge of your MicroStrategy project’s design if you
are creating quick reports for analysis, but if you desire more details on project design and
data modeling, see the Project Design Guide.
This procedure assumes that a project designer has created a project in MicroStrategy that
reflects your organization’s stored data, and the project contains templates and filters.
You can search for a template, by typing the word to search for in the Search for field and
clicking the Search icon.
You can search for a filter, by typing the word to search for in the Search for field and
clicking the Search icon.
This procedure assumes that a project designer has created a project in MicroStrategy that
reflects your organization’s stored data, and the project contains attributes and metrics.
When you are finished adding attributes, add the metrics for your report under Choose
the metrics of the report.
2. Select one or more metrics and click the Add arrow to move them to the Selected
pane.
Generally, one or two metrics is sufficient to add to the report, depending on the business
query you are trying to answer with the report.
When you are finished adding metrics, you can add filtering conditions to your attributes
under Qualify on any attribute.
If you do not want to include an attribute filter, proceed to the next subtask in this procedure,
To include a metric filter on the report, page 132. However, most reports use a filter to limit the
quantity of data returned from the data source, and to help focus the report on a specific
business question.
1. Under Qualify on any attribute, navigate through the hierarchies displayed in the
Available pane. Alternatively, type the name of the hierarchy in the Search for
field.
Hierarchies group all the attributes in your project into logical subsets. For example,
the Day, Week, Month, and Year attributes might all be grouped into a Time hierarchy.
2. Double-click the hierarchy that holds the attribute you want to filter data for. The
attributes within that hierarchy are displayed in the Available pane.
3. Select the attribute you want to use a filter on, and then click the Add arrow to move it
to the Selected pane.
It is generally simplest to select an attribute that is part of your report, unless you need
an attribute filter that relies on a different attribute.
4. For each attribute moved to the Selected pane, select one of the following options,
depending on how you want to filter the attribute data:
l Return results that only show data related to specific elements of the attribute. For
example, the attribute Customer might have the elements John Smith, Jane Doe,
William Hill, and so on. You can filter data to display a list of only those customers
(those elements) that you specify.
l To create this kind of filter, from the filter’s expression, first choose Select and then
choose the In List operator. Click Empty to display the attribute’s elements.
Then, select the elements on the left and click the arrow to move them to the right.
Click OK.
l Return results that show all the attribute’s data EXCEPT for the specific elements
you define. Using the example in the bullet above, you might specify certain
customers whose data you do not want to see.
l To create this kind of filter, from the filter’s expression, first choose Select and then
choose the Not In List operator. Click Empty to display the attribute’s
elements. Then, select the elements on the left and click the arrow to move them to
the right. Click OK.
l Experiment with other options to create the exact filter you want. For guidance:
l Click Help. Details on every combination of choices is available, along with links
to steps for creating more complex filters.
l Attribute qualifications are discussed in detail in this manual, in Filtering data
based on business attributes: Attribute qualifications, page 174.
When you are finished defining your attribute filter, you can add filtering conditions for your
metrics in the report under Qualify on any metric.
If you do not want to include a metric filter, proceed to the next subtask in this procedure, To
finish your report, page 133.
1. Under Qualify on any metric, in the Available pane, select the metric on which
you want to use a filter. Alternatively, type the name of the metric in the Search for
field.
2. Click the Add arrow to move the metric to the Selected pane.
It is generally simplest to select a metric that is part of your report, unless you need a
metric filter that relies on a different metric.
3. For each metric moved to the Selected pane, select one of the following options,
depending on how you want to filter the metric data:
l Return results that show all data greater than a specific amount.
l To create this kind of filter, from the filter’s expression, select the Greater than
operator. Click Value and in the Enter Value field, enter the number that all
calculated values should be greater than.
l Return results that show data that is outside a particular range of values.
l To create this kind of filter, from the filter’s expression, select the Not Between
operator. Click the first Value and in the Enter Value field, enter the number that
marks the lower end of the range. Click the second Value and in the Enter Value
field, enter the number that marks the higher end of the range.
l Click the Operator drop-down list to see the many other common operators you can
define your filter with. Experiment with other options to create the exact filter you
want. For guidance:
l Click Help. Details on every combination of choices is available, along with links
to steps for creating more complex filters.
l Metric qualifications are discussed in detail in Filtering data based on attribute
relationships or metrics: Set qualifications, page 185.
This chapter assumes you are familiar with all the other chapters in this guide. The other
chapters contain introductory information on the user experience with basic functionality in
the MicroStrategy environment.
Report designers design a reporting context or environment in which report analysts can
successfully analyze business data. This environment allows report analysts to work within
defined limits, ensuring that business data can be easily and quickly analyzed, as well as
making sure that only reasonable queries are submitted to the database. Reasonable means
that irrelevant data sets cannot be created, nor can huge amounts of data be retrieved from
your data source, which can hamper system performance.
These roles allow a defined group of report designers to be trained on more advanced report
functionality, while report analysts can manipulate reports without needing to understand the
details of creating reports. Report analysts are not required to have a thorough
understanding of the project. These users can analyze data, generate new reports from
existing reports through drilling, and create quick and easy reports using Report Builder,
which can all be performed in a controlled, user-friendly environment.
For example, a report designer might design a report for the sales department that displays
data on the organization’s annual regional revenue, including product brands. The report
designer places the attributes Customer Region, Category, and Brand on the report, and the
metrics Profit, Revenue, and Revenue Rank by Region. (To view this actual report, see the
Brand Performance by Region report in the MicroStrategy Tutorial project.) A report analyst
can then execute this report and drill to see details about revenue and profits for only the
states in the Northeast region. Another report analyst can execute the same report, drill on a
different object on the report, such as the brand Son, and view revenue and profits for a
single item in the product line that concerns him.
There are numerous ways to design reports, each one giving users a slightly different data
analysis experience. For example, you can design reports that prompt users for an answer
about the type of data they want to view, before the report is run. Each user then sees report
results specific to how he answered the prompts. A prompted report might allow users to
select from certain attribute elements to create their own personalized version of the report.
(Elements of an attribute are the values of an attribute. For example, 2011 and 2012 are
elements of the Year attribute, while New York and London are elements of the City
attribute.)
A report designer can also add to a report a selection of extra functionality for users. For
example, drill maps define specific paths for users to navigate through the data. Drilling is a
report manipulation method through which the user requests additional information that is
directly related to the information available in the current report. After running a report, you
can allow users to drill to various levels on the report. For example, with a drill map in the
Brand Performance by Region report discussed above, a report analyst might drill from the
regional level down to the State level, then down to the City level, then drill further down to
view data for individual customers. Each drilling displays a new report.
Each of these report design methods is described in this chapter:
l For information on creating prompts and adding them to a report, see Asking for user
input: Prompts, page 206.
l For information on drilling, see Drilling into related data, page 90 in Chapter 3, Analyzing
Data.
l For information on drill maps, see Enabling drilling and customizing drill maps, page 286.
l For information on creating metrics, see Calculating data on a report: Metrics, page 144.
l For information on creating a report, see Creating a grid report, page 251.
MicroStrategy objects
All reports have specific business objects placed on them. Those objects determine what
data is gathered from your data source, how that data is calculated, and how the results are
displayed when each report is run. Therefore, to create a report, you must first determine
whether the objects you want to place on it already exist. If they do not, you must learn how
to create the objects you want.
Objects used on reports include such things as:
l Attributes: An attribute is a business concept, such as Product, Employee, Month, and
so on. Attributes provide a context for metrics (described below). Attributes based on the
data in your data source should have already been created by your company’s project
designer. An attribute on a report serves as a label for a group of metrics. To use attributes
on a report, see Providing business context to a report: Attributes, page 143.
l Metrics: A metric is a business measure or key performance indicator, such as
Revenue, Profit, Employee Headcount, or Probability of Purchase. From a practical
perspective, metrics are the calculations performed on data stored in your database, the
results of which are displayed on a report. A metric on a report shows a list of values used
for analytical calculations. To create metrics and use them on reports, see Calculating
data on a report: Metrics, page 144.
l Filters: A filter sifts the data in your data source to bring back the information that
answers exactly what you require. To create filters and use them on reports, see Filtering
data on a report: Filters, page 169.
l Prompts: A prompt is a question the system presents to a user during report execution.
How the user answers the question determines what data is displayed on the report. To
create prompts and use them on reports, see Asking for user input: Prompts, page 206.
The objects you can create in MicroStrategy fall into one of three groups: schema objects,
application objects, and reports and documents.
l Schema objects: Schema objects are generally created by a project designer and
include such things as facts, attributes, hierarchies, and transformations. Schema objects
are building block objects; they are used to create application objects. For information on
how to create these types of objects, see the Project Design Guide.
l Application objects: These objects are used to create reports. Application objects are
generally created by a report designer and are built from schema objects. This chapter
describes how to create these types of objects. Samples of each type of application object
are located in the Public Objects folder in the Tutorial project.
l Report and document objects: Reports (and documents, if you own MicroStrategy
Report Services) are built from application objects. Reports and documents are the
objects that display the results calculated from your data for analysis purposes. Reports
and documents are generally created by a report designer. This chapter describes how to
create these types of objects.
The objects in each group, and their related icons, are shown in the following diagram. Take
a moment to familiarize yourself with the icons for application objects and reports, so you can
quickly identify objects you want to use in the MicroStrategy interface:
Application objects must be created and saved within a project before they can be used on
reports.
MicroStrategy projects
Conceptually, a project in MicroStrategy is the environment in which all related reporting is
done.
The image below shows the default projects that appear if all default installation options were
accepted during MicroStrategy installation. The projects in the image below include
MicroStrategy Tutorial and My First Project, as well as other sample projects.
A typical project contains reports, filters to qualify the report data, metrics that calculate the
data, attributes that provide context for the metric data, and mathematical functions. Projects
generally also contain other schema objects and application objects. This chapter introduces
you to basic attributes, metrics, filters, and prompts. For detailed information on and
examples of other report objects, see the Advanced Reporting Guide. For interface-specific
information on report objects, click Help.
The image below shows some dashboards in the MicroStrategy Tutorial project, within the
Billing Managers folder on the left. Objects within a selected folder on the left (in this case,
the folder called Billing Managers) appear on the right side of the screen.
Generally, a report designer places various MicroStrategy objects such as filters, metrics,
and attributes on reports, thus creating reports for business users to run and analyze.
If you do not have a working project yet, you can use the Tutorial project with most of the
procedures in this chapter to learn how to create the various report objects in MicroStrategy.
For information about what the Tutorial project is and how to access it, see About sample
data and the MicroStrategy Tutorial project, page 3.
1. In MicroStrategy Web, right-click the object for which you want to create a shortcut
and select Create Shortcut. A dialog box opens.
2. Navigate to the folder in which to create the new shortcut and click OK. The shortcut is
created in the specified folder. For example, you can save shortcuts in your My
Objects folder within your project.
3. By default, the name of the shortcut is the same as the name of the object. To rename
the shortcut, right-click the object and select Rename. Type a new name for the
object and click the Apply icon . The name of the shortcut is updated.
Metrics terminology
The following terms are used throughout this guide and the MicroStrategy Web Help and the
Advanced Reporting Guide to describe aspects of metrics. It is useful to understand their
relationship to each other if you want to develop a logical approach to creating metrics.
Metric formula: A metric’s formula is made up of a mathematical function and the
business facts stored in your data source. A metric’s formula can also consist of other
metrics.
Metric expression: A metric’s expression is made up of all the metric components
displayed when a metric is opened in the Function Editor: formula (described above), level,
condition (if any), and transformation (if any).
Metric definition: A metric’s definition includes the metric’s expression, plus any
software settings applied to the metric.
1. In MicroStrategy Web, on the left, click Create, then select New Metric. The Metric
Editor opens in Function Editor mode.
2. Select the function to use to calculate data in the metric. You can narrow the list of
functions displayed in the pane by doing one of the following:
l To search for the function by name, type the function's name in the search field.
l Choose a function category from the drop-down list, such as Math Functions or Financial
Functions. The pane is updated to include only the functions that belong to the selected
category.
When you select a function, a description of the function is displayed at the bottom of the
dialog box. Click Details to view more information about the function, such as syntax
and examples.
Click any metric within the MicroStrategy software to open that metric and view the metric’s
definition.
Most metrics open in Function Editor mode in the Metric Editor. Compound metrics and
custom metrics open in Formula Editor mode in the Metric Editor. For details on compound
and custom metrics in the Formula Editor, click the MicroStrategy Web Help.
All of the terms in the definitions above are described in the following pages.
The example above shows a hierarchy of all the attributes that relate to the business concept
of Time. (These attributes and this Time hierarchy are part of the sample Tutorial project.)
The attribute Year is higher than Quarter, Month, or Day, because it appears above those
other attributes. The highest level attribute is usually the attribute that reflects the most-
inclusive business concept. In this hierarchy, Day is the lowest-level attribute and reflects the
least-inclusive business concept.
In another example, suppose that your company is an Internet-based retailer and has its call
centers all over the U.S. Your company therefore stores its employee data in your data
source within the concept of geographical regions within the U.S. The related business
attributes within this idea of geographical region become part of the Geography hierarchy.
An example using sample data from the Tutorial project is shown below:
In the Geography hierarchy above, Country is the highest-level attribute and Employee is the
lowest-level attribute.
A metric’s level (sometimes called dimensionality) determines the level at which the metric is
calculated. Therefore, every metric must have a level as part of its definition. By default, a
metric is calculated at the report level, which means it is calculated at the level of the attribute
on the report in which the metric is placed.
When more than one attribute is on a report, as is generally the case, a metric is calculated
by default at the level of the lowest-level attribute that is on the report. The lowest level is
usually the attribute that reflects the least-inclusive business concept. For example, a report
shows your company’s revenue listed by month and year. The report therefore contains the
Revenue metric and the attributes Year and Month. Is the Revenue metric going to be
summed up and displayed by year? Or is it going to be summed up and displayed by month?
The metric results by default are calculated to reflect monthly sales data, since Month is a
less-inclusive, or lower-level, concept than Year.
Determining calculation level
In MicroStrategy, the level at which a metric is calculated is displayed in both the Function
Editor and the Formula Editor.
In the Function Editor, the level appears in the Level area, as shown below, where it is listed
as Report Level:
In the Formula Editor, the level appears within curly braces, as shown below.
l {~} denotes the default metric level. If the default level is changed, the name of the
attribute that represents the new level appears between the curly braces.
l {~+} denotes that the metric is calculated at the level of the lowest attribute on the report,
which is the default calculation level for a metric.
Following are examples of metric formulas with the level displayed at the end of the formula:
Sum(Revenue - Cost){~+}
Sum(Abs (Revenue - Cost)){~+}
The level at which a metric is calculated can be changed. In a report that shows Revenue,
Year, and Month, which means the metric on the report measures revenue by year and
month, you might change the Revenue metric’s level from the default of Month (which is the
level of the lowest attribute on the report,) and redefine the level as Year. The metric then
calculates at the Year level, and the report results display yearly sales data. This metric
appears in the Formula Editor as:
Revenue {Year}
For examples of more complex metrics with various levels, see the Advanced Metrics
chapter of the Advanced Reporting Guide.
Components of a metric
The pieces, or components, of a metric include such things as the metric’s mathematical
formula, the business context in which to calculate the formula, and so on. When you define
the components that make up a metric and then adjust any specific settings for the metric,
you create a definition for that metric.
A metric definition contains some components that are required, and some components that
are optional. The components you decide to include in the metric’s definition are based on
the calculations you want to be performed on the data in your data source, and thus the
results to be displayed when that metric is placed on a report and the report is executed.
Mathematical formula
A metric definition must contain a formula, which determines the data to be used from your
data source and the calculations to be performed on that data. An example of the formula of
a metric is
Sum(Cost)
where Cost is a fact stored in the data source. (Facts are one type of business data, typically
numeric, stored in a data source.) The metric formula above calculates the sum of all costs
recorded in the data source, to determine a measure of a company’s expenditures.
A metric formula can be made up of facts in the data source (as in the example above),
business attributes in the data source, or other metrics that have already been created. The
following examples of metrics show these different formula options:
l Metric made up of facts: (Sum(Profit) + Sum(Cost))
This metric’s formula adds all profits recorded in the data source, adds all costs recorded
in the data source, and then adds the cost total to the profit total.
l Metric made up of attributes: Count(Employee)
This metric’s formula counts the total number of company employees recorded in the data
source. (An attribute is a business concept that is reflected in your stored business data,
such as Year or Customer or Product. Attributes provide a context in which to evaluate
metric data.)
l Metric made up of other metrics: [This month’s profit] - [Last
month’s profit] / [Last month’s profit]
This metric’s formula subtracts last month’s profit (a metric) from this month’s profit
(another metric), then divides the result by last month’s profit to determine the percent
difference in profit from last month. Existing metrics can be part of a newly created metric’s
formula, and thus they become part of the new metric’s definition.
A metric that contains other metrics is called a compound metric. Compound metrics
are discussed in Metrics made up of metrics: Compound metrics, page 156.
If you are familiar with SQL syntax, a metric’s formula is included in the SELECT clause of a
SQL statement.
A metric formula that is shared among many metrics is called a base formula; for details, see
Required metric components, page 151.
Function
Most metrics must also have a mathematical function as part of the metric formula. The
function is part of the formula.
In the examples above, the functions are Sum and Count. If a formula did not have a
function, a metric formula might consist solely of the Cost fact or the Profit fact, and the data
results of such a formula would simply be the extensive list of all the costs or profits ever
recorded in the tables in your data source.
The default function for every formula made up of facts is Sum. The default function for every
formula made up of attributes is Count.
Once your formula is in the Function Editor, you can change the function, of course.
MicroStrategy provides over a hundred functions that can be a part of all calculations,
whether simple or complex. For a description and examples of every function available, see
the Functions Reference . You can also create your own functions. See the Advanced
Reporting Guide for information on creating your own functions.
Arithmetic operators
A metric’s formula can also contain one or more arithmetic operators. You can add an
arithmetic operator to a metric’s definition in the Formula Editor (to access the Formula
Editor, from the Function Editor click the Switch to Formula Editor link). Place the
cursor in the appropriate location in the metric’s formula and type the operator, such as + or
-. When you are finished changing the formula, click Validate to validate your formula.
only, and only for your subsidiaries in the northwest region. You can create a filter consisting
of Employee=Contractor and Region=Northwest. You then apply this filter to the report, and
your results appear and are calculated for only the data that your filter specifies.
A filter is a condition placed on data from your data source. A filter placed on a report as a
whole screens overall report data. You can also apply a filter directly to an individual metric
on a report. A filter applied this way screens only the data related to that individual metric.
The filter becomes part of that metric’s definition.
In this context, the filter is called a condition and the metric to which the filter is applied is
called a conditional metric. A condition is not required in a metric’s definition; this is an
optional metric component. Applying conditionality to a metric forces the calculation of a
metric to be qualified by the metric’s filter irrespective of what is specified in the report filter, if
one exists.
For example, you want to create a report with multiple metrics: Cost, Profit, and Sales. You
want to apply a time filter, January 2007, so that users only see data for January, 2007 when
the report is executed. To achieve this, you create a report filter for January 2007 and place it
on the report. However, for one metric, Sales, you want to show all the values for the entire
year 2007. You want this one metric to ignore the filter on the report. By creating a condition
for the Year=2007 and adding it to the Sales metric’s definition, when the report is run the
Sales metric ignores the report filter (January 2007) and uses its own condition (2007) to
calculate and display the sales for the entire year 2007.
To apply conditionality to a metric, you define a filter (a condition) as part of the metric’s
definition so that only data that meets the filter conditions is included in that metric’s
calculation.
1. Click the metric you want to see the definition for. The metric opens in the Function
Editor.
2. The metric’s condition is shown in the Condition area:
l In the example below, there is no filter displayed in the Condition area, so this metric has
no condition applied to it.
l In the example below, the Condition area shows the Web Sales filter, so this metric has a
filtering condition as part of its definition. The condition filters data by looking at only those
sales that occurred on the web.
While you can only use one filter on a metric, that single filter can contain multiple filtering
criteria.
For details on filters generally and on creating various types of conditions for filters, see
Filtering data on a report: Filters, page 169.
For information to create and use a conditional metric, as well as additional examples on
conditionality, information on conditional metrics with multiple conditions and levels, and
details on how conditional metrics interact with report filters, see the Advanced Metrics
chapter of the Advanced Reporting Guide.
applied to it. For example, you create a metric to calculate revenue. If you add a
transformation named Month to Date to that metric, the new metric (a transformation metric)
calculates month to date revenue, or the sum of revenue this month, up to today’s date. The
following image shows the resulting report from this example:
Any transformation can be included as part of the definition of a metric, and multiple
transformations can be applied to the same metric.
l In the example below, the transformation transforms Month to Last Month and Day to Last
Month’s Day, so this metric has a transformation as part of its definition.
For details to use a transformation with a metric, and for more information on metrics that
use transformations, refer to the Advanced Metrics chapter of the Advanced Reporting
Guide. For information on creating transformations, see the Project Design Guide.
Metrics that do not accept a transformation
Certain types of metrics can only have a transformation applied to their constituent parts, not
to the metric as a whole. These restricted metrics are called compound metrics. See Metrics
made up of metrics: Compound metrics, page 156 for a description and examples of these
types of metrics.
Base formulas
A base formula is a standard metric formula that is saved and then used in multiple metrics. A
base formula is typically a common expression used in a large number of metrics.
A base formula saves time. As you create metrics, you do not have to type the common
formula repeatedly but can instead re-use the formula by adding the base formula to each
new metric.
A base formula used in a metric is linked to that metric as a shortcut. This means that when
you update the base formula, it is automatically updated in all metrics in which it is used.
Base formulas only contain calculation information; they do not include level information or
conditionality, and you cannot use them to perform transformations or calculate subtotals.
For steps to create a base formula, add a base formula to a metric, or remove the base
formula from a metric, see the MicroStrategy Developer help (formerly the MicroStrategy
Desktop help).
To see the full expression for a metric that contains a base formula, in Developer, open the
metric in the Metric Editor, and then, in the Metric metricname is defined as area, select
Formula.
a metric contains any of the following elements, it is a compound metric and can only have
levels, conditions, and transformations applied to its individual parts:
l A metric is a compound metric if it uses a non-group function, which includes OLAP
functions and scalar functions. (For details on the all functions available in MicroStrategy,
see the Functions Reference.)
l A metric is a compound metric if it consists of two or more existing metrics joined by an
arithmetic operator (+, -, *, and /).
Each of these compound metric types is described with examples below.
One advantage of compound metrics compared to simple metrics is that compound metrics
can use smart totals. Smart totals define the evaluation order for the final calculation. For
more information on smart totals, see Totals and subtotals, page 161.
Levels, conditions, and transformations cannot be set on a compound metric, although they
can be applied separately on the constituent metrics that make up the compound metric. For
more information on compound metrics and examples of compound metrics used in reports,
refer to the Advanced Metrics chapter of the Advanced Reporting Guide.
If you switch to the Formula Editor, you do not see the syntax for the level, as you did in the
previous example (see Compound metric with an arithmetic operator, page 157). You do not
use a level, condition, or transformation with a compound metric. You can apply a level,
condition, or transformation to the Cost metric that is used in this compound metric, by
editing the Cost metric.
Creating a metric
You create a metric using the Metric Editor. You can also use the Metric Editor to modify an
existing metric. For an image of the Metric Editor, see Viewing and working with metrics: The
Function Editor, page 144.
When you create a metric, you define its formula, enable a total or subtotal if you want, and
determine a function for dynamic aggregation. The following steps walk you through this
process in the Metric Editor.
After you create a metric, you can then include it on a report. When placed on a report, the
metric becomes part of the report’s definition and determines the data displayed each time
the report is executed. For steps to add a metric to a report, see Reports: Adding metrics to a
report, page 258.
To create a metric
1. From the MicroStrategy home page, click New Metric . If you are on a folder
page, click Create on the icon bar on the left, then select New Metric. The Metric
Editor opens in Function Editor mode.
2. Select the function to use to calculate data in the metric. You can narrow the list of
functions displayed in the pane by doing one of the following:
l To search for the function by name, type the function's name in the search field.
l Choose a function category from the drop-down list, such as Math Functions or Financial
Functions. The pane is updated to include only the functions that belong to the selected
category.
When you select a function, the function is added to the metric and a description of the
function is displayed at the bottom of the dialog box. Click Details to view more
information about the function, such as syntax and examples.
l If you selected a non-grouping function, such as data mining, date, OLAP, and ranking
functions, you are presented with options to define the input values (called arguments) for
the function, as well as any parameters you can use to determine the behavior of the
function. For guidance on arguments and parameters for the selected function, click
Details at the bottom of the dialog box. Perform the following steps:
a. Depending on the function that you selected, you may need to determine
arguments. For each argument listed, type a value or click the Browse icon to
find the metric, fact, prompt, or other compatible object to use as input values of the
function.
An argument is the input value of a function. For example, you can select the Profit
fact as the argument of the Average function, to calculate the average profit.
b. Depending on the function that you selected, you may need to define parameters.
For each parameter listed, type a value or select the parameter value from the drop-
down list.
Parameters determine the behavior of the function. For example, the NTile function
requires two parameters, Ascending and Tiles. Ascending controls whether the
NTiles are ordered in ascending or descending order, while Tiles determines the
number of splits.
For an overview of OLAP services, see OLAP Services, page 13. For details to set up and
use dynamic aggregation, see the Reports chapter of the Advanced Reporting Guide.
Grand totals (usually called totals) and subtotals allow users to control how metrics are
further calculated at different levels (such as by quarter, by year, by region, and so on), and
they can be applied dynamically by the analyst to any report on which a metric is used that
has the totals or subtotals enabled.
When you enable a total or subtotal for a metric, you select a function by which the metric
should be aggregated to display the total or subtotal. You can use one of many standard
functions such as total, count, minimum, maximum, standard deviation, and others.
You can also create your own functions to be used with subtotal calculations. For details on
creating your own function, see the Advanced Reporting Guide.
For more advanced information on subtotals, see the Advanced Reporting Guide.
1. In MicroStrategy Web, click the metric for which you want to enable a grand total or
subtotals. The Metric Editor opens in either Function Editor mode or Formula Editor
mode, depending on the type of metric you chose to edit.
2. Click the Options icon . The Advanced Metric Options dialog box opens.
You may want to remove, or disable, a grand total or subtotals for a particular metric. For
example, if the metric counts inventory numbers, subtotals may be irrelevant and should
therefore not be displayed on a report.
1. In MicroStrategy Web, click the metric for which you want to enable a grand total or
subtotals. The Metric Editor opens in either Function Editor mode or Formula Editor
mode, depending on the type of metric that you chose to edit.
2. Click the Options icon . The Advanced Metric Options dialog box opens.
Smart totals
Smart totals are also referred to as smart metrics. Smart totals are used on compound
metrics.
Smart totals allow you to change the default evaluation order of a compound metric. For
details on what a compound metric is, see Metrics made up of metrics: Compound metrics,
page 156. Smart totals calculate subtotals on individual elements of the compound metric.
For example, a smart metric uses the formula Sum (Metric1) / Sum (Metric2) rather than
Sum (Metric1/Metric2).
The smart metric property is available for compound metrics and for some simple metrics
which combine two or more calculation formulas with arithmetic operators. To enable or
disable smart metrics, use the Allow Smart Metric check box on the Advanced Metric
Options dialog box in the Metric Editor.
For example, consider the following report.
If you choose to display the grand total for the report without using smart totals for the Ratio
of Discount to Revenue metric, you get the following results.
However, the Total value in the last column is incorrect; it is displaying a sum of the
percentages of the Ratio of Discount to Revenue metric. To calculate a meaningful total
value for this metric, enable smart totals by editing them in the Metric Editor and selecting the
Allow Smart Metric option. When you select the Allow Smart Metric check box, you get
the following correct results.
Year Total Sales Discount Sales Ratio of Discount Sales to Total Sales
A more complex business example for smart totals is provided in the Advanced Metrics
chapter of the Advanced Reporting Guide.
1. In MicroStrategy Web, click the metric for which you want to enable or disable smart
totals. The Metric Editor opens in either Function Editor mode or Formula Editor
mode, depending on the type of metric that you chose to edit.
2. Click the Options icon . The Advanced Metric Options dialog box opens.
Formatting a metric
Metrics can be formatted independently of the report(s) on which they appear. When you
format a metric, you can format the metric’s column or row header, and you can also format
the data that will appear for that metric.
You can apply special formatting to numeric values that appear when a metric is calculated,
such as currency, percentages, and date format style. You can apply special font styles and
sizes, and you can determine cell background colors or patterns. This formatting can help
analysts more easily identify specific data. For example, you might have all sales data appear
in a blue font, while profit data appears in a bold green font.
Metric formatting can be performed using either of the following interfaces:
l Metric Editor: Use this method to format one metric at a time. Formatting changes made
using this method affect the metric no matter which report the metric is included on. For
details on accessing the Metric Editor, see Viewing and working with metrics: The
Function Editor, page 144.
l Find and Replace feature: Use this method to format a number of metrics at one time with
the same format.
For information about using the Find and Replace feature to format metrics, see the
Advanced Reporting Guide. For specific steps to use the feature, as well as information on
each option in the software, open the Find and Replace feature from Developer’s Tools
menu, and then click Help.
For information to format metric data on a report so that the formatting applies to that report
only, see Formatting for easier data analysis, page 276.
Number formatting is only relevant for metric values. If a number appears in your report
results that does not reflect a metric calculation, such as a list of product identification
numbers, you cannot format the data.
l Alignment: Control vertical and horizontal alignment of data within a cell, and select
whether or not to wrap text. For example, you can right justify and pad the data.
l Font: Select the font name, script, size, and color of the data; whether the font is bold,
underlined, or italicized; and whether to strikeout the text.
l Borders: Select the style and color of the border line. You can select which borders (top,
bottom, left, and right) are displayed, or hide all the borders.
l Background: Apply a background color, including a gradient.
l Graph: Apply a background color for a metric when it is displayed as a series in a graph
report. (Available for metric headers.)
By default, the graph color that you define for a metric overrides any default color schemes for
the graph report, although you can disable this metric formatting. For more detailed steps, see
Defining a graph color for metrics, page 45.
1. In MicroStrategy Web, click the metric you want to format. The Metric Editor opens in
either Function Editor mode or Formula Editor mode, depending on the type of metric
that you chose to edit.
2. Click the Format icon . The Format dialog box opens.
3. Select the area of the metric to format by selecting one of the following from the drop-
down list at the top left:
l To format the metric column headers (the titles), select Metric Headers.
l To format the metric values (the numbers calculated by the metric), select Metric
Values.
4. From the left, select the type of formatting to define for the metric:
l Number
l Alignment
l Font
l Borders
l Background
l Graph (available only for metric headers)
Select the appropriate options to define the formatting for the metric. Click Help to
see details on all the available options.
5. Repeat the appropriate steps above to add additional formatting as desired.
6. Click OK to save your selections and close the Format dialog box.
7. Click Save to save the metric with your new formatting. A confirmation message
displays.
8. Click OK to close the Metric Editor.
1. In MicroStrategy Web, click the metric you want to format. The Metric Editor opens in
either Function Editor mode or Formula Editor mode, depending on the type of metric
that you chose to edit.
2. Click the Format icon . The Format dialog box opens.
3. Select the area of the metric to format by selecting one of the following from the drop-
Editing a metric
You can open an existing metric in the Metric Editor. The metric is ready to be edited.
1. In MicroStrategy Web, click the metric you want to format. The Metric Editor opens in
either Function Editor mode or Formula Editor mode, depending on the type of metric
that you chose to edit.
2. Use the information above for various metric components and types of metrics to edit
your metric according to your needs, as follows:
l To change the formula or the function in the formula, see Components of a metric, page
150 or Creating a metric, page 159.
l To change or add an arithmetic operator, see Components of a metric, page 150.
l To change or add totals or subtotals, see Totals and subtotals, page 161.
l To edit the appearance of a metric or its values, see Formatting a metric, page 165.
l To create a custom number format, see Formatting a metric, page 165.
If you are familiar with SQL syntax, a filter is equivalent to the WHERE clause in a SQL
statement.
Filters are helpful in clarifying large quantities of data and only displaying subsets of that
data, so reports show users what they really need to see. For example, you want to
determine the number of injuries to your delivery personnel in 2005 that may have been due
to bad winter weather in the northeastern U.S. You also want to know the time of day when
most injuries occurred. You place the Delivery Location and Delivery Time attributes on your
report. You also place the Number of Reported Injuries metric on the report. But you only
want the report to display injuries in your northeast region during the winter of 2005. Without
a filter, you would have to sift through a lot of report data on your own. By creating a filter that
includes Northeast Region, January 2005, and February 2005, and using that filter on the
report, the data displayed when the report is executed is limited to that geographical region
and season.
In another example, consider the following diagram, which shows a table of data filtered by
three different filters.
Each filter returns a different result set. Filters ensure that the report results contain only the
data that answers the specific business query the report was designed to answer. It is
important to design the correct filter to retrieve the desired data.
Filters are most commonly used on reports, to filter all the data the report would otherwise
retrieve from the data source and display to users. However, filters can also be used with a
specific object on a report, such as on a metric. A filter placed on a metric only filters data
related to that metric. When used on a metric, a filter essentially “goes with” the metric so that
whatever report the metric is placed on, the filter is always part of that metric. (This type of
metric is called a conditional metric. For details on conditional metrics, see the Advanced
Reporting Guide.)
Filters are an important part of almost all reports. Understanding how to create a filter is an
important skill in making the best use of the data in your data source. This section describes
the different types of filters available in MicroStrategy and shows you how to create a simple
filter of each type.
Basic knowledge of formal logic is useful in understanding report filters and their concepts,
but it is not a prerequisite to learn how to create filters.
Many of the reports and filters used as examples in this section already exist in the
MicroStrategy Tutorial project. You can follow the steps presented in this chapter to create
filters, or you can view the saved samples in the Tutorial project. For information on the
Tutorial project and how to access it, see About sample data and the MicroStrategy Tutorial
project, page 3.
In MicroStrategy Web, on the Home page, click New Filter. The New Filter page opens as
shown below:
To create a filter, see Types of filters, page 172 to determine which kind of filter you need.
Then follow the related procedure for the filter type you choose to create.
To edit a filter, click on the filter in MicroStrategy Web. The filter opens within the Filter Editor.
For details on each filter type, see the appropriate section below. For details on each option
in the software, click Help.
After you create a filter, you can then include it in a report, a metric, or some other report
object. When placed on a report, a filter becomes part of the report’s definition and affects
the data displayed each time the report is executed. For steps to include a filter on a report,
see Reports: Adding a filter to a report, page 260.
Types of filters
Select a filter type from this list, and then specify the information that is required for the type
of filter you are creating.
Filter types include the following:
These types of qualifications restrict data qualification attributes that are determined
based on the value, rank, or percentage of a based on the metrics
metric, or based on the relationships Create a filter associated with those
between the attributes on the report. based on metric attributes.
value or rank.
• For example, a metric set
For details, see qualification might filter data
click here. to display sales data for only
those products with an
inventory count below a
specified number.
Relationship Filters data based on a specific
set relationship between two
qualification attributes.
Create a filter • For example, a relationship
based on set qualification might filter
relationships data to display those stores
between selling Nike shoes in the
attributes. Washington, DC area.
For details, see
click here.
Shortcut qualifications Shortcut-to-a- Uses the result set of an existing
report report as is, or with additional
These types of qualifications restrict data qualification conditions, as a filter in a
related to existing report results or an different report.
existing filter. Create a filter
based on the • For example, you might use
results of an a shortcut-to-a-report
existing report. qualification by taking the
result set of one report
For details, see showing all customers in the
click here. Southwest region, placing
that result set as a filter into
a new report, adding a new
filter qualification for active
customers in the current
year, and displaying all
currently active customers in
the Southwest region.
Shortcut-to-a- Uses an existing filter as is, or
filter with additional conditions, in a
qualification report.
Create a filter • For example, you might use
based on an a shortcut-to-a-filter
existing filter. qualification by taking an
existing filter for Region =
For details, see Northeast and Year = 2006,
click here. placing it in a report, and
adding a new filter
qualification for Month of
Year = December.
You can also create advanced qualifications such as attribute-to-attribute qualifications and
prompted filters. For more information on all types of advanced filters, refer to the Advanced
Filters chapter of the Advanced Reporting Guide.
attribute element qualification that excludes the months April, May, and December, which
are elements of the Month attribute.
The steps to create this attribute element list qualification are in the procedure below. The
example after the procedure shows how a report is affected when this filter is applied.
1. In MicroStrategy Web, on the Home page, click New Filter. The New Filter page
opens.
2. In the pane on the left, navigate to the attribute that has the elements by which you
want to filter a report's data. Alternatively, type the name of the attribute in the Find
field.
3. Right-click the attribute and select Add to Filter. You can also drag and drop the
attribute to the right pane. For the Tutorial example described above, browse to the
Attributes folder and select the Month of Year attribute.
The right pane displays fields similar to the image below:
4. To create the list of elements that the filter will use to filter data, perform the following
steps:
a. Click Select.
b. From the In List drop-down list, select one of the following:
l To define what attribute elements the filter should include data for, select In
List.
l To define what attribute elements the filter should exclude data for, select
Not In List.
For this Tutorial example, select Not In List.
c. The Available area on the left displays the elements that belong to the
attribute you chose for this filter. Select an element and then click the right arrow
to move the element to the Selected area. Press CTRL to select multiple
elements. If the Available list contains a large number of elements, use the
Search for field to locate the elements you want to select.
For this Tutorial example, select April, May, and December.
5. Click the Apply icon to create your filtering condition.
6. Click Save As. The Save As dialog box opens.
7. Navigate to the folder where you want to save the filter. Enter a name and description
for the filter in the Name and Description fields.
8. For this Tutorial example, name the filter Month and save it in the My Objects folder.
9. Click OK. Your new filter is saved.
If you have multiple qualifications, be aware that it is possible to unintentionally change the
evaluation order of a filter’s qualifications simply by adding a new qualification and not looking
at where the new qualification is added in the list of qualifications. For information on
changing the evaluation order of qualifications, see Editing a filter, page 205.
The filter you created can now be added to a report. For steps, see Reports: Adding a filter to
a report, page 260.
If you followed the Tutorial example in the procedure above, you created the Month filter
which excludes the months April, May, and December. Now see what happens to report
data when the filter is used on a report. Open the Basic Report from the Tutorial project,
located in Shared Reports\ MicroStrategy Platform Capabilities\
Advanced Reporting Guide. The Basic Report, part of which is shown below,
displays employee revenue, cost, and profit for all months of the year:
In the Basic Report, Leanne Sawyer’s contribution to revenue is $2,411,912. Next, add your
Month filter. To do this, from the Home menu click the Design icon. From the left pane,
navigate to where you saved your Month filter, and drag the filter into the report’s filter pane.
When you re-execute the report, it looks like the following image:
(To see the filtered report shown above, open the report named Filter - Month Report Filter
from the Tutorial project, located in Shared Reports\MicroStrategy Platform
Capabilities\Advanced Reporting Guide.) In this filtered report, the metrics
have different values than in the unfiltered Basic Report. Sawyer’s contribution to revenue is
now $1,813,538. In the unfiltered Basic Report, the data was retrieved from the data
warehouse for all months of the year. In the filtered report, the data for the months April,
May, and December is not retrieved from the data warehouse, so the metrics cannot include
this data in their calculations. As this filtered report shows, your top revenue-producing
employees can be very different if you exclude the months April, May, and December.
1. In MicroStrategy Web, on the Home page, click New Filter. The New Filter page
opens.
2. In the pane on the left, navigate to the attribute whose form you want to filter a report's
data by. Alternatively, type the name of the attribute in the Find field.
3. Right-click the attribute and select Add to Filter. You can also drag and drop the
attribute to the right pane.
The right pane displays fields similar to the image below:
For this Tutorial example, choose Employee.
4. To create the list of forms that the filter will use to filter data, perform the following
steps:
a. Select Qualify.
b. From the first drop-down menu, select the form you want to filter data based on.
For this Tutorial example, click Last Name.
c. From the next drop-down menu, select the operator that describes how you
want to filter the data.
For this Tutorial example, click Begins With.
d. In the last field, type the value to use to qualify on the attribute form. This is the
value that will be compared against the data in your data source.
Depending on the operator you have selected, you may need to enter multiple
values. For example, the operator Between requires two values.
For a date attribute form, you can compare the form to a dynamic date, which is
a fixed offset of the current date, such as one month ago. For more information
on dynamic dates, see the Advanced Reporting Guide.
For this Tutorial example, type B.
5. Click Apply to create your filtering condition.
6. Click Save As. The Save As dialog box opens.
7. Navigate to the folder where you want to save the filter. Type a Name and
Description for the filter.
For this Tutorial example, name the filter Employee Last Name = B and save it in
the My Objects folder.
8. Click OK. Your new filter is saved.
If you have multiple qualifications, be aware that it is possible to unintentionally change the
evaluation order of a filter’s qualifications simply by adding a new qualification and not looking
at where the new qualification is added in the list of qualifications. For information on
changing the evaluation order of qualifications, see Editing a filter, page 205.
The filter you created can now be added to a report. For steps, see Reports: Adding a filter to
a report, page 260.
If you followed the Tutorial example in the procedure above, you created the Employee Last
Name = B filter which excludes all employees except those whose last name begins with the
letter B. Now see what happens to report data when the filter is used on a report. Open the
Basic Report from the Tutorial project, located in Shared Reports\MicroStrategy
Platform Capabilities\Advanced Reporting Guide. The Basic Report,
shown in the image below, displays data for all employees:
Next, add your Employee Last Name = B filter. To do this, from the Home menu click the
Design icon. From the left pane, navigate to where you saved your Employee Last Name =
B filter, and drag the filter into the report’s filter pane. When you re-execute the report, it
looks like the following image:
The report displays the revenue of only those employees whose last names begin with the
letter B.
To qualify on a date
1. In MicroStrategy Web, on the Home page, click New Filter. The New Filter page
opens.
2. In the pane on the left, navigate to the attribute with the date data type on which you
want to qualify. Alternatively, type the name of the attribute in the Find field.
3. Right-click the attribute and select Add to Filter. You can also drag and drop the
attribute to the right pane.
For this Tutorial example, select the Day attribute.
The right pane displays fields similar to the image below:
4. Select Qualify.
5. From the first drop-down menu, select the form you want to filter data based on.
For this Tutorial example, click the ID attribute form.
6. From the next drop-down menu, select the operator that describes how you want to
filter data.
7. For this Tutorial example, select Between.
8. In the last field, type the value(s) or click the calendar to select a date to use to qualify
on the attribute form. This is the value that will be compared against the data in your
data source.
If you are using a date range in your filter, click the calendar again to select the second
date. For example, if you want to filter data so the report shows results between
January 1, 2011 and February 6, 2011, click the calendar and select January 1, 2011,
then click the calendar again and select February 6, 2011.
You can compare the form to a dynamic date, which is a fixed offset of the current
date, such as one month ago. For more information on dynamic dates, see the
Advanced Reporting Guide.
For this Tutorial example, use the drop-down list to select the date range January 1,
2011 to February 6, 2011.
9. Click the Apply icon to create your filtering condition.
10. Click Save As. The Save As dialog box opens.
11. Navigate to the folder where you want to save the filter. Type a Name and
Description for the filter.
For this Tutorial example, name the filter Date Filter and save it in the My Objects
Folder.
12. Click OK. Your new filter is saved.
If you have multiple qualifications, be aware that it is possible to unintentionally change the
evaluation order of a filter’s qualifications simply by adding a new qualification and not looking
at where the new qualification is added in the list of qualifications. For information on
changing the evaluation order of qualifications, see Editing a filter, page 205.
The filter you created can now be added to reports. For steps, see Reports: Adding a filter to
a report, page 260.
If you followed the Tutorial example in the procedure above, you created the Date Filter
which excludes all data except the data gathered between January 1, 2011 and February 6,
2011. Now see what happens to report data when the filter is used on a report. Open the
Basic Report from the Tutorial project, located in Shared Reports\MicroStrategy
Platform Capabilities\Advanced Reporting Guide. The Basic Report,
shown in the image below, displays all employee revenue:
Notice the revenue amount of Leanne Sawyer. Next, add your Date Filter. To do this, from
the Home menu click the Design icon. From the left pane, navigate to where you saved
your Date Filter, and drag the filter into the report’s filter pane. When you re-execute the
report, it looks like the following image:
The report displays the revenues of employees for only the specified date range. Notice the
new revenue amount for Leanne Sawyer.
For example, a metric set qualification might limit the data displayed on a report to sales
numbers for only those products whose current inventory count falls below a certain number.
The system must first generate the set of products with the specified inventory count; then it
can generate the sales numbers for that set of products.
A relationship set qualification might limit the data displayed on a report to those bank
customers who have checking accounts but not savings accounts. In this example, the
system must first generate the set of customers with checking accounts; then it can generate
the subset of those customers without savings accounts.
For details and steps, see:
1. In MicroStrategy Web, on the Home page, click New Filter. The New Filter page
opens.
2. In the pane on the left, navigate to the metric on which you want to filter data.
Alternatively, type the name of the metric in the Find field.
3. Right-click the metric and select Add to Filter. You can also drag and drop the
metric to the right pane.
The right pane displays fields similar to the image below:
4. From the first drop-down menu, select an operator that describes how you want to
filter data, such as Equal To or Less Than.
5. In the field on the right, type a metric value to use for the metric qualification. This is the
value against which the metric calculation will be compared.
6. Depending on the operator you selected from the previous drop-down menu, you may
need to type multiple values. For example, the operator Between requires two values.
7. Click the Apply icon to create your filtering condition.
8. Click Save As. The Save As dialog box opens.
9. Navigate to the folder where you want to save the filter. Enter a Name and
Description for the filter, and click OK. Your new filter is saved.
If you have multiple qualifications, be aware that it is possible to unintentionally change the
evaluation order of a filter’s qualifications simply by adding a new qualification and not looking
at where the new qualification is added in the list of qualifications. For information on
changing the evaluation order of qualifications, see Editing a filter, page 205.
The filter you created can now be added to a report. For steps, see Reports: Adding a filter to
a report, page 260.
In a relationship qualification, you create a relationship between two attributes and then
place a filter on that relationship. In this case, a relationship between customer Hugh Abarca
and Customer Region is created and the report is filtered to show only customers in the
same region as Hugh Abarca.
Relationship filters are considered set qualifications because they create a subset of
attributes from the whole. They are created using either the Set qualification or Advanced
qualification option in the Filter Editor. The Set qualification option provides an interface to
guide you through the process, whereas the Advanced qualification option allows you more
control by letting you use commands. For more information on the Advanced qualification
option, see the Advanced Reporting Guide.
1. Log in to a project in Developer. On the File menu, point to New, and choose Filter.
The Filter Editor opens.
If the New Filter dialog box is displayed, click the Empty Filter icon. If you do not
want this dialog box to be shown in the future, select Don't show this dialog in
the future. Click OK. For more information about Object templates, see the
Designing Reports chapter of the Advanced Reporting Guide.
If you are using the MicroStrategy Tutorial to create the example mentioned above,
log in to the MicroStrategy Tutorial project. Create a new report containing the
Customer Region and Customer attributes, and the Revenue metric. To create a new
report in Developer, see the MicroStrategy Developer Help.
2. Double-click the Filter definition pane at the top right. The Filtering Options pane
opens.
3. Click the Add a Set qualification option, and click OK. The Set Qualification pane
opens.
4. Select Relationship from the Type drop-down list. The Set Qualification pane
expands, similar to the image below:
5. Set the output level, which is the level at which the set is calculated. To do this, browse
by clicking ... (the browse button) next to the Output Level to locate the level at which
you want the set calculated. Select the attribute, and click OK. (For an explanation of
levels, see How data is aggregated on a report: metric level, page 89.)
If you are using the Tutorial, set the output level to Customer Region.
6. In the Filter Qualification area, choose a filter in one of the following ways:
To use an existing filter, click Browse. In the Open dialog box, navigate to the folder
that contains the filter, select the filter, and click OK.
To build a new filter, click Create. The Qualification Editor opens. (You may notice
that this editor is similar to the Filter Editor.) Click Help for steps to use the
Qualification Editor to create a filter. When you are finished, click Save and Close.
If you are using the Tutorial, create a filter with an attribute qualification for Customer =
Hugh Abarca.
7. By default, the Filter Qualification chosen applies to the whole report and not just the
relationship filter. You can change this option by clicking Advanced and clearing the
Also apply this qualification independently of the relationship filter
box. For more information on this option, see the Advanced Reporting Guide
If you are using the MicroStrategy Tutorial, clear the default so the Hugh Abarca filter
is applied only to the relationship. Otherwise, when the report is executed, the only
row in the report will be Hugh Abarca, with no other customers from his region
included.
8. Click OK to close the Set Qualification pane.
9. Click Save and Close on the Filter Editor toolbar. The Save Filter As dialog box
opens.
10. Navigate to the folder where you want to save the filter. Enter a Name and
Description for the filter, and click OK. Your new filter is saved.
11. Navigate to the folder where you want to save the filter. Enter a Name and
Description for the filter, and click Save. Your new filter is saved.
If you have multiple qualifications, be aware that it is possible to unintentionally change the
evaluation order of a filter’s qualifications simply by adding a new qualification and not looking
at where the new qualification is added in the list of qualifications. For information on
changing the evaluation order of qualifications, see Editing a filter, page 205.
The filter you created can now be added to a report. If you are using the MicroStrategy
Tutorial, apply the filter to the report you created above. For steps, see Reports: Adding a
filter to a report, page 260.
Shortcut-to-a-report qualification
The results of an existing report can be used as a filter for another report. You can use the
first report itself as a filter inside a new report. This type of filter is called a shortcut-to-a-
report qualification.
l Consolidations
l Custom groups
l Freeform SQL reports: Reports created using MicroStrategy’s Freeform SQL functionality
l MDX cube reports: Reports that draw their data from an MDX cube source such as SAP
Business Intelligence Warehouse (SAP BW), Microsoft Analysis Services (Analysis
Services), or Hyperion Essbase (Essbase)
For example, consider the Basic Report shown below, which has no filter. Notice that
Leanne Sawyer has earned $2,411,912 in revenue.
Create a new filter. Drag and drop the Revenue By Brand report into the right pane of the
new filter, and save. Open the Basic Report and drag and drop your newly-created filter to
the Report Filter pane, to use the Revenue By Brand report as a filter in the Basic Report.
Finally, re-execute the Basic Report.
With its new filter, the Basic Report displays the revenue generated by each employee only
for those brands specified in the results of the Revenue by Brand report. The filtered Basic
Report is shown below. Notice that Leanne Sawyer has now earned only $1,655,540 in
revenue.
You can perform the example above on your own. The Basic Report and the Revenue By
Brand report are located in Shared Reports\MicroStrategy Platform
Capabilities\Advanced Reporting Guide.
You can also use a report as a filter and then add additional qualifications to expand the
overall filter definition. For example, you can take the result set of one report showing all
customers in the Southwest region, place that result set as a filter into a new report, and add
a new filter qualification for active customers in the current year. The new report displays all
currently active customers in the Southwest region.
This approach shows you the value of creating some basic, relatively simple reports in your
project, such as a report for customers in a specific region. Then you can make use of these
basic reports within shortcut-to-a-report filters to make the filter creation process quicker.
1. In MicroStrategy Web, on the Home page, click New Filter. The New Filter page
opens.
2. In the pane on the left, navigate to the report that you want to use as a filter.
Alternatively, type the name of the report in the Find field.
3. Right-click the report and select Add to Filter. Alternatively, drag and drop the
report to the right pane.
You cannot use a report containing a consolidation or custom group, a Freeform SQL
report, or an MDX cube report as a shortcut to a report.
The report is added to the right pane as shown in the image below:
4. Click Save As, navigate to the folder where you want to save the filter, type a Name
and Description for the filter, and click OK. Your new filter is saved.
The shortcut-to-a-report filter you created can now be added to a report. For steps, see
Reports: Adding a filter to a report, page 260.
Shortcut-to-a-filter qualifications
A shortcut-to-a-filter qualification allows you to move an existing filter into a new filter, and
apply the new filter to a report. You can also add additional conditions to the new filter and
then apply the new filter to the report. For example, Filter 1 contains two conditions, A and B.
You can use Filter 1 as the basis of a new filter, and then add another condition C to the new
filter. The data that is filtered for must then satisfy all three conditions A, B, and C to be
included in any report which uses the new filter. Note that Filter 1 remains unchanged
throughout this process.
For example, you are a manager in New England, responsible for stores in Boston,
Providence, and Greenwich. Your project contains a filter called Stores In My Region, which
is defined as the Boston, Providence, and Greenwich stores. A second filter, called the
Women’s Clothing filter, includes the categories Blouses and Dresses. A third filter, All Days
in December 06, is a date range that includes all the days in the month of December, 2006.
To study December sales in your stores for women’s clothing, you create a new filter. The
new filter includes a shortcut to each of the three filters. Use this new filter in your report. The
original three filters are unchanged, which is useful for other reports that use one or more of
those filters.
You can also use an existing filter as a base for a new filter and then add additional
qualifications to expand the overall filter definition. For example, you can take a filter that
screens data for all customers in the Southwest region, place that filter into a new filter, and
add a new filter qualification for active customers in the current year. The new filter screens
data for all currently active customers in the Southwest region.
This approach shows you the value of creating some basic, relatively simple filters in your
project, such as a filter for customers in a specific region. Then you can make use of these
basic filters within shortcut-to-a-filter filters to make the filter creation process quicker.
1. In MicroStrategy Web, on the Home page, click New Filter. The New Filter page
opens.
2. In the pane on the left, navigate to the filter that you want to use in the new filter.
Alternatively, type the name of the filter in the Find field.
3. Right-click the report and select Add to Filter. You can also drag and drop the filter
to the right pane.
The filter is added to the right pane as shown in the image below:
4. Add desired conditions to the filter. Navigate to the appropriate report object in the
pane on the left. Right-click and select Add to Filter. Define the conditions in the
right pane.
5. Click Save As, navigate to the folder where you want to save the filter, type a Name
and Description for the filter, and click OK. Your new filter is saved.
The filter you created can now be added to a report. For steps, see Reports: Adding a filter to
a report, page 260.
After the filter (Year = 2010) And (Region = Northeast) is applied to the initial report,
the report appears as follows:
The following diagram shows the impact of the AND operator on a result set:
The shaded area represents the report’s result set, which contains only revenue generated
in the Northeast in 2010.
The OR operator
For those familiar with logic terminology, the OR operator acts as an inclusive OR, not an
exclusive OR.
The following images show the initial report with no filter, and the resulting report after two
filter qualifications are applied and joined with OR. The initial report with no filter appears as
follows:
After the filter (Year = 2010) Or (Region = Northeast) is applied, the report appears
as follows:
The following diagram shows the impact of the OR operator on a result set:
As represented by the shaded areas, revenue generated in either 2010, or the Northeast, or
in both 2010 and the Northeast, is returned in the result set.
After the filter (Year = 2010) Or Not (Region = Northeast) is applied, the report
appears as follows:
The following diagram shows the impact of the OR NOT operator on a result set.
In this case, revenue generated in 2010 in any region (including the Northeast), or revenue
generated in all other years in any region except for the Northeast, is returned in the result
set.
After the filter (Year = 2010) And Not(Region = Northeast) is applied, the report
appears as follows:
The following diagram shows the impact of the AND NOT operator on a result set.
As shown by the shaded area, revenue generated in 2010 in any region except the
Northeast is returned in the result set.
1. In MicroStrategy Web, on the Home page, click New Filter. The New Filter page
opens.
2. From the pane on the left, add more than one qualification to the pane on the right. For
steps to create filter qualifications, see Creating or editing filters: The Filter Editor,
page 171.
3. In the right pane, right-click the operator and then choose the required operator, as
shown in the image below:
Editing a filter
You can make changes to an existing filter using the Filter Editor. For an image of the Filter
Editor and more information on working with filters, see Creating or editing filters: The Filter
Editor, page 171.
When you edit a filter, you can add a new qualification, change the operator in a qualification,
or remove a qualification that is part of the filter’s definition. You can also change the
evaluation order of qualifications.
l To add qualifications, see Types of filters, page 172 to determine the type of qualification
you want to add, then use the appropriate section for the type of filter you choose.
l To change operators between qualifications, see Joining filter qualifications with
operators, page 196.
l To remove a qualification from a filter, open the filter, click the Remove condition icon
to the left of the qualification you want to delete.
l To change the evaluation order of qualifications in a filter, see the options below.
l Prompts can allow the report designer to create a smaller number of reports overall, using
more inclusive objects, rather than having to create numerous, more specific reports that
are individualized to each analyst.
l Prompts allow the report designer to ensure that the objects on a report are the latest
available objects in the project. This is possible using a search object in a prompt. When a
user launches a prompt by running a report, the search object goes through the project
and retrieves the latest objects that fit the search criteria the report designer defined.
Thus, no matter when the prompt was created, each time a user executes the report, the
user chooses prompt answers from a list of the most up-to-date objects available in the
project, including objects that may not have existed when the prompt was created.
l Prompts allow users to keep the objects on their saved reports up-to-date, because users
can save a prompted report so that the objects within the prompt remain connected to the
original objects within the project that they were originally based on when the prompt was
created. If objects are modified or deleted in the project, the report can reflect those
changes the next time the prompted report is run.
With prompts, you can let the user decide how to restrict the data to be returned from the
data source.
For information on using prompts in a report to be displayed on an Apple® iPhone® or
iPad®, or an Android device, see the MicroStrategy Mobile Design and Administration
Guide.
A prompt is similar to a filter (see Filtering data on a report: Filters, page 169) because a
prompt determines the specific data to be displayed on a report. The difference, from a
report designer’s perspective, is that you create a filter for a report to provide a single,
specific definition for the report. A filtered report then displays the same set of data to every
user who executes that report. In contrast, a prompt dynamically modifies the contents of a
report. With prompts, users can determine the objects (attributes, attribute elements,
metrics, and so on) they want to be part of, or excluded from, the report query that is sent to
the data source. Therefore, a prompt can be seen as a way for users to create their own filter
for a given report. For example:
l Users can choose from among several existing filters to determine exactly what filter will
screen the data on the report they are about to execute. To achieve this, create an Object
prompt that contains existing filters and place that Object prompt on a report. Then the
user can choose which filter to apply to the report.
l Prompts allow a report to have a dynamic report definition, which users can change each
time they submit the query by choosing different answers when prompted. If you create an
Attribute prompt containing the Year attribute, users are prompted to select the year for
which they want the report results. The report can be run the first time by selecting 2005
and then a second time by selecting 2006.
For prompts, this means that users who have a security filter assigned to them may only see
certain prompt answers to choose from when they execute a prompted report, even when
the prompt creator has explicitly defined a broader set of prompt answers to be available to
users of that report.
When describing what prompt answers will be available to users, this manual assumes that
no security filter restricts an individual user’s access to certain objects or object elements.
However, most environments use security filters, so it is important to be aware of the
potential impact of a security filter on a user’s experience when answering a prompt.
Consider this possibility when designing a specific prompt for your users’ reporting needs.
For details on security filters, see the System Administration Guide.
Components of a prompt
The pieces that make up a prompt control how a prompt appears and how it functions. These
components include the following:
l Answer requirement: This component lets you determine whether users will be required
to answer the prompt or an answer will be optional. If an answer is required, a report with
this prompt cannot be executed until an answer is provided.
Keep in mind that, because a report with a required prompt cannot be executed until an
answer is provided, a report with this type of prompt is not a good choice to be subscribed to.
This is because the subscription will be unable to answer the required prompt and thus unable
to execute the report. The subscription is then automatically invalidated and deleted. To avoid
this scenario, always add a default prompt answer when you make an answer required.
l Default prompt answers: This component lets you include a pre-selected answer for the
prompt, which the user can then accept, replace with a different answer, or accept and
add more answers.
l Personal answers: This component lets a user save prompt answers for a specific prompt,
and then reuse the answers on any report that uses the prompt. Personal answers are
saved for each prompt and each user, but they can be used on different reports. Allowing
users to save personal answers can help reduce the storage space taken up by saved
static reports.
l Title and instructions: This component lets you provide a useful name for the prompt,
which can significantly impact how straightforward or complex a user finds prompts to be.
You can also include instructions on how to use the prompt.
Consider your users’ needs as well as the purpose of the report and the objects on it when
you decide on these options.
These prompt components are defined from the Create Prompt page. See Creating a
prompt, page 213 for steps to access the Create Prompt page. Each prompt component is
described below.
If you plan to apply a schedule to a prompted report, the decisions you make about answer
requirements and default answers will affect how the report is filtered when it is automatically
executed on schedule. For a table showing how various combinations of these options affect
how a scheduled report is filtered when executed, see the Advanced Prompts chapter in the
Advanced Reporting Guide.
Answer requirements
You can either require users to answer a prompt when they execute a report, or you can
make an answer optional.
l Required: A required prompt means at least one prompt answer must be selected from
the available choices, or the report cannot be executed.
l Optional: An optional prompt does not require a prompt answer to be selected. The
report can be executed without any input from the user.
If you determine that a prompt must be answered, consider also providing a default answer.
Default answers allow users to execute prompted reports quickly because they can simply
accept the defaults. Default answers are especially useful if you have a large number of
users of a given report who will likely choose the same answer for the prompt. See Answer
requirements, page 209.
To specify whether an answer is required or optional, select the Prompt answer is
required check box on the New Prompt page. See the appropriate procedure below for
the type of prompt you want to create, for steps to select this setting when creating a prompt.
You can determine whether to have prompts in a report automatically answered when the
report is run, using default prompt answers.
Personal answers
You can allow personal answers, so that a user can save prompt answers for a specific
prompt, and then reuse the answers on any report that the prompt is used on.
Personal answers can save time, for example, when a prompt answer involves complicated
metric qualifications. Allowing users to save personal answers can help reduce the storage
space taken up by saved static reports. Personal answers also provide consistency, to
ensure that the same prompt answers are used across a number of reports.
Personal answers are saved for each prompt and each user, but they can be used on different
reports. Users can save prompt answers without having to save the report itself.
When you create a prompt, you can allow no, one, or multiple personal answers:
l None: No personal answers can be saved. Every time a user sees the prompt, he must
answer it manually (if it is required) or ignore it.
l One: Only one personal answer can be saved for this prompt. When the prompt is used
again (on this report or a different one), the personal answer is displayed. A user can keep
the personal answer, or add or delete selections. He can save his changes as a new
personal answer, but only one personal answer can be saved for the prompt.
l Multiple: Multiple personal answers can be named and saved, allowing different
answers for the same prompt. When the prompt is used again (on this report or a different
one), the personal answers are available. The user can select one of them, or answer the
prompt manually.
In MicroStrategy Web, while creating a prompt, you can allow personal answers for the
prompt, if the administrator has enabled personal answers in the default settings for prompts.
An administrator can change this default setting for prompts from the Preferences Menu.
Examples of each option follow. While they are simple examples, they illustrate how the
different types of personal answers work.
It is not required to save a report in order to save the personal answer. However, save the
report for this example.
Re-execute the report. Northeast, Mid-Atlantic, and Southeast are displayed automatically
as the default answer. You can continue executing the report or change the prompt
selections by adding or deleting regions. Delete all the regions from the prompt answers, and
replace them with Southeast, Southwest, and South. Do not clear the Remember this
answer check box. These regions are now saved as the personal answer.
Re-execute the report. Southeast, Southwest, and South are displayed automatically as the
default answer. Delete all the regions from the prompt answers, and replace them with just
Central. Clear the Remember this answer check box. The personal answer is now
cleared.
Re-execute the report. Since no personal answer exists, no prompt answers are displayed.
You must enter your prompt answers manually.
Create a report with Region, the Revenue metric, and the prompt that you created above.
Execute the report, and select Northeast, Mid-Atlantic, and Southeast at the prompt. Save
the prompt answer (select the Save this answer when report is run check box),
naming it Eastern Regions. Save the report as a prompted report.
It is not required to save a report in order to save the personal answer. However, save the
report for this example.
Re-execute the report. No default prompt answers are displayed, but you can select Eastern
Regions, the personal answer that you created previously, by clicking the Load Answers
icon. Instead, select Southeast, Southwest, and South for prompt answers. Save them as a
personal answer, naming it Southern Regions. Set this personal answer as the default
(select the Set as default check box).
Re-execute the report. Southeast, Southwest, and South are displayed as the default
prompt answers, since they were defined as the default above. Clear the prompt answers,
and replace them with Central. Do not save it as a personal answer.
Re-execute the report. Southeast, Southwest, and South are displayed as the prompt
answers, since they are still the default. You can select Eastern Regions or Southern
Regions (the current selection) as personal answers.
When you click Load Answers, you can view the personal answers created previously.
You can delete and rename these personal prompt answers by clicking the More Options
link. You cannot edit the contents of personal answers.
This title makes sense to all users and defines the prompt generally enough so it can be
easily used by report designers on other reports. The instructions are useful not only
because it uses language that users will understand, but also because it is more than just a
repeat of the title. It provides basic information to the user who may never have used a
prompt before, and it emphasizes that more than one year can be chosen, in case a user
missed that information at the top of the prompt screen.
You can determine the title and instructions for a prompt on the New Prompt page. See the
appropriate procedure below for the type of prompt you want to create, for steps to enter a
title and instructions when creating a prompt.
Creating a prompt
You create a prompt for a report when you want to let the user decide what restrictions the
data must meet to be displayed on the report.
Prompts can be placed on a report, and they then become part of the report definition. They
can also be used in a filter, metric, or custom group.
This chapter covers prompts placed on reports, filters, and metrics. Prompts used on custom
groups are covered in the Advanced Prompts chapter of the Advanced Reporting Guide.
The image below shows the Create Prompt page, where you select the type of prompt you
want to create. See Types of prompts, page 214 for details on each prompt type.
1. In MicroStrategy Web, on the Home page, click New Prompt. The Create Prompt
page opens with a list of the types of prompts that you can create.
2. To create a new prompt, click on the type of prompt that you want to create.
See the sections that follow for the type of prompt you want to create. You can see specific
details on each option in each page of the wizard by clicking Help.
After you create a prompt, you then place the prompt on any report so it becomes part of the
report’s definition and any user who executes that report must interact with the prompt. For
steps to include a prompt on a report, see Adding a prompt to a report.
Types of prompts
The correct prompt type to create depends on what report objects you want users to be able
to base a filter on to filter data.
Object prompts Object Users can use this prompt to add more data to a report.
prompt Users select objects (such as attributes or metrics) they
This type of prompt want to add to the report. Users can also choose from
allows users to select among a selection of filters, to apply a filter that is most
objects to include in a useful for their analysis purposes.
report, such as
attributes, metrics, or For steps, see Filtering data based on metrics,
filters. attributes, or other objects: Object prompts, page 239.
Hierarchy Hierarchy Users can select prompt answers from one or more
Qualification Qualification attribute elements from one or more attributes. The
Prompts Prompt attribute elements they select are used to filter data
displayed on the report. This prompt lets you give users
This type of prompt the largest number of attribute elements to choose
allows users to from when they answer the prompt to define their
determine how the filtering criteria.
report's data is filtered
based on attributes in a For example, on a report displaying profit forecasts, if
hierarchy. the prompt lets users select from the Product hierarchy,
one user might choose to see forecasts for certain
electronic products, while another user might select
different electronics products, or all media products.
For steps, see Filtering data on an attribute, attribute
form, attribute element, or metric: Qualification
Prompts, page 218.
Attribute Attribute Users can select prompt answers from a list of attribute
Qualification Qualification elements from a single attribute. This prompt is more
Prompts Prompt restrictive than the Hierarchy prompt, because the user
has fewer attribute elements to select answers from.
This type of prompt
allows users to For steps, see Filtering data on an attribute, attribute
determine how the form, attribute element, or metric: Qualification
report's data is filtered Prompts, page 218.
based on attribute
form.
Attribute Element Attribute Users can select prompt answers from a limited list of
List Prompts Element List specific attribute elements. This prompt is the most
Prompt restrictive of the Hierarchy Qualification, Attribute
This type of prompt Qualification, and Attribute Element List prompts,
allows users to because the user has the fewest number of attribute
determine how the elements to select answers from.
report's data is filtered
based on attribute For steps, see Filtering data on an attribute, attribute
element. form, attribute element, or metric: Qualification
Prompts, page 218.
Metric Metric Users can define a metric qualification, which
Qualification Qualification determines what data should be displayed for one or
Prompts Prompt more specific metrics on the report.
This type of prompt For steps, see Filtering data on an attribute, attribute
allows users to form, attribute element, or metric: Qualification
determine how the Prompts, page 218.
report's data is filtered
based on metrics.
Value prompts Date prompt Users enter a specific date for which to see data. This
prompt is used in a filter.
This prompt type lets
users select a single Numeric Users enter a specific number, up to 15 digits, which is
value, such as a date or prompt then used as part of a filter, or within a metric, to look
a specific text string, for specific numeric data.
and filter report data
based on their If a user enters more than 15 digits for a numeric
selection. prompt, the data is converted to scientific notation. If
precision is needed beyond 15 digits, you should use a
For steps, see Filtering Big Decimal value prompt instead.
data based on a single
value or string: Value Text prompt Users enter a word or phrase, which is then used as
prompts, page 243. part of a filter to look for specific data with that text.
Big Decimal Users can enter up to 38 digits, to search for numeric
prompt data with the Big Decimal data type assigned to it.
Long Users enter up to 10 digits, to search for numeric data.
prompt
Level prompts Level Levels are explained in Components of a metric, page
prompt 150.
This prompt type allows
users to specify the Level prompts are covered in the Advanced Prompts
level of calculation for a chapter of the Advanced Reporting Guide.
metric.
Most of the prompt types in the table above are explained in detail in the sections that follow.
Level prompts are covered in the Advanced Prompts chapter of the Advanced Reporting
Guide.
Restrict the Prompts used on filters in a report are more restrictive than other prompts in terms of
amount of the number of attribute elements from which a user can select prompt answers. For
data details on prompts used on a filter, see Filtering data on an attribute, attribute form,
displayed attribute element, or metric: Qualification Prompts, page 218.
on a report
Increase • Object prompts are more inclusive in terms of the data that is displayed on the
the amount resulting report, because the user can select additional objects to include on the
of data report. To create an Object prompt, see Filtering data based on metrics, attributes,
displayed or other objects: Object prompts, page 239.
on a report
• In general, the more answers an analyst is allowed to select for a prompt, the more
information is displayed on the report. The maximum number of answers a user
can provide is determined by one component of all prompts, called an answer
requirement. You can allow users to select more answers for a prompt by setting or
changing the maximum number of answers. For details, see Components of a
prompt, page 208.
Answer • The Attribute Element List prompt and the Object prompt are generally the simplest
prompts prompts for a user to answer. Users simply click one or more objects they want to
that are see data for and execute the report. The user does not have to create a filtering
easier to definition as with other prompts.
use
• Any prompt increases the complexity for a user when running a report. This can be
alleviated by providing good descriptions for the prompts so that users are clear
about the questions they are answering. For an example of an effective prompt
description, see Components of a prompt, page 208.
Choose a Users can choose from among several existing filters to determine exactly what filter
report filter will screen the data on the report they are about to execute. To do this, create the
from filters you want users to be able to choose from, then create an Object prompt made
among a up of existing filters, and then place that Object prompt on a report. To create an Object
selection of prompt, see Filtering data based on metrics, attributes, or other objects: Object
filters prompts, page 239.
Select a You can use a search object in most prompts. A search object will search for and
prompt display specific objects at the moment the user accesses the report and the prompt
answer appears. This lets users select their answers from the most up-to-date hierarchies,
from the attributes, metrics, or other objects in the project. To do this, create a search object,
most up-to- then during prompt creation choose the search object rather than choosing specific
date attributes or other objects to prompt the user with. For steps to create a search object,
objects in see the prompt creation procedure below for the prompt you want to create. Steps to
the project create a search object are within the prompt creation steps.
Restrict the The three Hierarchy and Attribute prompts are designed to be increasingly restrictive in
number of the number of objects they allow users to select answers from. These three prompts
attribute are listed below, in increasing order of restrictiveness:
elements
users can • Hierarchy Qualification Prompt: Allows users the widest number of objects to
choose choose answers from.
from when • Attribute Qualification Prompt: More restrictive than the Hierarchy prompt. Allows
answering a fewer objects for users to choose answers from.
prompt
• Attribute Element List Prompt: The most restrictive of the three prompts. Allows the
fewest objects for users to choose answers from.
Select from The Attribute Element List prompt provides a filter option. You can use this option to
a create a filter that will display to users a specific list of attribute elements, based on
reasonable the condition defined in the filter. For example, you create a filter to display the top 20
subset of a customers in terms of revenue or the top 10 employees in terms of sales. Place this
long list of filter in the Attribute Element prompt, and place the prompt on a report. To create an
attribute Attribute Element prompt, see Filtering data on an attribute, attribute form, attribute
elements, element, or metric: Qualification Prompts, page 218.
for
example, a
list of
customer
names
When creating the prompt shown above, the report designer chose the Time hierarchy, so
users could choose any attribute within that hierarchy for which to see data. The prompt
shown above is asking the user to select from the attributes listed, or the user can also
browse to a specific attribute’s elements and select one or more of those elements. Then the
user drags a desired attribute or element into the filter’s Definition pane on the right-hand
side. (Alternatively, the user can use the Attribute Qualification pane to select an attribute for
the filter.) By being able to interact with this prompt, each user can create his own filter with
which to screen the data that appears on the resulting report.
You can add these types of prompts to a stand-alone filter, so that the prompt is presented to
any users who run a report on which that filter is placed. Alternatively, you can place these
types of prompts directly on a report. Either way, these types of prompts allow users to
specify conditions that data must meet to be included in report results.
For a table of where to use all prompts, see Reports: Adding prompts to a report, metric, or
filter, page 264.
You can create the following types of prompts:
l Hierarchy Qualification Prompt: This prompt lets the user create a filter by
selecting from any attribute or attribute element that is part of one or more hierarchies you
specify. The attribute elements the user selects then become the filter for the report when
it is sent to your data source. To create a Hierarchy Qualification prompt, see Filtering data
on an attribute, attribute form, attribute element, or metric: Qualification Prompts, page
218.
l Attribute Qualification prompt: This prompt enables the user to filter (or qualify)
the report based on the attribute forms or the attribute elements of the specified attribute.
To create an Attribute Qualification prompt, see Filtering data on an attribute, attribute
form, attribute element, or metric: Qualification Prompts, page 218.
l Attribute Element List prompt: This prompt enables the user to filter the report
based on a specified set of attribute elements from a given attribute. To create an Attribute
Element List prompt, see Filtering data on an attribute, attribute form, attribute element, or
metric: Qualification Prompts, page 218.
l Metric Qualification prompt: This type of prompt enables the user to filter (or
qualify) the report based on a specific metric. To create a Metric Qualification prompt, see
Filtering data on an attribute, attribute form, attribute element, or metric: Qualification
Prompts, page 218.
After you have created a prompt, you can incorporate it into a report as described in Reports:
Adding prompts to a report, metric, or filter, page 264.
When you execute the report and respond to the prompt by choosing the Global Enterprises
HQ corporation, the report appears as shown in the following image. (This image shows only
part of the resulting report.)
The Hierarchy Qualification prompt allows users to select from the widest number of attribute
elements when they are choosing prompt answers to define their filtering criteria. The
Attribute Qualification prompt is more restrictive, and the Attribute Element List prompt is the
most restrictive, allowing users to choose from the fewest number of attribute elements to
define their filter criteria.
1. In MicroStrategy Web, on the Home page, click New Prompt. The Create Prompt
page opens.
2. Click Hierarchy Qualification Prompt. The New Prompt page opens.
l On the General tab, type a Title, which is used as the default object name when you save
the prompt, although you can change it.
l Type text in the Instructions field, which is displayed when the prompt is run during
report execution.
2. To ensure that the prompt's text fields and options are a fixed size, select the Fixed
textbox width and/or the Fixed textbox height check boxes, and specify the
size of the prompt's text fields and options in the fields.
Specifying the size of the textbox can be beneficial when users answer prompts on a
smaller screen of a mobile device.
1. To determine how prompt options are arranged, from the Orientation drop-down
list, select Vertical or Horizontal.
2. To determine the number of prompt answers displayed in a row or column (depending
on alignment), select the Items per column/row check box and enter the number
in the field.
3. You can determine whether to allow users to use a search box to locate prompt
answers. Searching for objects allows analysts to quickly locate specific objects to use
to answer the prompt. From the Show search box drop-down list, select one of the
following options:
l To display the search box, select True.
l To not display a search box, select False.
4. If the search box is enabled, you can ensure that users use the search box to locate
answers, by selecting the Make search required check box.
If you are using the Shopping Cart display style, you can select the Use folder structure
check box to display the prompt choices in a folder structure. This option, available for search
objects only, is useful when the same object with the same name is saved in multiple folders.
l Select the Do not show empty folders check box if you do not want the search result
to display empty folders.
l To allow users to navigate above the root folder when searching, select the Allow
navigation above search root check box.
To ensure that users can only use a single condition operator (AND/OR) between all
of the conditions in an expression, select the Use a single logical operator
between all conditions option.
To ensure that users can choose a default operator to use between each condition, select
the Allow the user to set independent logical operators between conditions
option.
The Attribute Qualification prompt is more restrictive than a Hierarchy Qualification prompt
but less restrictive than an Attribute Element List prompt. The Hierarchy Qualification prompt
allows users to select from the widest number of attribute elements when they are choosing
prompt answers to define their filtering criteria. The Attribute Element List prompt is the most
restrictive, allowing users to choose from the fewest number of attribute elements to define
their filter criteria.
1. In MicroStrategy Web, on the Home page, click New Prompt. The Create Prompt
page opens.
2. Click Attribute Qualification Prompt. The New Prompt page opens.
To select the attribute from which the user can create the filter
You must determine which attribute will be displayed to the user when the user is
prompted. (Alternatively, you can present the users with a list of attributes from which
the user selects one attribute.) The user then selects elements from that attribute to be
part of the filter he creates to filter data for the report.
On the Definition tab, choose one of the following options:
l Choose an attribute: You can present the user with a specific attribute to select
elements from.
l Click Select Attribute, select the attribute or specify the name of the attribute, then click
OK.
l Use a predefined list of attributes: Select this option to allow the user to choose
attributes from a list of attributes that you select.
l Click Add, select the attributes, then click OK.
l To delete an attribute from the list, select the attribute, then click Remove.
l To remove all the attributes from the list, click Clear.
l Use the results of a search object: A search object will search for and display
specific project objects when the user executes the report. This lets you prompt the user
with the most up-to-date objects in the project. Use this option to present the user with a
list of attributes, from which he can choose one.
Click Select Search, select the object or specify the name of the object, then click
OK.
2. Set the maximum and/or minimum number of prompt answers allowed, if desired.
Select the Minimum number of qualifications and/or the Maximum
number of qualifications check boxes, and enter the numbers in the fields.
1 To ensure that the prompt's text fields and options are a fixed size, select the Fixed
textbox width and/or the Fixed textbox height check boxes, and specify the size
of the prompt's text fields and options in the fields.
• Specifying the size of the textbox can be beneficial when users answer prompts on a
smaller screen of a mobile device.
2 To determine how prompt options are arranged, from the Orientation drop-down list,
select Vertical or Horizontal.
• To determine the number of prompt answers displayed in a row or column
(depending on alignment), select the Items per column/row check box and
enter the number in the field.
3 You can determine whether to allow users to use a search box to locate prompt
answers. Searching for objects allows analysts to quickly locate specific objects to use to
answer the prompt. From the Show search box drop-down list, select one of the
following options:
• To display the search box, select True.
• To not display a search box, select False.
The Show search box option is not available if you are using the Textbox display style.
4 If you are using the Shopping Cart display style, you can select the Use folder
structure check box to display the prompt choices in a folder structure. This option,
available for search objects only, is useful when the same object with the same name is
saved in multiple folders.
• Select the Do not show empty folders check box if you do not want the search
result to display empty folders.
• To allow users to navigate above the root folder when searching, select the Allow
navigation above search root check box.
For an Attribute Qualification prompt that uses a search object and the Tree display style, the
Use folder structure check box is selected and cannot be changed.
8 Determine how many elements are listed in each prompt answer list by selecting the
Maximum number of elements per list check box and entering the number in
the field.
9 To allow users to import a list of attribute elements from which they can choose, select
the Allow element import check box.
10 To allow users to browse the elements in attribute qualification, select the Allow
element browsing in attribute qualification check box.
11 Determine the default logical operator that is used between conditions by selecting an
option from the Default operator between conditions drop-down list.
12 To allow users to modify expressions, select the Allow modification of the logical
operator check box.
• To ensure that users can only use a single condition operator (AND/OR) between
all of the conditions in an expression, select the Use a single logical operator
between all conditions option.
• To ensure that users can choose a default operator to use between each condition,
select the Allow the user to set independent logical operators between
conditions option.
For example, your report contains the attribute Region and the metric Revenue. You want
users to be able to select specific geographical regions of the country for which to see
revenue data, from among only eastern U.S. regions.
You create an attribute element list prompt, which prompts the user to choose from three
attribute elements in the Region attribute. Using the MicroStrategy Tutorial project data, you
might use all three regions as default answers for the prompt:
l Northeast
l Mid-Atlantic
l Southeast
When you apply this prompt to the report and execute the report using the default answers,
the report appears as shown in the following image.
The Attribute Element List prompt is the most restrictive, allowing users to choose from the
fewest number of attribute elements to define their filter criteria. The Hierarchy Qualification
prompt allows users to select from the widest number of attribute elements when they are
choosing prompt answers to define their filtering criteria. The Attribute Qualification prompt is
more restrictive than the Hierarchy Qualification prompt, but less restrictive than the Attribute
Element List prompt.
1. In MicroStrategy Web, on the Home page, click New Prompt. The Create Prompt
page opens.
2. Click Attribute Element List. The New Prompt page opens.
To determine the attribute whose elements the user will be able to choose from
The prompt will display the related attribute elements for users to select their filter criteria
from.
On the Definition tab, click Select Attribute. Select the attribute whose elements are
displayed in the prompt and click OK. Users select their filter criteria from a list of these
attribute elements.
To define the specific elements the user will be able to choose from
Choose one of the following options:
l List all elements (no restriction): This option displays all of the attribute’s
elements to the user when he is answering the prompt.
l Use a pre-defined list of elements: This option lets you select specific attribute
elements to display to the user.
l Click Add, select the elements, then click OK.
l To delete an element from the list, select the element, then click Remove.
l To remove all the elements from the list, click Clear.
l Use a filter to reduce the number of elements: This option is useful for
attributes with a large number of elements, such as Customer or Employee. You can
create a filter that returns a specific set of customers, for example, the top 100 customers
this month.
Click Select Filter, select the filter or specify the name of the filter, then click OK.
l Single: Only one personal answer can be saved for this prompt. When the prompt is used
again (on this report or a different one), the personal answer is displayed. A user can keep
the personal answer, or add or delete selections. He can save his changes as a new
personal answer, but only one personal answer can be saved for the prompt.
l Multiple: Multiple personal answers can be named and saved, allowing different
answers for the same prompt. When the prompt is used again (on this report or a different
one), the personal answers are available. The user can select one of them, or answer the
prompt manually.
Styles for prompts for mobile devices, including the Calendar, Barcode Reader, and
Geo Location display styles, display when the prompt is viewed on a mobile device
with MicroStrategy Mobile. Certain styles are available for specific types of
Attribute Element List prompts. For more information on displaying prompts for
mobile devices, see the Allowing users to filter data: prompts section of the
MicroStrategy Mobile Design and Administration Guide.
2. To ensure that the prompt's text fields and options are a fixed size, select the Fixed
textbox width and/or Fixed textbox height check boxes, and specify the size of
the prompt's text fields and options in the fields.
Specifying the size of the textbox can be beneficial when users answer prompts on a
smaller screen of a mobile device.
3. To determine how prompt options are arranged, from the Orientation drop-down
The metric(s) you choose for the prompt do not have to appear on the report itself. For
example, a store manager needs a report to show sales data for products whose current
inventory falls below a certain count. However, the report does not necessarily need to
display inventory counts for those products.
When answering the prompt, users can define their filters based on the value, rank, or
percentage of the metric.
1. In MicroStrategy Web, on the Home page, click New Prompt. The Create Prompt
page opens.
2. Click Metric Qualification Prompt. The New Prompt page opens.
To select the metric(s) for which users can define their filters
The prompt will display the metric(s) on which users define their filter criteria.
On the Definition tab, choose one of the following options:
l Choose a metric: Users will be able to filter their report data based on the metric you
select.
Click Select Metric and select a specific metric or specify the name of the metric to use
in the prompt.
l Use a predefined list of metrics: Select this option to allow the user to choose
metrics from a list that you select.
l Click Add, select the metrics, then click OK.
l To delete a metric from the list, select the metric, then click Remove.
l To remove all the metrics from the list, click Clear.
l Use the results of a search object: A search object will search for and display
specific project objects when the user executes the report. This lets you prompt the user
with the most up-to-date objects in the project. For example, you can let the user select a
metric from a search for all metrics with “Revenue” in the name.
Click Select Search, select the object or specify the name of the object, then click OK.
l None: No personal answers can be saved. Every time a user sees the prompt, he must
answer it manually (if it is required) or ignore it.
l Single: Only one personal answer can be saved for this prompt. When the prompt is used
again (on this report or a different one), the personal answer is displayed. A user can keep
the personal answer, or add or delete selections. He can save his changes as a new
personal answer, but only one personal answer can be saved for the prompt.
l Multiple: Multiple personal answers can be named and saved, allowing different
answers for the same prompt. When the prompt is used again (on this report or a different
one), the personal answers are available. The user can select one of them, or answer the
prompt manually.
The Show search box option is not available if you are using the Textbox display style.
5. To show the object path (folder hierarchy), select the Use folder structure check
box. This option, available for search objects, is useful when the same object with the
same name is saved in multiple folders. If you are using the Shopping Cart display
style, you can select the check box to display the prompt choices in a folder structure.
l Select the Do not show empty folders check box if you do not want the
search result to display empty folders.
l To allow users to navigate above the root folder when searching, select the Allow
navigation above search root check box.
For a Metric Qualification prompt that uses a search object and the Tree display style,
the Use folder structure check box is selected and cannot be changed.
Month, Quarter, and Year attributes to users, so the user can specify the granularity of the
report. Object prompts enable you to provide versatile reports to users.
The Customer Distribution Trend report contains two Object prompts. The report’s display is
shown below:
The first prompt, called Demographics List, contains a set of attributes that users select one
or more answers from. Answer choices include the attributes Customer Income Range,
Customer Age Range, and Customer Gender. The second prompt, called Psychographic
List, contains another set of attributes users can choose from. Its answer choices include the
attributes Customer Education, Customer Household Count, Customer Housing Type,
Customer Marital Status, and so on.
By separating the user’s choices into two Object prompts, the designer is able to group the
attributes according to user analysis needs. In this case, a user can focus on customer
demographics and customer psychographics separately when the user is considering what
data to see in the resulting report. Additionally, data for various combinations of
demographics and psychographics can be compared by running the report again and
answering the prompts differently.
Object prompts can be used in many places, including the following:
l Object prompt containing attributes: Any place that can accept a list of attributes.
l Object prompt containing metrics: Embedded in a Set qualification filter, as well as any
place that accepts metrics.
One prompt can contain different types of objects, such as both metrics and attributes, or
attributes and custom groups. However, if the prompt mixes metrics with another type of
object, either the metrics or the other objects are removed when the prompt is executed in a
report. For a more detailed explanation, see the Advanced Prompts chapter in the Advanced
Reporting Guide.
For a table of where to use all prompts, see Reports: Adding prompts to a report, metric, or
filter, page 264.
1. In MicroStrategy Web, on the Home page, click New Prompt. The Create Prompt
page opens.
2. Click Object Prompt. The New Prompt page opens.
To create the list of objects from which the user can select
You can only use objects of one type in an Object prompt. For example, you can include
metrics or attributes in a single Object prompt, but not both. To prompt for multiple object
types in the same report, you must create an Object prompt for each object type.
On the Definition tab, choose one of the following options:
l Use a pre-defined list of objects: This option lets you define a specified list of
objects.
l Click Add, select the objects, then click OK.
l To delete an object from the list, select the object and click Remove.
l To remove all the items from the list, click Clear.
l To change the order in which the objects are displayed in the prompt, select an object
and click the Up and Down arrows to move the selected object.
l Use the results of a search object: A search object will search for and display
specific project objects when the user executes the report. This lets you prompt the user
with the most up-to-date objects in the project.
Click Select Search, select the object, then click OK.
2. Type text in the Instructions field, which is displayed when the prompt is run during
report execution.
1. You can determine whether to allow users to use a search box to locate prompt
answers. Searching for objects allows analysts to quickly locate specific objects to use
to answer the prompt. From the Show search box drop-down list, select one of the
following options:
l To display the search box, select True.
l To not display a search box, select False.
1. If you are using the Shopping Cart display style, you can select the Use folder
structure check box to display the prompt choices in a folder structure. This option,
available for search objects, is useful when the same object with the same name is
saved in multiple folders. Use the up and down ordering arrows to reorder prompt
objects.
To allow users to navigate above the root folder when searching, select the Allow
navigation above search root check box.
2. For an object prompt that uses a search object and the Tree display style, the Use
folder structure check box is selected and cannot be changed. You can select
whether or not empty folders are shown in the tree when the prompt is executed.
Select or clear the Do not show empty folders check box. Note that selecting it
can impact performance.
The search object must search within subfolders. For background information on search
objects and steps to create them, see the MicroStrategy Developer Help (formerly the
MicroStrategy Desktop Help).
contains the Employee Age attribute, the operator Less than, and a Maximum Value set at
50.
Using the MicroStrategy Tutorial sample data, if you execute the report and answer the
prompt by specifying 40 as the Employee Age, the final report looks like the following:
Value prompts are typically used on a filter, where they become part of the filter’s definition,
but they can also be used on a metric as part of the metric’s formula. The filter or metric is
then placed on a report.
Because they are often used in filters, Value prompts can be created directly in the Filter
Editor at the same time you create the filter in which you want to place the Value prompt.
When created this way, a Value prompt is part of the filter’s definition and is not a stand-
alone prompt, so it cannot be added to another filter. To create a stand-alone Value prompt,
create it in the New Prompt page. This gives you and other designers the flexibility to create
a Value prompt once and add it to various filters.
For a table of where to use all prompts, see Reports: Adding prompts to a report, metric, or
filter, page 264.
The different types of Value prompts are:
l Date prompt: This Value prompt type asks users to type or select a date, and returns
data that has the date data type assigned to it and that matches the user’s entered date.
For example, the Date prompt can be useful when added to a filter that screens data
based on Year=2006. The prompt lets users select a specific date within the year of the
filter’s condition. Date prompts are used in filters which qualify on a date.
l Numeric prompt: This Value prompt type asks users to type a numeric value. Numeric
Value prompts accept integers or decimals up to 15 digits of precision. Numeric prompts
can be used in any filter that needs a number input from the user, such as a metric
qualification. For information on metric qualification filters, see Filtering data based on
attribute relationships or metrics: Set qualifications, page 185.
If a user enters more than 15 digits for a numeric prompt, the data is converted to scientific
notation. If precision is needed beyond 15 digits, you should use a Big Decimal value prompt
instead.
l Text prompt: This Value prompt type asks users to type a string of text. Text prompts
are commonly used in attribute form qualification filters. For information on attribute form
qualification filters, see Filtering data based on business attributes: Attribute qualifications,
page 174.
l Big Decimal prompt: This Value prompt type asks users for a “big decimal” value. Big
Decimal Value prompts accept integers and decimals up to 38 digits of precision.
Big Decimal prompts should be used in expressions that require high precision, such as
qualifying on a Big Decimal attribute ID.
l Long prompt: This Value prompt type asks users for a long integer value. Long
prompts accept integer numbers up to 10 digits.
Long prompts can be created in MicroStrategy Developer. The ability to create a Long
Value prompt is not enabled in the Prompt Generation Wizard by default. To enable Long
Value prompts:
a. Double-click your project to open it.
b. From the Tools menu in Developer, select My Preferences. The My
Preferences dialog box opens.
c. Expand the General category on the left, and select Prompts.
d. Select Add long prompts to the list of available value prompts.
e. Click OK to save your changes.
1. In MicroStrategy Web, on the Home page, click New Prompt. The Create Prompt
page opens.
2. Click Value Prompt. The New Prompt page opens.
l Date and Time prompt: This prompt lets users filter for data related to either a
specific date or a range of dates.
l Numeric prompt: This prompt lets users filter numeric data, usually based on a metric.
l Text prompt: This prompt lets users filter text data, usually based on attribute forms.
l Big Decimal prompt: This prompt lets users filter data based on a big decimal value
for a metric.
l None: No personal answers can be saved. Every time a user sees the prompt, he must
answer it manually (if it is required).
l Single: Only one personal answer can be saved for this prompt. When the prompt is used
again (on this report or a different one), the personal answer is displayed. A user can keep
the personal answer, or add or delete selections. He can save his changes as a new
personal answer, but only one personal answer can be saved for the prompt.
l Multiple: Multiple personal answers can be named and saved, allowing different
answers for the same prompt. When the prompt is used again (on this report or a different
one), the personal answers are available. The user can select one of them, or answer the
prompt manually.
Styles for prompts displayed for mobile devices, such as Slider, Stepper, and Switch,
display when the prompt is viewed on a mobile device with MicroStrategy Mobile.
Certain styles are available for specific types of Value prompts. For a general
overview of displaying prompts on mobile devices, see the Allowing users to filter
data: prompts section of theMicroStrategy Mobile Design and Administration Guide.
On mobile devices, the Date and Time prompts are displayed as a calendar by default. If
the Allow user to select time check box is selected, the Date and Time prompts are
l For the Numeric prompt, to specify a value for the prompt when it is set to the on
position, type a value in the On value field. To specify a value for the prompt when it is
set to the off position, type a value in the Off value field.
l To specify the interval between numeric values that are displayed in the prompt, type a
value in the Interval field. For example, in a Numeric prompt with the display style set to
Slider, a minimum value of 1 and a maximum value of 50, and an interval of 5, users can
select values such as 5, 10, 15, and so on.
l For prompts with the display style set to Geo Location, to specify whether the prompt is set
using latitude or longitude, select Latitude or Longitude from the Location coordinate
drop-down list.
l To format how numeric values are displayed in the prompt, click Number
Format,select a number formatting style and click OK to apply changes.
Editing a prompt
You can edit any prompt by clicking it in MicroStrategy Web. The prompt opens in Edit mode.
For steps to edit a prompt, see Types of prompts, page 214 to determine the type of prompt
you are editing, and then use the appropriate section to make changes to any aspect of the
prompt.
l Level prompts: Learn about creating a Level prompt that lets users determine what level a
metric is aggregated at, as well as any target or grouping associated with the metric’s
level.
l Dynamic dates: Learn about defining a date that is a fixed offset of the current date.
l System prompts: These are special built-in prompts, such as the User Login system
prompt. Additional information and examples can be found in the System Administration
Guide.
The diagram below shows the template and filter for a report, as well as the executed report
that results from what is defined on the template.
Whenever you initiate the creation of a new report, the system automatically creates a
template and a basic, empty report filter. Although you may not specifically define and use a
separate template or report filter object, a template and empty filter are a logical part of every
report’s definition.
of names for every customer who has done business with your company and is in your
database. Likewise, if you add just one metric to an otherwise blank report, you see all
revenue data for all time, for all regions.
If you add a metric and an attribute to the same report, such as the Customer attribute and
the Revenue metric, the report data begins to become useful because you can view what
revenue each customer brought to your stores. However, for most organizations, this is still a
prohibitively large report.
If you add a report filter to the report, you can limit the data to a specific area of interest. For
example, you can define a specific geographic region and a time period by adding a few
additional attributes to the report, such as Region and Year. Then you can add a filter to see
only your most profitable Northeast region customers for the past year. The resulting report
can display those customers in your Northeast region who brought in the most revenue last
year.
It is not required that the objects in a filter are also part of the report itself. In this example,
adding the Region and Year attributes to the report lets the report’s users see the context of
the report’s results.
This section describes how to design a report with basic reporting components, such as
attributes, metrics, and filters, in MicroStrategy Web using the Report Editor. It provides
procedures to create a new report and add attributes, metrics, filters, and prompts to the
report. It also provides a procedure to modify an existing report.
If you use the MicroStrategy Tutorial project to perform the examples in the procedures that
follow, you can become familiar with the Report Editor environment and the features it offers.
The Tutorial project offers an opportunity to use MicroStrategy even if your organization
does not yet have its own data available in a MicroStrategy project.
Prerequisites
To create a report that displays your organization’s data, you must have a MicroStrategy
project already created, and you must have the appropriate MicroStrategy privileges to
perform the necessary tasks. If you plan to use the MicroStrategy Tutorial project and its
sample data with the following procedures, you only need the privileges necessary to
perform the procedures; it is not necessary to have your own project set up in MicroStrategy.
Each of these requirements is discussed below.
l Facts, for example Revenue or Units Sold, are business measurements, which take the
form of data stored in your data source, or variables. Facts are typically numeric and
suitable for aggregation. They are used to create metrics as well as other objects in
MicroStrategy.
l Attributes are business concepts that answer questions about facts, such as when,
where, and so on. Attributes provide a context for reporting those facts.
Your project may already contain other objects in addition to attributes and facts, such as
metrics, filters, and prompts. Facts and attributes are the minimum objects that must already
be created. They are usually created by your project designer when the project itself is
created.
For example, on a report that contains the Year attribute and a Units Sold metric (based on a
Units Sold fact), you can view how many units were sold during a given year. Without any
attribute on this report, the report can provide information only about how many units were
sold overall; it cannot answer questions about who purchased the units, when, where, and
so on.
Detailed information about creating projects, as well as about facts, attributes, and how to
create these objects can be found in the Project Design Guide.
If you do not have a working project yet, you can use the Tutorial project with the procedures
in this chapter to learn how to create the various report objects in MicroStrategy. For
information on the Tutorial project and how to access it, see About sample data and the
MicroStrategy Tutorial project, page 3.
Design Mode allows you to create or edit the report’s template and definition. A report’s
definition is the definitions of all the objects that are included on the report when the report is
designed, as well as any formatting applied to the report.
1. In MicroStrategy Web, log in to the project in which you want to create a report.
If you are using the MicroStrategy Tutorial project and its sample data, log in to the
Tutorial project.
2. Click the MicroStrategy icon and select Create Report.
3. Click Blank Report. A blank report template is displayed, and you are ready to
design a new report.
The following image shows Design Mode displaying a blank report template in
MicroStrategy Web.
For a description of each area or pane of the MicroStrategy Web Report Editor and
Design Mode, see MicroStrategy Web Report Editor interface, page 312.
4. Use the following sections to add attributes, metrics, filters, and prompts to your new
report. Almost all reports have one or more attributes, one or more metrics, and one
filter.
l Attributes: See Reports: Adding attributes to a report, page 255.
l Metrics: See Reports: Adding metrics to a report, page 258.
l Filters: See Reports: Adding a filter to a report, page 260.
l Prompts: See Reports: Adding prompts to a report, metric, or filter, page 264.
If you are using one of your organization’s projects, this procedure assumes attributes have
been created. Attributes are usually created by your project’s designer. If attributes need to be
created, see the Project Design Guide.
1. In MicroStrategy Web, create a new report in Design Mode. See Creating a report
with the Report Editor, page 253.
2. In the All Objects pane on the left, navigate to your project’s attributes folder and open
it.
l If you are using the Tutorial project, open the Schema Objects folder, then open
the Attributes folder. Select any attribute to use for the next step. In this
procedure, Category attribute from the Products folder is used.
l To search for an attribute in your project, type the name of the attribute in the Find
text field and press Enter or click the Find icon.
3. To add an attribute to the report, do one of the following:
l Drag and drop the attribute to the desired location on the report’s grid.
l Double-click the attribute to add it to the report.
l Right-click the attribute and select Add to Grid as shown in the image below, then
move it to the desired location on the report’s grid.
Attributes are commonly displayed in a report’s rows, although you can add attributes to
a report’s column, if you want. To add an attribute to a column, do one of the following:
• Drag and drop the attribute to the Drop objects here to add columns area of
the grid.
• Right-click the attribute name, select Move and select To Columns.
4. The attribute appears in the row or the column section of your report’s template
depending upon where it is added, as shown in the image below:
5. Repeat the steps above to add additional attributes to your report, if you wish.
6. Almost all reports have one or more attributes, one or more metrics, and one filter. If
you need to, use the following sections of this manual to add additional objects to your
new report:
l Metrics: See Reports: Adding metrics to a report, page 258.
l Filters: See Reports: Adding a filter to a report, page 260.
l Prompts: See Reports: Adding prompts to a report, metric, or filter, page 264.
7. Save the report. For details on how a report is saved, see Saving a report, page 271.
If you are using one of your organization’s projects, this procedure assumes at least one
metric has been created. If you need to create metrics, see Calculating data on a report:
Metrics, page 144.
1. In MicroStrategy Web, create a new report in Design Mode. See Creating a report
with the Report Editor, page 253.
2. In the All Objects pane on the left, navigate to your project’s metric folder and open it.
l If you are using the Tutorial project, open the Public Objects folder, then open the
Metrics folder. Select any metric to use in the next step. In this procedure, the
Average Revenue metric from the Sales Metrics folder is used.
l To search for a metric in your project, type the name of the metric in the Find text
field and press Enter or click the Find icon.
3. To add a metric to the report, do one of the following:
l Drag and drop the metric to the desired location on the report’s grid.
l Double-click the metric to add it to the report.
l Right-click the metric and select Add to Grid as shown in the image below, then
move it to the desired location on the report’s grid.
Metrics are commonly displayed in a report’s columns, although you can add metrics
to a report’s row, if you want. To add a metric to a row, do one of the following:
l Drag and drop the metric on the row in the report grid.
l Right-click the Metrics header, select Move and select To Rows.
4. The metric appears in the row or the column section of your report’s template
depending upon where it is added, as shown in the image below:
5. Repeat the steps above to add additional metrics to your report, as needed.
6. Almost all reports have one or more attributes, one or more metrics, and one filter. If
you need to, use the following sections of this manual to add additional objects to your
new report:
l Attributes: Reports: Adding attributes to a report, page 255.
l Filters: Reports: Adding a filter to a report, page 260.
l Prompts: Reports: Adding prompts to a report, metric, or filter, page 264.
7. If you want to see what your report looks like when executed against the data source,
once your report has one or more attributes and metrics in it, from the toolbar select
Run Report.
8. Save the report. For details on how a report is saved, see Saving a report, page 271.
If you are using one of your organization’s projects, this procedure assumes at least one filter
has been created. If you need to create filters, see Filtering data on a report: Filters, page 169.
1. In MicroStrategy Web, create a new report in Design Mode. See Creating a report
with the Report Editor, page 253.
2. If the Report Filter pane is not displayed above the report, display it by clicking the
Filter icon on the toolbar.
3. In the All Objects pane on the left, navigate to the folder where your filter is located and
open it.
l If you are using the Tutorial project, open the Public Objects folder, then open
the Shared Filters folder. Select any filter to use in the next step. In this
procedure, the Top 5 Customers By Revenue filter from the Customer Analysis
Filters folder is used.
l To search for a filter in your project, type the name of the filter in the Find text field
and press Enter or click the Find icon.
4. To add a filter to the report’s Filter pane, do one of the following:
l Drag and drop the filter on the Report Filter pane.
l Double-click the filter to add it to the Report Filter pane.
l Right-click the filter and select Add to Filter as shown in the image below.
5. Repeat the steps above to add additional filters to your report, as needed.
6. Almost all reports have one or more attributes, one or more metrics, and one filter. If
you need to, use the following sections of this manual to add additional objects to your
new report:
l Attributes: Reports: Adding attributes to a report, page 255.
l Metrics: Reports: Adding metrics to a report, page 258.
l Prompts: Reports: Adding prompts to a report, metric, or filter, page 264.
7. If you want to see what your report looks like when executed against the data source,
once your report has one or more attributes and metrics in it, from the toolbar select
Run Report.
8. Save the report. For details on how a report is saved, see Saving a report, page 271.
1. In MicroStrategy Web, create a new report in Design Mode. See Creating a report
with the Report Editor, page 253.
2. If the Report Filter pane is not displayed above the report, display it by clicking the
Filter icon on the toolbar.
3. Select the object you want to base your filter on:
l To base your filter on an object that is part of the report's definition, select Report
Objects from the bottom left to open the Report Objects pane if it is not already
open. Select the object you want to base your filter on. The object can be an
attribute or a metric.
l To base your filter on the results of another report, select All Objects from the
bottom left to open the All Objects pane if it is not already open. Navigate to and
select the report you want to base your filter on.
4. To add the selected object to the report’s Filter pane, do one of the following:
l Drag and drop the object on the Report Filter pane.
l Right-click the object and select Add to Filter as shown in the image below.
5. Depending on the type of object you added to the filter, a new set of choices may
appear. The links below provide steps to filter data based on the object you chose:
l If you are filtering based on an attribute, see one of the following:
l Filtering data based on business attributes: Attribute qualifications, page 174.
l Filtering data based on business attributes: Attribute qualifications, page 174.
l Filtering data based on business attributes: Attribute qualifications, page 174.
l If you are filtering based on a metric, see Filtering data based on attribute
relationships or metrics: Set qualifications, page 185.
l If you are filtering based on the results of another report, see Filtering data based on
existing filters or report results: Shortcut qualifications, page 190.
l If you are filtering based on a filter, see Filtering data based on existing filters or
report results: Shortcut qualifications, page 190.
l If you are creating an advanced filter, see the Advanced Reporting Guide.
6. Click the Apply icon to apply your new filter condition to the report.
7. You can add additional conditions to the report's filter by repeating the steps above to
add another object to the filter and define the condition.
8. Almost all reports have one or more attributes, one or more metrics, and one filter. If
you need to, use the following sections of this manual to add additional objects to your
new report:
l Attributes: See Reports: Adding attributes to a report, page 255.
l Metrics: See Reports: Adding metrics to a report, page 258.
l Prompts: See Reports: Adding prompts to a report, metric, or filter, page 264.
9. If you want to see what your report looks like when executed against the data source,
once your report has one or more attributes and metrics in it, from the toolbar select
Run Report.
10. Save the report. For details on how a report is saved, see Saving a report, page 271.
Filter Name Add To Report Add To Add To Add To Add To Filter Editor: Filter
Editor: Report Report Metric Definition Pane
Template Editor: Editor: Editor:
Definition Report Page-by Definition
Pane Filter Pane Pane Pane
Filter Name Add To Report Add To Add To Add To Add To Filter Editor: Filter
Editor: Report Report Metric Definition Pane
Template Editor: Editor: Editor:
Definition Report Page-by Definition
Pane Filter Pane Pane Pane
Add To Report Add To Report Add To Report Add To Metric Add to Filter
Editor: Template Editor: Report Editor: Page-by Editor: Definition Editor: Filter
Definition Pane Filter Pane Pane Pane Definition Pane
1. In MicroStrategy Web, if you are creating a new report, open Design Mode. For steps
to do this, see Creating a report with the Report Editor, page 253. If you are adding the
prompt to an existing report, from the Home menu in the Report Editor, select
Design.
2. In the All Objects pane on the left, navigate to the folder where the prompt you want to
add to the report is located and open it.
To search for the prompt, type the name of the prompt in the Find text field and press
Enter or click the Find icon.
3. Drag and drop the prompt to the desired location on the report’s grid. Alternatively,
right-click the prompt and select Add to Grid as shown in the image below, then
move it to the desired location on the report’s grid.
5. If you want to see what your report looks like when executed against the data source,
and if you want to see how a prompt works for a user, once your report has one or
more attributes and metrics in it and you have added a prompt, from the toolbar select
Run Report.
6. Save the report. For details on how a report is saved, see Saving a report, page 271.
1. In MicroStrategy Web, if you are creating a new report, open Design Mode. For steps
to do this, see Creating a report with the Report Editor, page 253. If you are adding the
prompt to an existing report, from the Home menu in the Report Editor, select
Design.
2. In the All Objects pane on the left, navigate to the folder where the prompt you want to
add to the report is located and open it.
To search for the prompt, type the name of the prompt in the Find text field and press
Enter or click the Find icon.
1. Drag and drop the prompt onto the Report Filter pane. Alternatively, right-click the
prompt and select Add to Filter as shown in the image below:
1. In MicroStrategy Web, if you are creating a new report, open Design Mode. For steps
to do this, see Creating a report with the Report Editor, page 253. If you are adding the
prompt to an existing report, from the Home menu in the Report Editor, select
Design.
2. In the All Objects pane on the left, navigate to the folder where the prompt you want to
add to the report is located and open it.
To search for the prompt, type the name of the prompt in the Find text field and press
Enter or click the Find icon.
3. Drag and drop the prompt onto the page-by pane.
The image below shows an Object prompt called Object Prompt on Metric in the
page-by pane:
l An Object prompt of attributes, to allow the user to select the attribute at which to
calculated the metric. For steps to create a level metric, see the Advanced Reporting
Guide.
l A Numeric prompt, Big Decimal prompt, or Long prompt, which are all types of a Value
prompt.
l You can use a Value prompt in the formula of a metric. For example, a user can enter
the tax rate to be multiplied by the Revenue fact. For steps, see To add a prompt to a
metric’s definition in the Metric Editor, page 270 below.
l For a non-group function, you can use a Value prompt as the input values of the
function. For more information about non-group functions, see Metrics made up of
metrics: Compound metrics, page 156.
You can create a conditional metric, which filters data for that metric. As part of the filter on
the metric, you can use a prompt. For steps to create a conditional metric, see the Advanced
Reporting Guide.
This procedure assumes you have already created and saved a prompt. For steps to create a
Value prompt, see Filtering data based on a single value or string: Value prompts, page 243.
1. In MicroStrategy Developer, select File, point to New, and then select Metric. The
Metric Editor opens.
2. Create your metric’s formula. Use the Object Browser on the left to locate the prompt
to add to the metric’s definition.
If the Object Browser is not displayed, from the View menu select Object Browser.
3. Drag the prompt onto the Definition pane at the bottom right, as shown in the image
below:
4. Save the metric, and add it to a report. For steps to do this, see Reports: Adding
metrics to a report, page 258.
If you want to see what your report looks like when executed against the data source, and if
you want to see how a prompt works for a user, once your report has one or more attributes
and metrics in it, from the View menu select Grid View.
Saving a report
After you create or modify a report, you must save the report so that you and others can
execute it in the future. When you save a report, its name and its definition such as the
template, report filtering criteria, and report formatting information are stored in the
MicroStrategy metadata repository.
You can select options for prompted reports, such as whether to keep the report prompted.
You can also save reports as filters or templates, as follows:
l Saving a report as a filter allows you to use the saved report to filter a different report. For
example, if you have a report that returns basic data such as revenue for the year 2008,
you can save the report as a filter and then use the new filter on other reports; in this
example, the filter would restrict data on other reports to revenue in the year 2008.
l Saving the report as a template allows you to use the saved report as a base on which to
build other reports. For example, if you have a report that returns basic data such as
countries and revenue, you can save the report as a template on which you build several
other reports, all of which contain country and revenue data but also contain additional
data as appropriate for each report.
Saving a new report creates a predefined report. Other users can then execute that report to
analyze the data it shows, and they can limit or reformat the data results according to their
own analysis needs. To execute the report, double-click the report to retrieve and display the
most recent data from your data source.
To save a report
This procedure assumes you have either finished creating a new report or modifying an
existing report, and you have the report open in the Report Editor. For steps to create a
report, see Creating a grid report, page 251.
1. From the Home menu, select one of the following:
l To save a report, select Save. If you are saving changes to a report that has already been
saved, your changes are saved automatically. Otherwise, the Save As dialog box opens.
Select the appropriate options to save your report, as described in the steps below.
If the report has already been saved and contains prompts, the report is automatically
saved as a prompted report with the Filter and Template set as prompted, and the Set the
current answers to be the default prompt answers check box selected. To select different
prompt options, select Save As from the Home menu instead of Save, as described in the
option below.
l To save a copy of an existing report using a different name or to specify prompt options for
an existing report, select Save As. The Save As dialog box opens. Select the appropriate
options to save your report, as described in the steps below.
1. Browse to the folder in which you want to save the report. You can create a new folder
in which to save the report. To do so, click the Create New Folder icon. The Create
Folder dialog box is displayed. To create a new folder:
a. In the Folder field, enter a name for the folder. You cannot create a folder with
the same name as an existing folder.
b. In the Description field, enter a description for your folder.
c. Click Create Folder.
2. If you are saving a prompted report, you can choose whether or not to keep the report
prompted when the report is executed again. Select the Keep report prompted
check box. Expand the Advanced Options, then select one of the following:
l To save the prompt answers you specified and automatically skip the prompt selection
page when running the report, select the Save report as static option. The next time
the report is run, the saved answers will automatically be used to answer the prompts and
run the report. The prompt selection page will not be displayed to users.
l To display the prompt selection page each time the report is run, select the Save report
as prompted option, then perform the following steps:
a You can determine which prompts will be presented to users when the report
is run. You can choose to display prompts that are part of the report's filter,
prompts that have been placed on the report's template, or both. Select one
of the following:
— To present users only with prompts that have been added to the report's
filter, select the Only filter will be prompted option. The next time
the report is run, users will only be prompted to provide answers for filter
definition prompts. Answers for prompts that have been placed on the
report's template, such as objects that users have selected in an object
prompt or levels selected in a level prompt, are saved with the report
definition and do not need to be provided by the user.
— To present users only with prompts that have been added to the report's
filter, select the Only filter will be prompted option. The next time
the report is run, users will only be prompted to provide answers for filter
definition prompts. Answers for prompts that have been placed on the
report's template, such as objects that users have selected in an object
prompt or levels selected in a level prompt, are saved with the report
definition and do not need to be provided by the user.
— To present users only with prompts that are part of the report's template,
select the Only template will be prompted option. The next time
the report is run, users are only prompted to select objects for prompts
that have been placed on the report's template. Answers for prompts that
have been added to the report's filter are saved with the report definition
and do not need to be provided by the user.
— To present users with all prompts, regardless of whether they have been
added to the report's filter or the report's template, select the Filter and
template will be prompted option. The report is saved so that
object prompts, level prompts, and filter definition prompts all remain
active.
b You can choose to use the prompt answers you specified as default prompt
answers to be used the next time the report is run. Do one of the following:
— To use the prompt answers as default prompt answers, select the Set
the current prompt answers to be the default prompt
answers check box.
— To save the report without default answers, clear the Set the current
prompt answers to be the default prompt answers check
box.
3. To save the report as a filter, perform the following steps:
Designing a report
The following procedure assumes you are using report objects from the MicroStrategy
Tutorial project and are making use of the sample Tutorial data. For details on the Tutorial
project, see About sample data and the MicroStrategy Tutorial project, page 3.
This procedure also assumes you are familiar with the Report Editor in MicroStrategy Web;
see MicroStrategy Web Report Editor interface, page 312 in Appendix A, Reporting
Interfaces in MicroStrategy for an introduction to the Report Editor functionality.
7. Click Save. The Save As dialog box opens. Browse to the folder where you want to
save your report, usually the My Reports folder. Save the report as My Revenue by
Region Web and click OK.
8. Click Run newly saved report to execute the report and display the results,
showing sample data from the sample data warehouse. When a report like this is built
using your organization’s objects, this view provides actual revenue numbers an
analyst can use for detailed reporting purposes.
9. From the Home menu, select Graph. This lets analysts compare data on a higher
level to see how various regions are doing in terms of revenue.
Additional formatting ideas can be found in the Reports chapter of the Advanced Reporting
Guide.
3. From the first drop-down list at the top of the dialog box, select the area of the grid to
change.
4. From the second drop-down list at the top of the dialog box, select whether to format
the All, Header, Values, Subtotal Names, or Subtotal Values of that area of
the grid.
5. Select one of the following tabs to access formatting options for your report. For
details about the options on each tab, click Help:
l Font: Change the font and color of letters and numbers in the report, and change
the background by applying gradients and other effects.
To change cell background (fill) color:
l If DHTML is enabled, use the Fill Color option on the Color and Lines tab.
l If DHTML is disabled, use the Fill Color drop-down list on the Font tab.
l Number: Specify a number format for values. For example, you can ensure that
certain metric values are displayed as percentages.
l Alignment: Specify how values and text are aligned within cells on the grid report.
l Color and Lines: Change the formatting of lines in your grid report, such as cell
borders.
To format cell borders:
l If DHTML is enabled, use the Borders options on the Color and Lines tab.
l If DHTML is disabled, use the Borders tab in the Format panel.
6. Click Apply to apply your formatting-related changes to the report.
3. Select the Lock check boxes in either or both the Rows and Columns areas,
depending on whether you want to lock rows, columns, or both.
4. Click OKto apply the changes.
The procedure below formats a metric only within the context of the report that is open when
the formatting is applied to the metric. If the metric is also used on another report, the
formatting applied with this procedure does not appear on that other report. To format a metric
so that the formatting appears on every report in which the metric is used, see Formatting a
metric, page 165.
4. You can format the metric’s column or row header, and you can format the metrics’
values that appear when the report is executed against your data source.
l To format the metric’s column or row header, from the second drop-down list at the
top of the dialog box, select Header.
l To format the metric’s values, from the second drop-down list at the top of the dialog
box, select Values.
5. Format any or all of the following aspects of the metric. The following steps describe
the most commonly used options; for details on every option in each tab, click Help.
l To format numbers: Select the Number tab. Choose a Category, then
choose how to format numbers for this metric.
l For example, if you select Date as your category, the Type list lets you choose
which date format to use, such as 4/12/06, April 12, 2006, 12/4/2006, and so on. If
you select Fixed as your category, you can determine the number of decimal places
to be displayed, whether you want numbers to be separated every three decimal
places, and whether negative numbers are allowed to be displayed.
l To format the alignment: Select the Alignment tab. Select an alignment
option. Text alignment determines how the content of each cell is aligned, for
example, centering the text. You can also select Horizontal and Vertical alignment,
and whether to wrap the text.
l To format the font: Select the Font tab. Select the Font that you want values
to appear in. You can also select a Size, a Style (Bold, Italic, and so on), and a
Color in which text should be displayed.
l To format the background and borders: Select the Color and Lines
tab. You can select a color to fill the cell background and the type of border to
display around the selected cells. You can also customize the border by selecting
the type of line and color used for each of the left, right, top, and bottom borders.
6. When you are finished formatting this metric, click OK to apply the formatting.
values, or replace the values with an image or a symbol. See Formatting conditional
values on a grid: Thresholds, page 20.
l Advanced thresholds: A Web Professional can use advanced thresholds to apply
formatting to a report or a grid in a document, based on multiple metrics and more
complex expressions than a visual threshold. This allows for very specific conditions to be
defined. Advanced thresholds allow Web Professionals to create conditions based on
metrics or attributes, and a single advanced threshold can be based on multiple
conditions.
Steps are below to create an advanced threshold.
l Replace Text: Replace data with any text you specify. For example, a document
shows the financial values of various sales opportunities. For those sales
opportunities that have been lost, you might display the word LOST in red, rather
than displaying the financial value. A common use of this option is to display the
word EMPTY when a data value is null.
l If you select this option, type the text with which to replace the values in the
corresponding text field.
l Quick Symbol: Replace the normally displayed data with a common symbol. For
example, a document shows the financial contribution of various sales groups to
overall sales office activity. For the monthly trend column you could show either a
green plus + or a red minus – symbol to represent positive or negative contribution
trends.
l If you select this option, select the symbol with which to replace the values from the
corresponding drop-down menu.
l Image: Replace the normally displayed data with an image, such as an arrow or
green dot. You can specify the path to the image by typing the address using one of
the following:
l Absolute path: The default, for example, c:/images/img.jpg
l Relative to HTML Document directory: A relative path from the document directory
where the image is stored, for example, images/img.jpg
l On the network: A path on the local area network, which is in a UNC (Universal
Naming Convention) format, for example, //machine_name/shared_folder/img.jpg
l On the web: A URL to an image file, for example:
http://www.microstrategy.com/images/img.jpg
4. To format the threshold values by adjusting the font, color, alignment, and other
options, make the appropriate selections within the Font, Number, Alignment, and
Color and Lines tabs. Click Help for more information on the options available.
5. You can create, edit, and delete thresholds:
l It is often convenient to make a copy of a threshold if you plan to create similar
thresholds in the report. To copy a threshold, select the threshold in the Advanced
Threshold Editor and clickCopy, then paste the copied threshold by selecting the
threshold and clickingPaste.
l To delete a threshold, select the threshold and click Delete Threshold .
l To move a threshold above or below other thresholds, select the threshold and
clickMove uporMove down.
l To add an additional condition to a threshold, select the threshold and clickAdd
Condition .
l To clear the conditions from a threshold, select the threshold and clickClear
Conditions .
l To determine whether to apply the specified background color to graph reports in
which thresholds are met, select theEnable Thresholds on Graph icon .
l To have an email automatically delivered to you or other users when the threshold
is met, click Create Email Alert or Create Mobile Alert . For details on
using the Alerts Editor, click Help.
6. Selectors provide dashboards with interactivity, allowing each user to change how he
sees the data. A selector can change panels, the focus of a Grid/Graph, or dynamic
text fields (a text field that is a reference to an object on a report) in a panel stack.
Selectors that contain attribute, custom group, or consolidation elements as selector
items can also include an option to display totals. The total is calculated for all the
selector items. A user can choose whether to display specific elements, all of the
elements at the same time, or the totals.
If you are formatting a grid in a document that is also the target of a selector, you can
specify whether to apply conditional formatting to the grid when metrics are selected in
the selector, when totals are selected, or for both metrics and totals. To determine
what parts of the report are formatted when a threshold is met, select one of the
following options on the toolbar:
l To apply conditional formatting only when metrics are selected in the selector, click
the Format metrics only icon.
l To apply conditional formatting only when totals are selected in the selector, click
the Format subtotals only icon.
l To apply conditional formatting for both metrics and the Total option, click the
Format metrics and subtotals icon.
7. For steps to show totals in a selector, click Help.
8. To add another threshold condition, click Add a New Threshold , then repeat
the appropriate steps above.
9. Click OK to save changes and return to the report or document.
If DHTML is disabled, from the Format drop-down list, select Overlap Grid Titles, and
then click the Go icon.
overall document it seems clear that the percentages represent purchasing behavior by
customers for each of the products listed, but it is better to make this explicit in the title of
that dataset.
l Spend a higher percentage of your design time making the information understandable,
rather than adding “bells and whistles”. A clean, minimalist document is always easier to
derive useful information from than a busy, cramped, and distracting document.
1. In MicroStrategy Web, run the report that you want to enable drilling in.
2. From the Tools menu, select Report Options. The Report Options dialog box
opens.
3. From the Drill options drop-down list, select one of the following options to specify
how users can drill in the report:
l No drilling: Users cannot drill up, down, or across to any objects.
l Drill down only: Users can only drill down on objects on the report. They cannot
drill up or across to other objects.
l Drill anywhere: Users can drill up, down, and across to any objects available in
the drop-down list.
4. Click OK to apply the changes and return to the report.
user executes the report, the user is presented with a subset of what would otherwise be a
long list of data.
For images of the page-by feature, see Grouping data by page, page 63.
You can place more than one object in the page-by pane. If you decide to place multiple
related attributes in the page-by pane, be aware that order matters. Whatever you page-by
first (furthest to the left) affects the elements displayed in the other page-by fields. Place
multiple objects into the page-by pane in logical order, from left to right.
For a list of objects that can be used as pages, see Grouping data by page, page 63.
3. Save the report.
Example Grouping specific months into seasons, Displaying Top 5 Customers, Top 5
and displaying the seasons on a report. Employees, and Top 5 Items on one report.
Structure Groups of attribute elements (such as Groups of filters (such as top 5 revenue-
January, February, and so on). producing customers, top 5 revenue-
producing employees, and so on).
How it Creates a virtual attribute to allow Applies different filters to different rows of a
works reporting on an attribute that does not report.
exist in the data model.
The following table outlines other differences between custom groups and consolidations.
Arithmetic operations (row Yes, this can be done. No, this cannot be done.
level math)
Site of final calculation MicroStrategy Analytical Your data source.
Engine.
SQL efficiency High. Low. One pass for each custom group
element.
Recursive definition Yes. No.
Display mode Fixed at element level Flexible and expandable.
only.
Subtotals No. Yes.
For details on these differences, as well as business examples and steps to create
consolidations and custom groups, see the Consolidations and Custom Groups chapter of
the Advanced Reporting Guide.
Notice that the metrics that are included in the evaluation order are compound smart metrics.
A metric must have smart totals enabled for the evaluation order to affect it, otherwise the
metric is always calculated first. Only compound metrics can have smart totals enabled.
For steps to change the evaluation order of these objects on a report, see Evaluation order of
calculations, page 79 in Chapter 3, Analyzing Data.
For additional information on changing the evaluation order of objects on a report, see the
following chapters of the Advanced Reporting Guide:
l For the evaluation order of multiple consolidations, see the Custom Groups and
Consolidations chapter.
l For the evaluation order of all other report objects, see the Reports chapter.
For more information on compound metrics and smart totals, see Metrics made up of
metrics: Compound metrics, page 156 and Totals and subtotals, page 161.
If an existing report subscription uses a schedule or report that has been made unavailable for
subscriptions, the report will not be delivered.
For general information on subscribing to reports and documents, see the MicroStrategy
Web Help. For steps to specify delivery options for users subscribing to a document, see the
Formatting Documents chapter in the Document Creation Guide.
You can create new schedules in Schedule Manager. For steps, see the Scheduling Jobs
and Administrative Tasks chapter in the System Administration Guide.
Administrators can determine which schedules are included in the list on the left. For more
information, see the Web Administrator Help.
1. Open MicroStrategy Web and log in to the project that contains the report you want to
modify. For steps, see Starting MicroStrategy, page 1.
2. Locate and double-click the report you want to modify. The report opens in the Report
Editor interface.
3. From the Home menu, select Design. The report’s template is displayed within
Design Mode.
The following image shows Design Mode in MicroStrategy Web displaying the
template for the sample report called Revenue Forecast. On the right side of the
image, you can see the report objects on the template: the Subcategory attribute,
the Quarter attribute, and the Revenue Forecast metric:
available in the Report Objects, if you want to add them back to the grid. To
remove an object from the grid and the Report Objects pane, right-click the
object's header and select Remove from Report.
l To add usability features to the report, see Adding features for users, page 276
5. Save the report. For details on how a report is saved, see Saving a report, page 271.
If you modify an object on a report and want to execute the report to see how your changes
appear, you must first save and close the report, then re-open the report to see your changes.
When you create a document, you can specify the data that appears; control the layout,
formatting, grouping, and subtotaling of data; and specify the position of page breaks. In
addition, you can insert pictures and draw borders in the document. All of these capabilities
allow you to create reports that are suitable for presentation to management and for printing
boardroom quality material.
The image above shows a sample production and operational report document. It lists all
sales opportunities in the pipeline, and it groups those opportunities based on sales region,
sales district, and sales representative. This document also provides a snapshot of each
opportunity’s current status and measures key metrics such as unweighted and weighted
sales forecasts.
Sales managers can use this document to see a general overview of the sales pipeline and
to identify key opportunities and opportunity statuses. The data in this document can help
you evaluate sales opportunities for each sales representative and to prioritize those
opportunities that have a greater probability of being closed.
You must have MicroStrategy Report Services to be able to design and work with Report
Services documents. Detailed information to create and modify Report Services documents
can be found in the Document Creation Guide.
The document types that can be created in MicroStrategy include the following:
l Scorecards and dashboards: designed for visual impact, these documents provide a
distilled view of the business, organized in adaptive sections or zones.
l Managed metrics reports: with a quantitative focus, these documents present lists of
metrics or process-driven tabular views of the business.
l Production and operational reports: designed for production operations management,
these documents present data in hierarchical categories or bands and can span hundreds
of printed pages.
l Invoices and statements: these documents use transaction and sub-transaction level data
necessary for billing, collection, and customer service.
l Business reports: designed for financial and other statutory business reporting, these
documents present comprehensive data in print and electronic forms.
Derived metrics
Derived metrics are metrics that a report analyst can use to perform calculations based on
report results. A derived metric performs a calculation on the fly with the data available in a
report without re-executing the report against the database. Derived metrics are created
based on existing metrics in the report. Since derived metrics are evaluated in memory, their
computation does not require any SQL execution in the database. They are evaluated on the
client for MicroStrategy Developer, or on Intelligence Server for MicroStrategy Web.
A report designer does not need to enable derived metrics for users to take advantage of
them. If you have OLAP Services, derived metrics can be used on any report on which a user
wants to use them.
Dynamic aggregation
Dynamic aggregation allows a report analyst to change the level at which the data on a
report is aggregated. (For an introduction to levels, see Components of a metric, page 150.)
The analyst can make the change on the fly, while reviewing the report data. Dynamic
aggregation occurs when report objects (such as an attribute or an attribute form) are moved
from the grid to the Report objects pane. As attributes are moved on and off the report
between the grid and the Report objects pane, metric values are dynamically recalculated at
the level of the objects remaining on the grid.
A report designer does not need to enable dynamic aggregation for users to take advantage
of it. If you have OLAP Services, dynamic aggregation can be used on any report on which a
user wants to use it.
To see an image of the Report objects pane, see MicroStrategy Developer Report Editor
interface, page 304.
Freeform SQL
Freeform SQL is a MicroStrategy tool that allows you to write your own SQL statements to
run directly against a data warehouse or operational data store, giving you full control over
accessing your data.
Traditionally, you use the MicroStrategy Engine to generate SQL to run against one specific
relational database to return results for a desired report. In addition to generating reports in
the traditional way, you can also use your own customized SQL statements to generate
reports from operational systems included in a MicroStrategy project. This capability can
save you time since you do not need to place the data into a data mart or data warehouse
first.
The Freeform SQL feature allows you to use your own SQL statements to access data from
various ODBC data sources, including relational databases, Excel files, and flat files, as long
as they are included in the MicroStrategy environment. Since you create your own SQL
statements to create reports with Freeform SQL, a strong knowledge of how to create and
use SQL statements is essential.
For detailed information on how to create a Freeform SQL report, see the Custom SQL
Queries chapter in the Advanced Reporting Guide.
Query Builder
Query Builder is a graphical user interface that helps guide you when building SQL queries
that can adapt to different data models. Query Builder allows you to run queries against
ODBC data sources that are not easily modeled to an attribute and fact schema. This
includes databases that are a collection of flat tables rather than being defined into fact and
lookup tables.
Query Builder provides an easy way to quickly access your ODBC data sources without
having to write any SQL, which is required by the Freeform SQL tool. You can create queries
to be run against imported database tables, which allows you to begin reporting and analysis
with MicroStrategy without performing the project creation step of modeling attribute and fact
schemas. (The modeling step is necessary for MicroStrategy’s ROLAP Engine to define
attribute and fact schemas.) You can also import tables into a project’s Warehouse Catalog
using the Query Builder feature.
Query Builder allows you more control over the SQL generated against your database
systems, without the need for extensive knowledge on how to create SQL statements. A
basic knowledge of how SQL statements use tables, columns, and joins to build queries is
essential.
For detailed information on how to create a Query Builder report, see the Custom SQL
Queries chapter in the Advanced Reporting Guide.
removing shortcuts from the Shortcut Bar, page 300. When all panes are displayed, the
Shortcut Bar is the left pane of the Developer interface.
Use the following procedures to create new shortcut groups, add shortcut icons to groups,
and rename or remove icons and groups.
1. Right-click an empty area of the Shortcut Bar and select Add Group.
2. In the Create a new shortcut group dialog box, type a name for the new group and
click OK. Your new shortcut group appears in the Shortcut Bar.
1. On the Shortcut Bar, click the shortcut group to which you want to add your new
shortcut. Any shortcuts which are currently in the group appear in the Shortcut Bar.
2. In the Folder List, right-click the project or folder for which you want to create a
shortcut, and select Add to Shortcut Bar. A new shortcut icon appears in the
Shortcut Bar.
By default, the name of the shortcut icon is the same as the name of the folder or project for
which you created the shortcut. You can rename any shortcut icon by right-clicking it and
selecting Rename Shortcut.
1. Click the shortcut group you want to remove. The shortcut icons which are currently in
the group appear in the Shortcut Bar.
2. Right-click an empty area of the Shortcut Bar and select Remove Group.
3. In the confirmation dialog box, click Yes to remove the shortcut group. All shortcut
icons within this group are also removed.
The menus, options, and icons available to you depend on your security privileges. For
example, if you do not have administrative privileges, you do not see the Administration
menu.
Developer menus
From the Developer menus, you can do the following.
Common Microsoft Windows-style menus and menu options are not included here, such as
the Edit menu, which contains Cut, Copy, Paste, and so forth.
Menu Description
Menu Description
Create a Creates a new report or report-related object. The objects you can
New Object create depend on your privileges and your location in the Folder
List.
Cut Cuts the selected objects. Use this to move or remove objects
from the My Personal Objects folder (and the folders within it).
Paste Pastes the objects you have cut or copied. Use this to move or
duplicate objects in the My Personal Objects folder (and the folders
within it).
Rename the Renames the selected object in the My Personal Objects folder
object (and the folders within it).
selected
View Object Displays information about the selected object’s general properties
Properties such as type, location, description, creation and modification
dates, owner and user access.
Search Opens the Search Editor. Use this to search for report-related
objects.
Edit the Opens the appropriate editor for the selected object. Use this to
object change the settings of an object’s definition such as formatting,
selected sorting, defining totals or subtotals, assigning thresholds, and so
on.
Run Executes the selected report. Use this to view your business data
in an existing report.
Show or hide Turns the Folder List display on or off. The Folder List displays all
the Folder the projects to which you have access, as well as the folders
List containing objects within those projects.
Go one level Moves one level up in the Folder List. Use this for quick navigation
up among report-related objects and their folders.
For details on report designer privileges and the report designer role, see Before you begin,
page 134 in Chapter 7, Building Query Objects and Queries, for Designers.
same folders. For details on creating shortcuts, see Quick object access: Creating
shortcuts to objects, page 142.
l View Filter pane: (top right) (This pane is only available if you have MicroStrategy
OLAP Services. See OLAP Services, page 13 for details.) Where you apply a special kind
of filter to any object that is in the Report Objects pane. View filters do not modify the SQL
for the report like normal report filters do. Instead, view filters are applied to the overall
result set after the SQL is executed and results are returned from the data source. This
can help improve report execution performance. For details on using view filters, see
Designing reports that use OLAP Services, page 295.
l Report Filter pane: (center right) Where you add filtering conditions to a report.
Filtering conditions can be made up of attributes, metrics, advanced filter qualifications,
and shortcuts to an existing report filter. The Report Filter pane allows you to create a filter
without having to open a separate object editor (the Filter Editor). Simple filters can be
conveniently created by dragging and dropping objects from the Object Browser into this
pane to create a filter. For details on creating filters, see Filtering data on a report: Filters,
page 169.
l Report View pane: (bottom right) Where you define your report layouts by dragging
and dropping objects from the Object Browser onto this report view pane. You can create
a report to serve as a template for other reports; for details on templates, see Designing a
report’s structure: Templates, page 249.
l Page-by pane: (top of Report View pane) Where you place subsets of your report results
to be displayed as separate pages of the executed report. For details on adding page-by
functionality to a report, see Grouping data by page, page 63.
The menus, options, and icons available to you depend on your security privileges. For
example, if you do not have administrative privileges, you do not see the Administration
menu.
Web menus
From the interface that is displayed when viewing an executed report in MicroStrategy Web,
you can perform the following.
Common Microsoft Windows-style menus and menu options are not included here, such as
the Edit menu, which contains Cut, Copy, Paste, and so forth.
Menu Description
Home Create, save, export, subscribe to, and view the details of reports, and send reports to the
History List.
Change the view of a report by choosing Design, Grid, Graph, or Grid and Graph view.
Tools Convert the report to a document.
Change the display using the following report options:
• Merge or lock column and row headers
• Show color banding on the report
• Enable outline mode
• Show thresholds
You can also show or hide the following:
• Report filter
• View filter
• Object Browser
• MicroStrategy Web toolbars
• Pivot and sort buttons
• Page-by axis
• A list of reports related to the current report
Data Manipulate objects and data on the report.
For example, you can do the following:
• Swap the columns and rows
• Add objects to a report
• Edit view filter conditions
• Sort data
• Drill on a report
• View only specific data on the report by filtering on selections
• Reset, refresh, or re-prompt the report
• Insert a new metric
• Rename objects on the report
• Include attribute forms on the report
• Enable and customize totals
• Add and edit thresholds
Menu Description
All Objects Shows or hides the All Objects pane, which lets you
search for, locate, and select objects that are part of
the project.
Notes Shows or hides the Notes pane, which lets you add a
new note or edit an existing note. Notes can include
details about the report, information on how the
report was created, reasons to use it, queries about
the data displayed, or anything useful to you and
other users who execute the same report.
Related Reports Shows or hides the Related Reports pane, which
displays a list of reports related to the objects in the
current report.
Page-by Axis Shows or hides the page-by pane. Page-by is used to
group large amounts of data into separate pages of
the report, allowing you to view a subset of data.
View Filter Shows or hides the View Filter pane, which lets you
apply a filter on-the-fly to any attribute or metric on
the report. This icon is available only if you own
MicroStrategy OLAP Services.
Report Details Shows or hides the Report Details pane, which
displays the report description and filter details for
the report. The Report Details pane may also display
the prompt details and template details of the report.
Prompt Details Shows or hides the Prompt Details pane, which
displays the prompt information for all prompts in the
report. The information includes the name of each
prompt and its answers.
Show Pivot Shows or hides pivot buttons on column headers of a
Buttons grid report. Pivoting lets you re-arrange the columns
and rows in a report.
Sort Lets you specify advanced sort options. You can sort
the data in rows or columns either in ascending or
descending order.
Drill Lets you customize the drill options for the attributes
of a report. For details on drilling, see Drilling into
related data, page 90.
Filter on Displays the rows and columns for the selected
Selections attribute in a report. For example, if a report has more
rows of information than you wish to view, you can
specify which rows to display.
Refresh Refreshes the current display.
Swap Rows and Moves all report objects in the rows of the report to
Columns the columns of the report, and moves all report
objects in the columns of the report to the rows of the
report.
Insert New Lets you create a new derived metric. Derived metrics
Metric are metrics that you can create based on existing
metrics in the report. This icon is available only if you
own MicroStrategy OLAP Services.
Rename/Edit Lets you rename an object in a report.
Objects
Edit Attribute Lets you select the attribute forms to be displayed on
Forms the report. For example, the Customer attribute can
have the forms such as First Name, Last Name,
Address, Email Address, and so on.
Toggle Attribute Shows or hides the attribute forms of an attribute in
Form Names the report.
Show Totals Shows or hides subtotals and grand totals included in
the report.
Edit Totals Lets you include or remove subtotals from the report.
Series by Row Uses the objects on the rows of the report as the
series (data markers) of the graph report. The objects
on the columns are used as the categories of the
graph report.
Series by Uses the objects on the columns of the report as the
Column series (data markers) of the graph report. The objects
on the rows are used as the categories of the graph
report.
Auto Arrange Rearranges the layout of a graph report. This helps
you to automatically reposition the layout of the
MicroStrategy pre-8.x graph reports containing
overlapping components when you open them in
MicroStrategy 8.x Web.
Apply Applies the specified number of categories and series
that are to be displayed on the graph.
For details on report designer privileges and the report designer role, see Before you begin,
page 134 in Chapter 7, Building Query Objects and Queries, for Designers.
l Report Filter pane: (top right) Click Edit Report Filter to display the Report Filter
and View Filter panes:
l Report Filter pane: Where you add filtering conditions to a report. Filtering
conditions can be made up of attributes, metrics, advanced filter qualifications, and
shortcuts to an existing report filter. The Report Filter pane allows you to create a filter
without having to open a separate object editor (the Filter Editor). Simple filters can be
conveniently created by dragging and dropping objects from the Object Browser into
this pane to create a filter. For details on creating filters, see Filtering data on a report:
Filters, page 169.
l View Filter pane: (This pane is only available if you have MicroStrategy OLAP
Services. See OLAP Services, page 13 for details.) Where you apply a special kind of
filter to any object that is in the Report Objects pane. View filters do not modify the SQL
for the report like normal report filters do. Instead, view filters are applied to the overall
result set after the SQL is executed and results are returned from the data source. This
can help improve report execution performance. For details on using view filters, see
Designing reports that use OLAP Services, page 295.
l Page-by pane: (center right) Where you place subsets of your report results to be
displayed as separate pages of the executed report. For details on adding page-by
functionality to a report, see Grouping data by page, page 63.
l Template pane: (bottom right) Where you define your report layouts by dragging and
dropping objects from the Object Browser onto this report template pane. For details on
templates, see Designing a report’s structure: Templates, page 249.
anywhere 93 default 79
behavior 91 example
exporting 15 row
filtering 82 alias 25
opening 4 color banding 34
printing 15 formatting, by a designer 276
saving 271 locking headers 278
searching for a value 57 locking name/header 36
report analysis viii merging headers 278
Report Builder 129 objects on 5
report data pivoting 68
searching for 57 swapping data with columns 69
sorting 54
S
Report Data Options
sample data 3
aliasing options 28
saving
report limit 71
metric 160-161
report design viii, 135
object 141
Report Details pane
saving a report 271
customizing 85
page-by and 67
Report Editor 253
prompt and 123
accessing from Developer 254
scheduled report and prompt 208
Developer 304
searching for
MicroStrategy Web 312
data in a report 57
report limit 70
SQL string 58
creating 71
security filter and prompt 207
example 70
series in a graph report 45
maximum and minimum values 70
graph color for a metric 45
operator 71
set qualification 185
report filter and 73
metric 185
Report Services document 293
relationship 186, 188
adding usability to 285
shortcut-to-a-filter qualification 194
creating 293
creating 195
Report Wizard 127
example 194
U
undo graph formatting 50
usability features, adding to a report 276
user-defined subtotal 169
V
value
aligning in a cell 138
locating in a report 57
Value prompt 243
adding to a metric 270
creating 245
example 243
view filter 13, 296
regular filter vs. 84
viewing
a graph 7
filter definition 84
grid report 4
metric 144
SQL 9
VLDB property 169
W
Web. See MicroStrategy Web. 2