Professional Documents
Culture Documents
Course Guide
Version: RPTESS-921-Oct11-Color
20002011 MicroStrategy Incorporated. All rights reserved.
This Course (course and course materials) and any Software are provided as is and without express or limited
warranty of any kind by either MicroStrategy Incorporated (MicroStrategy) or anyone who has been involved in the
creation, production, or distribution of the Course or Software, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the Course
and Software is with you. Should the Course or Software prove defective, you (and not MicroStrategy or anyone else
who has been involved with the creation, production, or distribution of the Course or Software) assume the entire cost
of all necessary servicing, repair, or correction.
In no event will MicroStrategy or any other person involved with the creation, production, or distribution of the Course
or Software be liable to you on account of any claim for damage, including any lost profits, lost savings, or other
special, incidental, consequential, or exemplary damages, including but not limited to any damages assessed against or
paid by you to any third party, arising from the use, inability to use, quality, or performance of such Course and
Software, even if MicroStrategy or any such other person or entity has been advised of the possibility of such damages,
or for the claim by any other party. In addition, MicroStrategy or any other person involved in the creation, production,
or distribution of the Course and Software shall not be liable for any claim by you or any other party for damages
arising from the use, inability to use, quality, or performance of such Course and Software, based upon principles of
contract warranty, negligence, strict liability for the negligence of indemnity or contribution, the failure of any remedy
to achieve its essential purpose, or otherwise.
The Course and the Software are copyrighted and all rights are reserved by MicroStrategy. MicroStrategy reserves the
right to make periodic modifications to the Course or the Software without obligation to notify any person or entity of
such revision. Copying, duplicating, selling, or otherwise distributing any part of the Course or Software without prior
written consent of an authorized representative of MicroStrategy are prohibited.
U.S. Government Restricted Rights. It is acknowledged that the Course and Software were developed at private
expense, that no part is public domain, and that the Course and Software are Commercial Computer Software and/or
Commmercial Computer Software Documentation provided with RESTRICTED RIGHTS under Federal Acquisition
Regulations and agency supplements to them. Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at
DFAR 252.227-7013 et. seq. or subparagraphs (c)(1) and (2) of the Commercial Computer SoftwareRestricted Rights
at FAR 52.227-19, as applicable. The Contractor is MicroStrategy, 1850 Towers Crescent Plaza, Vienna, Virginia 22182.
Rights are reserved under copyright laws of the United States with respect to unpublished portions of the Software.
Trademark Information
MicroStrategy, MicroStrategy 6, MicroStrategy 7, MicroStrategy 7i, MicroStrategy 7i Evaluation Edition,
MicroStrategy 7i Olap Services, MicroStrategy 8, MicroStrategy 9, MicroStrategy Distribution Services, MicroStrategy
MultiSource Option, MicroStrategy Command Manager, MicroStrategy Enterprise Manager, MicroStrategy Object
Manager, MicroStrategy Reporting Suite, MicroStrategy Power User, MicroStrategy Analyst, MicroStrategy Consumer,
MicroStrategy Email Delivery, MicroStrategy BI Author, MicroStrategy BI Modeler, MicroStrategy Evaluation Edition,
MicroStrategy Administrator, MicroStrategy Agent, MicroStrategy Architect, MicroStrategy BI Developer Kit,
MicroStrategy Broadcast Server, MicroStrategy Broadcaster, MicroStrategy Broadcaster Server, MicroStrategy
Business Intelligence Platform, MicroStrategy Consulting, MicroStrategy CRM Applications, MicroStrategy Customer
Analyzer, MicroStrategy Desktop, MicroStrategy Desktop Analyst, MicroStrategy Desktop Designer, MicroStrategy
eCRM 7, MicroStrategy Education, MicroStrategy eTrainer, MicroStrategy Executive, MicroStrategy Infocenter,
MicroStrategy Intelligence Server, MicroStrategy Intelligence Server Universal Edition, MicroStrategy MDX Adapter,
MicroStrategy Narrowcast Server, MicroStrategy Objects, MicroStrategy OLAP Provider, MicroStrategy SDK,
MicroStrategy Support, MicroStrategy Telecaster, MicroStrategy Transactor, MicroStrategy Web, MicroStrategy Web
Business Analyzer, MicroStrategy World, Application Development and Sophisticated Analysis, Best In Business
Intelligence, Centralized Application Management, Information Like Water, Intelligence Through Every Phone,
Intelligence To Every Decision Maker, Intelligent E-Business, Personalized Intelligence Portal, Query Tone, Rapid
Application Development, MicroStrategy Intelligent Cubes, The Foundation For Intelligent E-Business, The Integrated
Business Intelligence Platform Built For The Enterprise, The Platform For Intelligent E-Business, The Scalable
Business Intelligence Platform Built For The Internet, Industrial-Strength Business Intelligence, Office Intelligence,
MicroStrategy Office, MicroStrategy Report Services, MicroStrategy Web MMT, MicroStrategy Web Services, Pixel
Perfect, Pixel-Perfect, MicroStrategy Mobile, MicroStrategy Integrity Manager and MicroStrategy Data Mining
Services are all registered trademarks or trademarks of MicroStrategy Incorporated.
All other company and product names may be trademarks of the respective companies with which they are associated.
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,181,417, 7,127,403, 7,174,349, 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
and 7,861,253. Other patent applications are pending.
How to Contact Us
MicroStrategy Education Services
1850 Towers Crescent Plaza
Vienna, VA 22182
Phone: 877.232.7168
Fax: 703.848.8602
E-mail: education@microstrategy.com
http://www.microstrategy.com/education
MicroStrategy Incorporated
1850 Towers Crescent Plaza
Vienna, VA 22182
Phone: 703.848.8600
Fax: 703.848.8610
E-mail: info@microstrategy.com
http://www.microstrategy.com
2011 MicroStrategy, Inc. 5
TABLE OF CONTENTS
Preface Course Description.................................................................... 13
Who Should Take This Course.............................................. 14
Follow-Up Courses ................................................................ 14
Related Certifications............................................................. 14
Course Objectives ................................................................. 15
About the Course Materials ......................................................... 16
Content Descriptions ............................................................. 16
Learning Objectives ............................................................... 16
Lessons ................................................................................. 16
Opportunities for Practice ...................................................... 17
Typographical Standards....................................................... 17
MicroStrategy Courses .......................................................... 19
Core Courses......................................................................... 19
1. Introduction to
MicroStrategy
Business Intelligence
Lesson Description ................................................................... 21
Lesson Objectives ................................................................. 22
Business Intelligence Architecture............................................... 23
Source Systems (OLTP) ........................................................ 24
Data Warehouse (OLAP) ....................................................... 25
ETL Process .......................................................................... 26
Data Import ............................................................................ 26
Metadata Database ............................................................... 27
MicroStrategy Applications .................................................... 27
Lesson Summary......................................................................... 28
Table of Contents MicroStrategy Web for Professionals
6 2011 MicroStrategy, Inc.
2. Introduction to
MicroStrategy
Desktop
Lesson Description ................................................................... 29
Lesson Objectives ................................................................. 30
Introduction to MicroStrategy Desktop......................................... 31
MicroStrategy Desktop........................................................... 31
MicroStrategy Architect.......................................................... 35
Administrative Functions........................................................ 35
Project Sources and Projects ...................................................... 37
Connect to a Project Source.................................................. 37
Administration Icon ................................................................ 39
Project Icons .......................................................................... 40
The Desktop Interface ................................................................. 42
Basic Navigation.......................................................................... 44
Desktop Menu Bar ................................................................. 44
Desktop Toolbar .................................................................... 45
Creating and Saving Objects....................................................... 47
Saving Objects....................................................................... 48
Shortcuts to Objects .................................................................... 49
Lesson Summary......................................................................... 51
3. Reports Lesson Description ................................................................... 53
Lesson Objectives ................................................................. 54
What Is a Report?........................................................................ 55
Creating, Saving, and Viewing Reports....................................... 57
The Report Editor .................................................................. 57
Creating Reports.................................................................... 59
Saving Reports ...................................................................... 66
Running Reports.................................................................... 68
Report Display Views............................................................. 68
Report Details Properties....................................................... 69
Lesson Summary......................................................................... 73
Exercises: Reports in Desktop..................................................... 75
Create a Report ..................................................................... 75
Work with Design View.......................................................... 78
Use the Template Editor ........................................................ 79
Use an Existing Template and No Filtering Criteria............... 81
Extra Credit ............................................................................ 83
MicroStrategy Web for Professionals Table of Contents
2011 MicroStrategy, Inc. 7
4. Report Data
Manipulations
Lesson Description ................................................................... 87
Lesson Objectives ................................................................. 88
Data Manipulation........................................................................ 89
Drilling.......................................................................................... 90
What is Drilling?..................................................................... 90
Methods for Drilling................................................................ 91
Page-by ....................................................................................... 97
What Is Page-by? .................................................................. 97
Methods for Creating Page-by Fields .................................... 99
Data Pivoting ............................................................................. 101
Methods for Data Pivoting ................................................... 102
Subtotals.................................................................................... 103
Subtotals by Position ........................................................... 105
Subtotals Across Levels ...................................................... 106
Subtotals Group By.............................................................. 108
Sorting ....................................................................................... 110
Methods for Sorting ............................................................. 110
Outline Mode ............................................................................. 115
Using Outline Mode ............................................................. 116
Printing....................................................................................... 119
Exporting and E-mailing Reports............................................... 121
Removing Metrics Columns................................................. 122
Report Subscription in Desktop ................................................. 123
Subscribing a Report to the History List............................... 124
Subscribing a Report to Update Cache ............................... 126
Subscribing a Report to a Mobile Device............................. 127
Adding Notes to Reports and Documents ................................. 129
Lesson Summary....................................................................... 132
Exercises: Report Data Manipulations in Desktop..................... 133
Drilling and Page-By ............................................................ 133
Pivoting and Sorting............................................................. 138
Totals and Outline Mode...................................................... 141
Exporting Reports ................................................................ 146
E-mailing Reports ................................................................ 148
5. Report Style
Manipulations
Lesson Description ................................................................. 151
Lesson Objectives ............................................................... 152
Style Manipulation ..................................................................... 153
Formatting.................................................................................. 154
Table of Contents MicroStrategy Web for Professionals
8 2011 MicroStrategy, Inc.
Methods for Formatting........................................................ 154
Autostyles ............................................................................ 157
Thresholds................................................................................. 159
Banding...................................................................................... 165
Locking and Resizing Columns and Rows ................................ 168
Graph Properties ....................................................................... 171
Display Data Labels............................................................. 171
Graph Title........................................................................... 173
Specify the Number of Categories and Series..................... 174
Nested Labels...................................................................... 176
Graph Undo/Redo................................................................ 178
Lesson Summary....................................................................... 179
Exercises: Report Style Manipulations in Desktop .................... 181
Formatting and Autostyles ................................................... 181
Thresholds ........................................................................... 185
Locking\Resizing Columns and Rows.................................. 190
Bar Graph ............................................................................ 194
Graph with Gauges.............................................................. 200
6. Filters Lesson Description ................................................................. 203
Lesson Objectives ............................................................... 204
What Is a Filter?......................................................................... 205
Creating and Saving Report Filters............................................ 209
The Filter Editor ................................................................... 209
Creating a Simple Filter ....................................................... 210
Saving a Filter ...................................................................... 211
Types of Report Filters .............................................................. 211
Attribute Qualification........................................................... 212
Set Qualification................................................................... 215
Shortcut to a Report (Report As Filter) ................................ 217
Shortcut to a Filter (Filter Qualification) ............................... 218
Set Operators ............................................................................ 219
Lesson Summary:...................................................................... 224
Exercises: Filters in Desktop ..................................................... 225
Creating a Filter ................................................................... 225
Creating Another Filter......................................................... 226
Qualifying on a Metric .......................................................... 228
Combining Two Filters in a Report....................................... 230
MicroStrategy Web for Professionals Table of Contents
2011 MicroStrategy, Inc. 9
7. Metrics Lesson Description ................................................................. 233
Lesson Objectives ............................................................... 234
What Is a Fact?.......................................................................... 235
What Is a Metric?....................................................................... 237
Types of Metrics ........................................................................ 241
Simple Metrics ..................................................................... 241
Nested Metrics..................................................................... 242
Compound Metrics............................................................... 243
Metric Creation .......................................................................... 245
Metric Editor......................................................................... 245
Metric Components.............................................................. 248
Creating a Simple Metric...................................................... 249
Saving a Metric .................................................................... 250
Metric Formatting....................................................................... 251
Metric Value and Header Formatting................................... 251
Subtotals/Aggregation Tab .................................................. 252
Lesson Summary....................................................................... 258
Exercises: Metrics in Desktop.................................................... 259
Create a Simple MetricCost ............................................. 259
Create a Simple MetricRevenue ...................................... 261
Use the Created Metrics in a Report.................................... 262
Create a Compound MetricProfit Margin.......................... 263
Use Profit Margin in a Report............................................... 265
Display Subtotals ................................................................. 268
8. MicroStrategy OLAP
Services
Lesson Description ................................................................. 273
Lesson Objectives ............................................................... 274
Introduction to OLAP Services................................................... 275
Report Objects........................................................................... 276
Methods for Adding Report Objects..................................... 277
Methods for Removing Report Objects................................ 278
View Filters ................................................................................ 279
Derived Metrics.......................................................................... 282
Lesson Summary....................................................................... 285
Exercises: MicroStrategy OLAP Services.................................. 287
Using the Report Objects Window to Add Attributes ........... 287
Using View Filters ................................................................ 290
Create and Format a Derived MetricGrowth .................... 293
Table of Contents MicroStrategy Web for Professionals
10 2011 MicroStrategy, Inc.
9. Prompts and
Searches
Lesson Description ................................................................. 297
Lesson Objectives ............................................................... 298
What Is a Prompt?..................................................................... 299
Creating Prompts................................................................. 300
Filter Definition Prompts ............................................................ 304
Creating Filter Definition Prompts........................................ 304
Using Filter Definition Prompts in a Report.......................... 313
Object Prompts.......................................................................... 314
Creating Object Prompts...................................................... 315
Using Object Prompts in a Report ....................................... 317
Value Prompts ........................................................................... 319
Creating a Value Prompt ..................................................... 320
Using Value Prompts in a Report......................................... 321
Other Prompt Topics.................................................................. 323
Creating Local Prompts ....................................................... 323
Re-prompting Inside Reports............................................... 324
Saving Reports with Prompts............................................... 325
Save and Reuse Prompt Answers....................................... 326
What Is a Search Object?.......................................................... 331
The Search for Objects Editor.............................................. 331
Saving Searches.................................................................. 334
Search-based Prompts ........................................................ 334
Lesson Summary....................................................................... 335
Exercises: Prompts and Searches............................................. 337
Create Filter Definition Prompts........................................... 337
Create Object Prompts ........................................................ 341
Create a Value Prompt ........................................................ 348
A. MicroStrategy Tutorial The MicroStrategy Tutorial Data Model ..................................... 352
Geography Hierarchy........................................................... 353
Customers Hierarchy ........................................................... 354
Time Hierarchy..................................................................... 355
Products Hierarchy .............................................................. 356
The MicroStrategy Tutorial Schema .......................................... 356
Geography Schema............................................................. 360
Customers Schema ............................................................. 361
Time Schema....................................................................... 362
Products Schema ................................................................ 363
Fact Tables Schema............................................................ 364
MicroStrategy Web for Professionals Table of Contents
2011 MicroStrategy, Inc. 11
MicroStrategy Glossary .......................................................... 365
Index ......................................................................................... 409
Table of Contents MicroStrategy Web for Professionals
12 2011 MicroStrategy, Inc.
2011 MicroStrategy, Inc. 13
PREFACE
Course Description
This 2-day course provides an overview of reporting, using MicroStrategy
Desktop. The topics covered in this course include:
Navigating the MicroStrategy Desktop interface
Building and manipulating reports, templates, basic filters, basic metrics,
prompts, and searches
Using the functionality and benefits of MicroStrategy OLAP Services
Preface MicroStrategy Desktop: Reporting Essentials
14 Who Should Take This Course 2011 MicroStrategy, Inc.
Who Should Take This Course
This course is designed for:
Project Architects
Desktop Developers
Administrators
SDK Developers
Follow-Up Courses
After taking this course, you might consider taking the following courses:
MicroStrategy Desktop: Advanced Reporting
MicroStrategy Architect: Project Design Essentials
MicroStrategy Report Services: Document Essentials
Related Certifications
To validate your proficiency in the content of this course, you might consider
taking the following certifications:
Certified Project Designer
Certified Report Developer
Certified Platform Administrator
MicroStrategy Desktop: Reporting Essentials Preface
2011 MicroStrategy, Inc. Course Objectives 15
Course Objectives
After completing this course, you will be able to:
Describe the MicroStrategy business intelligence architecture. (Page 12)
Describe the components of MicroStrategy Desktop, navigate the main
interface, and access project sources and projects. (Page 20)
Define the components that comprise a report and create simple reports
using Desktop. (Page 44)
Define the different types of report manipulations available and perform
these report manipulations using Desktop. (Page 78)
Define the different types of style manipulations available and perform these
style manipulations using Desktop. (Page 142)
Define the different types of report filters available in Desktop and create
each type using the Filter Editor. (Page 194)
Define the different types of metrics, and create them using the Metric
Editor in Desktop. (Page 224)
Describe the features provided by MicroStrategy OLAP Services, including
report objects, view filters, and derived metrics. Use the Report Objects
window, and create view filters and derived metrics in reports. (Page 264)
Define the different types of prompts, and explain how you can use search
objects inside prompts. Create prompts and searches in
Desktop. (Page 288)
Preface MicroStrategy Desktop: Reporting Essentials
16 About the Course Materials 2011 MicroStrategy, Inc.
About the Course Materials
This course is organized into lessons and reference appendices. Each lesson
focuses on major concepts and skills that help you to better understand
MicroStrategy products and use them to implement MicroStrategy projects.
The appendices provide you with supplemental information to enhance your
knowledge of MicroStrategy products.
Content Descriptions
Each major section of this course begins with a Description heading. The
Description introduces you to the content contained in that section.
Learning Objectives
Learning objectives enable you to focus on the key knowledge and skills you
should obtain by successfully completing this course. Objectives are provided
for you at the following three levels:
CourseYou will achieve these overall objectives by successfully
completing all the lessons in this course. The Course Objectives heading in
this Preface contains the list of course objectives.
LessonYou will achieve these main objectives by successfully completing
all the topics in the lesson. You can find the primary lesson objectives
directly under the Lesson Objectives heading at the beginning of each
lesson.
Main TopicYou will achieve this secondary objective by successfully
completing the main topic. The topic objective is stated at the beginning of
the topic text. You can find a list of all the topic objectives in each lesson
under the Lesson Objectives heading at the beginning of each lesson.
Lessons
Each lesson sequentially presents concepts and guides you with step-by-step
procedures. Illustrations, screen examples, bulleted text, notes, and definition
tables help you to achieve the learning objectives.
MicroStrategy Desktop: Reporting Essentials Preface
2011 MicroStrategy, Inc. About the Course Materials 17
Opportunities for Practice
A Workshop is a reinforcement and assessment activity that follows two or
more lessons. Because a Workshop covers content and applied skills presented
in several lessons, it is a separate section on the level of a lesson.
The following sections within lessons provide you with opportunities to
reinforce important concepts, practice new product and project skills, and
monitor your own progress in achieving the lesson and course objectives:
Review
Case Study
Business Scenario
Exercises
Typographical Standards
The following sections explain the font style changes, icons, and different types
of notes that you see in this course.
Actions
References to screen elements and keys that are the focus of actions are in bold
Arial font style. The following example shows this style:
Click Select Warehouse.
Code
References to code, formulas, or calculations within paragraphs are formatted
in regular Courier.New font style. The following example shows this style:
Sum(Sales)/Number of Months
Preface MicroStrategy Desktop: Reporting Essentials
18 About the Course Materials 2011 MicroStrategy, Inc.
Data Entry
References to literal data you must type in an exercise or procedure are in bold
Arial font style. References to data you type that could vary from user to user or
system to system are in bold italic Arial font style. The following example
shows this style:
Type copy c:\filename d:\foldername\filename.
Keyboard Keys
References to a keyboard key or shortcut keys are in uppercase letters in bold
Arial font style. The following example shows this style:
Press CTRL+B.
New Terms
New terms to note are in regular italic font style. These terms are defined when
they are first encountered in the course. The following example shows this
style:
The aggregation level is the level of calculation for the metric.
Notes and Warnings
Precedes Exercises
MicroStrategy Courses
Core Courses
Implementing MicroStrategy: Development and Deployment
MicroStrategy Architect: Project Design Essentials
MicroStrategy Desktop: Advanced Reporting
MicroStrategy Desktop: Reporting Essentials
MicroStrategy Report Services: Document Essentials
MicroStrategy Report Services: Dynamic Dashboards
MicroStrategy Web for Professionals
MicroStrategy Web for Reporters and Analysts
*All courses are subject to change. Please visit the MicroStrategy Web site for the latest education offer-
ings.
Preface MicroStrategy Desktop: Reporting Essentials
20 About the Course Materials 2011 MicroStrategy, Inc.
2011 MicroStrategy, Inc. 21
1
INTRODUCTION TO
MICROSTRATEGY BUSINESS
INTELLIGENCE
Lesson Description
This lesson introduces you to the basic components of a business intelligence
architecture using MicroStrategy:
Source systems
Data warehouse
ETL process
Data Import
Metadata database
MicroStrategy applications
If you are already familiar with business intelligence systems, this lesson will
serve as a good refresher and will help you link the terminology and concepts
you already understand to a MicroStrategy environment.
Introduction to MicroStrategy Business Intelligence MicroStrategy Desktop: Reporting Essentials 1
22 Lesson Objectives 2011 MicroStrategy, Inc.
Lesson Objectives
After completing this lesson, you will be able to:
Describe the MicroStrategy business intelligence architecture.
After completing the topics in this lesson, you will be able to:
List and define the components of a business intelligence architecture using
MicroStrategy. (Page 23)
MicroStrategy Desktop: Reporting Essentials Introduction to MicroStrategy Business Intelligence 1
2011 MicroStrategy, Inc. Business Intelligence Architecture 23
Business Intelligence Architecture
After completing this topic, you will be able to:
List and define the components of a business intelligence architecture using
MicroStrategy.
Business intelligence systems facilitate an ever-growing variety of applications
that begin with sophisticated analysis of atomic-level data and range to
proactive information delivery to system subscribers. The modern market
place requires todays business to be capable of analyzing itself at every level,
on demand. It also requires the delivery of relevant and timely information to
the right people at the right time. Finally, it requires that businesses have very
close and individualized contact with their customers.
A business intelligence architecture using MicroStrategy is shown in the
following diagram:
MicroStrategy Business Intelligence Architecture
This architecture has the following components:
Source systems
Introduction to MicroStrategy Business Intelligence MicroStrategy Desktop: Reporting Essentials 1
24 Business Intelligence Architecture 2011 MicroStrategy, Inc.
ETL process
Data Import
Metadata database
MicroStrategy applications
Source Systems (OLTP)
Source systems are typically databases, file sources, web sources or
mainframes that store transaction processing data. As such, they are an
OnLine Transaction Processing System (OLTP). Transaction processing
involves simple recording of transactions like sales, inventory, withdrawals,
deposits, and so forth.
The data in source systems have the following characteristics:
Data access is read/write (numerous selects, inserts, updates, and deletes).
Data is aligned by application (business activities and workflow).
Data formats are not necessarily uniform across different source systems.
Data history is typically limited to recent or current data.
A bank is one example of a business with many different types of source
systems. The average bank offers their customers a variety of services and,
therefore, needs these different types of source systems to support their
services, each of which has a different workflow.
For example, consider the Automated Teller Machine (ATM) and the bank
teller. At an ATM, you can withdraw or deposit money as well as check your
account balance. However, if you need a money order, you have to go inside
and speak with a bank teller. The bank has different operational systems, each
designed to perform tasks that are specific to the service.
To take our example further, if a bank wanted to see a unified view of a
particular customersuch as a customers ATM activity, loan status, account
balances, money market account information, and so forthall of the
customers information from each of the different source systems would have
to be collected. After this data is collected, it is stored in a centralized data
warehouse.
MicroStrategy Desktop: Reporting Essentials Introduction to MicroStrategy Business Intelligence 1
2011 MicroStrategy, Inc. Business Intelligence Architecture 25
Data Warehouse (OLAP)
A well-designed and robust data warehouse lies at the heart of the business
intelligence system and enables its users to leverage the competitive advantage
that business intelligence provides. A data warehouse is an example of an
OnLine Analytical Processing System (OLAP).
While source systems are designed and optimized for transaction processing,
data warehouses are designed and optimized for analytical processing.
Analytical processing involves manipulating transaction records to calculate
sales trends, growth patterns, percent to total contributions, trend reporting,
profit analysis, and so forth.
The data in a data warehouse have the following characteristics:
Data access is typically read-only (In SQL, mostly selects are used.
Generally very few inserts, updates, or deletes are used).
Data is aligned by business subjects.
Data formats are uniformly integrated.
Data history extends long term, usually 2 to 5 years.
A data warehouse is populated with data from the existing operational systems
with an ETL process.
Summary of Differences - OLTP vs. OLAP
The following table summarizes the differences between OLTP and OLAP
systems:
OLTP vs. OLAP Differences
OLTP OLAP
Organization By workflow
per application
By dimension and
business subject
Data Retention Short term
(2-6 months)
Long term
(2-5 years)
Data Integration Minimal or none High, as part of ETL
process
Introduction to MicroStrategy Business Intelligence MicroStrategy Desktop: Reporting Essentials 1
26 Business Intelligence Architecture 2011 MicroStrategy, Inc.
ETL Process
The extraction, transformation, and loading (ETL) process contains
information that facilitates the transfer of the data from the source systems to
the data warehouse.
Specifically, the ETL process does the following:
Stores information about the source system structure and content
Stores information about the data warehouse structure and content
Correlates source system structure and content to that of the data
warehouse
Provides information to the data extraction tools that physically execute the
transfer of data from the source systems to the data warehouse
Data Import
Data Import enables MicroStrategy customers to import data easily from
unmodeled data sources such as a local file, including Excel files, a relational
database, or by joining multiple tables from different sources into an
In-memory Intelligent Cube that can be reused in reports and Report Services
documents. The Data Import interface is flash-based and accessed through
MicroStrategy Web.
Data Storage Gigabytes Terabytes
Use Real time
Write & update
Evenly distributed
usage
Transactional data
Batch load
Reporting, read-only
Spiked usage (based
on time of warehouse
loads)
OLTP vs. OLAP Differences
OLTP OLAP
MicroStrategy Desktop: Reporting Essentials Introduction to MicroStrategy Business Intelligence 1
2011 MicroStrategy, Inc. Business Intelligence Architecture 27
Metadata Database
The metadata database contains information that facilitates the retrieval of
data from the data warehouse when using MicroStrategy applications. It stores
MicroStrategy object definitions and information about the data warehouse in
a proprietary format and maps MicroStrategy objects to the data warehouse
structures and content.
MicroStrategy applications use the metadata database to translate user
requests into SQL queries and to translate the results of those SQL queries
back into MicroStrategy objects, like reports and documents.
The metadata also stores the definitions of all objects created with
MicroStrategy Desktop (for example, templates, reports, metrics, facts, and so
forth). The metadata enables the sharing of objects across MicroStrategy
applications by providing a central repository for all object definitions. It is
even used by MicroStrategy Intelligence Server to evaluate the most efficient
data retrieval scenario to guarantee optimal query performance.
MicroStrategy Applications
The MicroStrategy applications allow you to interact with the business
intelligence system. They allow you to logically organize data hierarchically to
quickly and easily create, calculate, and analyze complex data relationships.
They also provide the ability to look at data from many different perspectives.
A variety of grid and graph formats are available for superior report
presentation. You can even build documents, which enable you to combine
multiple reports with text and graphics.
In addition, you can use the MicroStrategy Software Developers Kit (SDK) to
customize the interface that users see and the functionality available to them.
In previous versions of MicroStrategy, the objects in a standard report had to
come from a single data source. MultiSource Option is a new add-on
component to Intelligence Server that removes this limitation. It enables you to
define a single project schema that uses multiple data sources. As a result, you
can now create a standard report that executes SQL against multiple data
sources.
Lesson Summary
In this lesson, you learned:
A business intelligence architecture using MicroStrategy has the following
components: source systems, data warehouse, ETL process, metadata
database, data import, and MicroStrategy applications.
Source systems or OnLine Transaction Processing Systems (OLTP) are
typically databases, source files, web sources, or mainframes that store
transaction processing data. This type of system involves simple recording
of transactions like sales, inventory, withdrawals, deposits, and so forth.
Data warehouses or OnLine Analytical Processing Systems (OLAP) are
designed and optimized for analytical processing. This type of system
involves manipulating transaction records to calculate sales trends, growth
patterns, percent to total contributions, trend reporting, profit analysis, and
so forth.
The extraction, transformation, and loading (ETL) process contains
information that facilitates the transfer of the data from the source systems
to the data warehouse.
Data Import enables MicroStrategy customers to import data easily from
unmodeled data sources into an In-memory Intelligent Cube that can be
reused in reports and Report Services documents.
The metadata database contains information that facilitates the retrieval of
data from the data warehouse when using MicroStrategy applications. It
stores MicroStrategy object definitions and information about the data
warehouse in a proprietary format and maps MicroStrategy objects to the
data warehouse structures and content.
The MicroStrategy applications allow you to interact with the business
intelligence system. They allow you to logically organize data hierarchically
to quickly and easily create, calculate, and analyze complex data
relationships. They also provide the ability to look at data from many
different perspectives.
2011 MicroStrategy, Inc. 29
2
INTRODUCTION TO
MICROSTRATEGY DESKTOP
Lesson Description
This lesson introduces you to the MicroStrategy Desktop application. It gives
you an opportunity to familiarize yourself with the interface and learn some of
the basic functionality.
In addition to navigating the interface, this lesson introduces you to project
sources and projects, two of the highest-level objects in the MicroStrategy
environment.
Introduction to MicroStrategy Desktop MicroStrategy Desktop: Reporting Essentials 2
30 Lesson Objectives 2011 MicroStrategy, Inc.
Lesson Objectives
After completing this lesson, you will be able to:
Describe the components of MicroStrategy Desktop, navigate the main
interface, and access project sources and projects.
After completing the topics in this lesson, you will be able to:
List and define the components of MicroStrategy Desktop. (Page 31)
Connect to a project source and access the projects within it. List and define
the components of a project. (Page 37)
Navigate the Desktop interface. (Page 42)
Navigate and use the Desktop menus and toolbars. (Page 44)
List the different ways to create and save new objects. (Page 47)
Create shortcuts to MicroStrategy objects. (Page 49)
MicroStrategy Desktop: Reporting Essentials Introduction to MicroStrategy Desktop 2
2011 MicroStrategy, Inc. Introduction to MicroStrategy Desktop 31
Introduction to MicroStrategy Desktop
After completing this topic, you will be able to:
List and define the components of MicroStrategy Desktop.
MicroStrategy Desktop enables you to design, create, and maintain an entire
business intelligence system from a single interface by integrating the
following tools:
MicroStrategy Desktop (Designer or Analyst)
MicroStrategy Architect
Administrative functions, including tools to manage users, implement
security, and configure and maintain MicroStrategy Intelligence Server
This course teaches you the fundamental skills required to use MicroStrategy
Desktop Designer or Desktop Analyst. Each of the components of Desktop is
briefly described in this lesson.
Format graph
By default, Desktop will prompt you for login credentials for the last
project source to which you were connected.
2 If prompted, supply a valid login ID and password.
3 Click OK.
If the Data Explorer does not display in the Folder List, in Desktop, on
the Tools menu, select Desktop Preferences. In the Categories list,
below the Desktop category, select General. In the Desktop - General
pane, under Data Explorer, select the Show the Data Explorer in the
desktop check box, and click OK. The Data Explorer should now
display in the Folder List.
Default Project Folders
Folder Description
History You use this folder to retrieve scheduled reports. This
folder is only available if you are using Intelligence
Server.
My Personal
Objects
You use these folders to store objects you create, that are
only visible to you. You can always create additional
subfolders here.
Public
Objects
This folder contains objects that can be viewed by all
users, depending on their permissions and privileges.
The Public Objects folder contains numerous subfolders
that are organized by object type.
Schema
Objects
This folder contains objects that represent the business
data model such as facts, attributes, and hierarchies.
Data
Explorer
This browsing tool contains hierarchies that enable you to
navigate the warehouse data and relationships for the
project.
Introduction to MicroStrategy Desktop MicroStrategy Desktop: Reporting Essentials 2
42 The Desktop Interface 2011 MicroStrategy, Inc.
The Desktop Interface
After completing this topic, you will be able to:
Navigate the Desktop interface.
In the Desktop interface, there are three main areas: the Folder List, the Object
Viewer, and the Shortcut Bar.
Folder List
By default, the Folder List is the middle pane in the Desktop interface. It shows
all of the project sources, projects, application and schema object folders, as
well as the administrative functions for the business intelligence system.
The Shortcut Bar opens on the left side of the Desktop window.
To add a shortcut to the Shortcut Bar:
1 On the Shortcut bar, click the shortcut group to which you want to add the
shortcut.
2 In the Folder List, right-click the location, such as a project or folder, you
want to add to the Shortcut Bar and select Add to Shortcut Bar.
The shortcut is created in your current location and is named after the
original object.
Right-click the object to which you want to create a shortcut and select
Create Shortcut. In the Browse for Folder window, select the location in
which you want to create the shortcut and click OK.
Lesson Summary
In this lesson you learned:
Desktop is the next-generation business intelligence environment designed
to meet todays sophisticated business intelligence requirements. It brings
integrated querying and reporting, powerful collaborative analytics, and
investigative workflow to every desktop.
Desktop is available in two versionsDesktop Analyst, a simplified version
that provides interactive slice and dice capabilities to users and Desktop
Designer, a full-featured version that enables report developers to design
complex and sophisticated reports and documents.
MicroStrategy Architect is the innovative development environment
designed to meet todays sophisticated business intelligence requirements.
The Administration icon provides access to all of the administrative
functions for a project source.
A project is the intersection of a data warehouse, a metadata database, and
a user community. It contains objects such as reports, filters, templates,
and metrics.
In the Desktop interface, there are three main areasthe Folder List, the
Object Viewer, and the Shortcut Bar.
There are three types of objects you can create in Desktopschema objects,
application objects, and configuration objects.
Schema objects are used to create application objects. Application objects
are used to create other application objects.
Shortcuts to objects enable you to better organize objects in a
MicroStrategy project, while still maintaining standard locations for those
objects.
A shortcut is simply a link to an existing MicroStrategy object in the project
and behaves similarly to the shortcut functionality available in Microsoft
Windows operating systems.
Introduction to MicroStrategy Desktop MicroStrategy Desktop: Reporting Essentials 2
52 Lesson Summary 2011 MicroStrategy, Inc.
2011 MicroStrategy, Inc. 53
3
REPORTS
Lesson Description
This lesson introduces you to report definition and report creation in Desktop.
Reports MicroStrategy Desktop: Reporting Essentials 3
54 Lesson Objectives 2011 MicroStrategy, Inc.
Lesson Objectives
After completing this lesson, you will be able to:
Define the components that comprise a report and create simple reports using
Desktop.
After completing the topics in this lesson, you will be able to:
Explain the components that make up a report. (Page 55)
Use the Report Editor to create and save reports. Execute reports and
change their display view. (Page 57)
MicroStrategy Desktop: Reporting Essentials Reports 3
2011 MicroStrategy, Inc. What Is a Report? 55
What Is a Report?
After completing this topic, you will be able to:
Explain the components that make up a report.
Reports are the focus of business intelligence analysis. They enable users to
gather business insight through data analysis. The results from any Desktop
report is often just a starting point for further business intelligence
investigations.
A report is a request for specific, formatted data from the data warehouse. It
consists of a template plus any desired filtering criteria, as shown below:
Components of a Report
A template specifies what information to retrieve from the data warehouse and
how this information will be displayed in the report results.
A report filter specifies the conditions that the data must meet to be included
in the report results.
Reports MicroStrategy Desktop: Reporting Essentials 3
56 What Is a Report? 2011 MicroStrategy, Inc.
A view of a report is the actual view of a report subset. With MicroStrategy
OLAP Services, users have the ability to remove objects or filter within a result
set such that their view of the report result set is a subset of the overall result
set.
In this example, there are no low, middle, and high income levels
defined in the data warehouse, so you create these levels by grouping
together income ranges, which do exist in the data warehouse. For more
information on consolidations, refer to the MicroStrategy Desktop:
Advanced Reporting course.
Example of a Tabular Layout
Region Store Sales($)
South Atlanta 100
South Miami 200
North Boston 300
North New York 400
MicroStrategy Desktop: Reporting Essentials Reports 3
2011 MicroStrategy, Inc. Creating, Saving, and Viewing Reports 61
Custom GroupCustom attribute grouping that is created based on filter
qualifications. It enables you to apply row-level filter conditions. The
following report demonstrates a custom group that displays revenue
information for the top 10 customers and the top 10 items:
Report with Custom Group
Recall that all metrics are grouped together and bound to one axis
(the rows or the columns).
To add a basic report filter condition:
8 In the Object Browser, double-click the desired hierarchy to display the list
of attributes included in that hierarchy.
9 Double-click an attribute to see a list of its attribute elements.
10 Select the attribute elements for which you want data returned and drag
and drop the attribute elements into the filter definition window.
Using Predefined Template and Filter Objects
The previous discussion taught you how to define the template and the report
filter from within the Report Editor. However, you can also create a report
using existing template and report filter objects.
If using an existing template object in a report, you have two options:
Reports MicroStrategy Desktop: Reporting Essentials 3
64 Creating, Saving, and Viewing Reports 2011 MicroStrategy, Inc.
Replace with shortcut to template: Changes you make to the template
from within the Report Editor are propagated to the original template and
any other reports that use a shortcut to the template. Similarly, changes
made to the template object from within the Template Editor are
propagated to the report and any other reports that use a shortcut to the
template.
Replace with copy of template: Changes you make to the template from
within the Report Editor are not propagated to the original template.
Similarly, changes made to the template object from within the Template
Editor are not propagated to the report. This is also called a local template
and is the same as creating a template on the fly in the Report Editor.
To add a predefined template object:
1 In the Report Editor, in the Object Browser, browse to the template object
you want to add to the report definition.
2 Right-click the template object and select Replace with shortcut to
template or Replace with copy of template.
OR
On the Template menu, select Replace with shortcut to template or
Replace with copy of template.
If using an existing report filter object in a report, you have three options:
Add to Report Filter: Adds the report filter object to the report. You cannot
make changes to the report filter object from within the Report Editor, but
changes made to the report filter object from within the Filter Editor are
propagated to the report and any other reports that use the report filter
object.
You can continue to add other report filter conditions to the report
from within the Report Editor.
Replace Report Filter with a shortcut to this filter: Changes you make to
the report filter from within the Report Editor are propagated to the
original report filter and any other reports that use a shortcut to the report
filter. Similarly, changes made to the report filter object from within the
Filter Editor are propagated to the report and any other reports that use a
shortcut to the report filter.
You can continue to add other report filter conditions to the report
from within the Report Editor.
MicroStrategy Desktop: Reporting Essentials Reports 3
2011 MicroStrategy, Inc. Creating, Saving, and Viewing Reports 65
Replace Report Filter with a copy of this filter: Changes you make to the
report filter from within the Report Editor are not propagated to the
original report filter. Similarly, changes made to the report filter object
from within the Filter Editor are not propagated to the report. This is also
called a local or embedded filter and is the same as creating a filter on the
fly in the Report Editor.
Embed a copy of the template in the report: Changes you make to the
stand-alone template are not propagated to this report. Changes that you
make to the embedded template within this report are not propagated to
the template.
The report results display in the default report display view. The default
report display view is the report display view that was selected when the
report was last saved. Report display views are discussed in the
following section.
Report Display Views
There are five report display views:
Design ViewDisplays the Report Editor, so you can view and modify the
report definition
Grid ViewDisplays the report in a row and column format
Graph ViewDisplays the report as a graph
Grid Graph ViewDisplays the report as a grid and a graph, side-by-side
SQL ViewDisplays the SQL used to generate the report. Any Analytical
Engine steps that are taken after all of the data has been returned from the
data warehouse to produce the final report results are also displayed.
MicroStrategy Desktop: Reporting Essentials Reports 3
2011 MicroStrategy, Inc. Creating, Saving, and Viewing Reports 69
To change the report display view:
1 In the report results window, on the View menu, select the report display
view you want to see.
OR
In the report results window, on the toolbar, beside the View button, click
the arrow, and select the report display view you want to see.
To change a grid reports formatting using autostyles:
1 Run a report and change it to grid view or grid graph if necessary.
2 On the toolbar, in the autostyle drop-down list, select the autostyle you
want to use to format the report.
Report Details Properties
The Report Details Properties window enables you to configure what
information you want to display in the report details section and how it should
be presented. For instance, you can specify whether you want to display filter
details, the specific filter details to display, and how they should be formatted.
You can define how to display the operators within filter details, how to display
unanswered prompts, and many other formatting properties.
Reports MicroStrategy Desktop: Reporting Essentials 3
70 Creating, Saving, and Viewing Reports 2011 MicroStrategy, Inc.
The image below shows the Report Details Properties window:
Report Details Properties Window
The Report Details Properties window consists of the following tabs:
General
The General tab of the Report Details Properties window contains
configuration options for the report, prompt, and filter details. The window
contains the following sections:
Report DetailsIncludes the report description, prompt details, filter
details, and template details. You can choose to include or omit any of this
information.
Prompt DetailsDisplays prompt related information for all prompts in
the report. You can choose to include or omit any of this information.
MicroStrategy Desktop: Reporting Essentials Reports 3
2011 MicroStrategy, Inc. Creating, Saving, and Viewing Reports 71
MiscellaneousYou can specify whether delimiters are used in report
details that display metadata objects, such as attributes and metrics. You
can also set aliases to display instead of the object name in Filter Details.
By default, each setting on this tab inherits the project setting defined in
Project Configuration/Project Definition/Document and Report setting.
Filter Details - Contents
The Filter Details - Contents tab of the Report Details Properties window
contains configuration options for the filter details, which displays information
about filters on the report. This tab enables you to select which filter
expressions to include (report filter, view filter, report limits, and so on) and
how the filters are displayed. For example, you can select whether to include
labels (that is, Report Filter, Report Limits, and so on) and the order in which
the filter expressions are displayed.
By default, each setting on this tab inherits the project setting defined in
Project Configuration/Project Definition/Document and Report setting.
The window contains the following sections:
GeneralEnables you to select whether to include or omit filter
sub-expressions
Additional OptionsYou can configure how the filters are displayed in the
Filter Details.
Filter Details - Other
The Filter Details - Other tab enables you to specify how logical operators and
other components of different qualification types are displayed. The Filter
Details - Other tab is shown below:
Reports MicroStrategy Desktop: Reporting Essentials 3
72 Creating, Saving, and Viewing Reports 2011 MicroStrategy, Inc.
Template Details
The Template Details tab contains configuration options for the template
details, including attribute details and metric details.
To configure report details properties:
1 Open a report.
2 On the Data menu, select Report Details Properties.
3 Modify the properties as needed.
4 Click OK.
If you do not see the report details display in the Report details
window, you need to clear the Apply these Desktop preferences to
the report details check box under Desktop Preferences.
MicroStrategy Desktop: Reporting Essentials Reports 3
2011 MicroStrategy, Inc. Lesson Summary 73
Lesson Summary
In this lesson your learned:
A report is a request for specific, formatted data from the data warehouse.
It consists of a template plus any desired filtering criteria.
A template specifies what information to retrieve from the data warehouse
and how this information will be displayed in the report results.
A report filter specifies the conditions that the data must meet to be
included in the report results.
A view of a report is the actual view of a report subset. With MicroStrategy
OLAP Services, users have the ability to remove objects or filter within a
result set such that their view of the report result set is a subset of the
overall result set.
When a report is executed, you obtain a formatted collection of all of the
objects (such as attributes and metrics) specified on the template that have
satisfied the filtering conditions of the report filter.
When you create a report, you also create a template and a report filter.
Though you may not specifically define and use a separate template or
report filter object, these are the objects that logically make up a report
definition.
You use the Report Editor to create and modify reports. It is a combination
of the Filter Editor, the Template Editor, the Object Browser, the Shortcut
Bar, the Report Objects window, and the View Filter definition window, and
it enables you, through one editor, to create your template and report filter
for a specific report.
After you create a report, you can save the report, so you can execute it
again in the future.
There are five report display viewsDesign View, Grid View, Graph View,
Grid Graph View, and SQL View.
Reports MicroStrategy Desktop: Reporting Essentials 3
74 Lesson Summary 2011 MicroStrategy, Inc.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Reports in Desktop 75
You might find it easier to right-click the object and select Add to
Rows.
9 Drag and drop Call Center into the rows of the template definition window.
You might find it easier to right-click the object and select Add to
Rows.
10 In My Shortcuts, click Metrics.
11 In the Object Browser, double-click the Sales Metrics folder.
12 Drag and drop Revenue into the columns area of the template definition
window.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Reports in Desktop 77
You can also right-click the object and select Add to Columns. You
can also double-click the metrics to place them into the columns of
your template.
13 Drag and drop Profit into the columns area of the template definition
window.
Your template definition should now look like this:
Do not create a new report for this exercise. Modify your existing
Revenue and Profit for 2009 report.
The results should look like the following:
You will save this report to the My Reports Exercises folder and name it East
Revenue and Profit for 2009. You can use the detailed instructions that follow
if you want help.
Detailed Instructions
1 Go to the My Reports Exercises folder and double-click the Revenue and
Profit for 2009 report you just created to run it.
2 In the report results window, from the View menu, select Design View.
3 In the Object Browser, double-click the Geography hierarchy.
4 Double-click the Region attribute.
5 Select Northeast.
6 While holding down the CTRL key on your keyboard, select Mid-Atlantic
and Southeast.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Reports in Desktop 79
7 Drag and drop the three regions into the report filter definition window to
add them to your existing report filter condition, Year In list (2009).
Save the Report
8 On the File menu, select Save As.
9 Save the report in the My Reports Exercises folder as East Revenue and
Profit for 2009.
10 Click Save.
11 On the toolbar, click Grid View to run the report.
12 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
13 In the report, click Save and Close to close the report.
Use the Template Editor
Overview
In this exercise, you will create a new template called Sales by Quarter and
Month. This new template can be reused in multiple reports, and you will use it
in your next exercise.
MicroStrategy Desktop: Reporting Essentials
80 Exercises: Reports in Desktop 2011 MicroStrategy, Inc.
The template should have Quarter and Month attributes in the rows and the
Revenue and Units Sold metrics in the columns. The template should look like
the following:
You will save this template into a new folder, My Templates Exercises. You can
use the detailed instructions that follow if you want help.
Detailed Instructions
1 In the Folder List, expand the My Personal Objects folder and select the
My Objects folder.
2 On the File menu, point to New and select Folder.
3 Name the folder My Templates Exercises.
4 In the Folder List, select the new My Templates Exercises folder to begin
working in it.
5 On the File menu, point to New and select Template.
6 In the New Template window, leave Empty Template selected and click
OK.
For this report, you will not include any filtering criteria.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Reports in Desktop 83
Save the report
8 On the toolbar, click Save and Close.
9 Save the report in My Reports Exercises folder as Sales by Quarter and
Month.
10 Click Save.
11 Click Retain the shortcut to the template.
12 Keep the Remember options next time check box selected.
13 Click OK.
14 In the Folder List, select the My Reports Exercises folder and double-click
your new report to run it.
15 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
16 On the toolbar, click Save and Close to close the report.
Extra Credit
Try this exercise if you have time and want a challenge.
1 The marketing manager in your business wants to run a special promotion
for customers paying by various payment methods. She would like to see a
report that shows how customers in different income brackets are paying
(in terms of Revenue) for their orders. She is specifically interested in the
Mid-Atlantic customer region for the Year 2009.
If the toolbar buttons are not visible by default, on the View menu, click
Toolbar, and select Data.
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Drilling 93
3 In the Drill window, in the Selected object drop-down list, select the object
on which you want to drill. You can drill on attributes, compound metrics,
consolidations, and custom groups, as shown below:
Drill Window
4 In the Drilling options window, browse to the attribute to which you want
to drill.
5 Choose whether to keep the parent.
6 Choose whether to keep the thresholds.
7 Choose whether to inherit subtotals from parent.
8 Click OK to drill.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
94 Drilling 2011 MicroStrategy, Inc.
If you are using the page-by functionality on the original report, you
will also see the When drilling, add the current page-by element
as part of the filter check box. For more information on page-by, see
Page-by starting on page 97.
Keep Parent
The Keep parent option in the Drill window lets you determine whether or not
you want to add the attribute from which you drilled to the new drilled-to
reports template.
For example, consider the following report showing revenue by year. The
original report from which you are drilling is shown below:
Yearly Revenue Report
If you drill down to Month from Year 2009 and do not set Keep parent to Yes,
you see the following report, where Year has been replaced by Month:
Keep Parent Set to No
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Drilling 95
If, instead, you set Keep parent to Yes, you see the following report, where
Month is added to the template along with Year:
Keep Parent Set to Yes
If you leave Keep parent as Default, the Keep parent setting is inherited
from the report or project-level settings.
To set the Keep parent setting at the report level:
1 Run a report.
2 On the Data menu, select Report Data Options.
3 In the Categories list, expand General.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
96 Drilling 2011 MicroStrategy, Inc.
The General -Drilling pane, as shown below:
Keep Parent Set at Report Level
4 In the General-Drilling pane, in the Keep parent while drilling drop-down
list, select Yes.
5 Click OK.
6 In the report results window, on the File menu, select Save.
To set the Keep parent setting at the project level:
The following steps change the default setting for all reports in a
MicroStrategy project to keep the parent attributes while drilling.
1 In Desktop, while logged in to a MicroStrategy project, on the Tools menu,
select My Preferences.
2 In the My Preferences window, in the Categories list, expand Grid.
3 Select Drilling.
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Page-by 97
4 In the Keep parent while drilling drop-down list, select Yes.
5 Click OK.
Page-by
After completing this topic, you will be able to:
Explain the purpose of page-by. Use page-by to segment data on a report in
Desktop.
What Is Page-by?
Page-by enables you to select and display subsets of your report results as
separate pages. This feature is most useful when you have extremely long
report results and scrolling is necessary to see all of the data.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
98 Page-by 2011 MicroStrategy, Inc.
Suppose you have the following report showing Revenue and Profit data
organized by Region and Quarter. Notice that only the first few result rows are
shown below:
Quarterly Region Revenue and Profit Report
You can page by Quarter to see only one quarters worth of data at a time:
Page-by Quarter
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Page-by 99
You can page by any of the following objects:
Attributes
Metrics
Hierarchies
Consolidations
Custom groups
Object prompt (attribute)
Object prompt (metric)only if the row or column does not contain a
metric
Object prompt (hierarchy)
Object prompt (consolidation)
Object prompt (custom group)
Methods for Creating Page-by Fields
To create page-by fields on a report:
1 Run a report.
2 On the toolbar, click View Page-by.
View Page-by
3 Drag and drop the objects you want to page by into the page fields pane that
display above the report results.
4 Use the drop-down list to select the specific data you want to see on the
report.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
100 Page-by 2011 MicroStrategy, Inc.
5 In the report, on the File menu, select Save to save your page-by field
selections to the report definition.
Page Field Ordering
You can put more than one attribute into the page fields pane. The order of the
attributes in the pane can influence the list of attribute elements displayed for
subsequent attributes in the pane.
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Data Pivoting 101
Suppose a retailer sells sporting goods in the United States. Some items are
available only in certain stores and not in others. For example, the stores in
Alaska sell snowshoes instead of surfboards, whereas the stores in Hawaii sell
surfboards instead of snowshoes. In a report with State and Item in the page
fields pane, the following results are possible:
State first, then ItemIf Alaska is selected for State, the list of attribute
elements for Item does not include surfboards. Similarly, if Hawaii is
selected for State, the list of attribute elements for Item does not include
snowshoes.
Item first, then StateIf snowshoes is selected for Item, the list of attribute
elements for State does not include Hawaii. Similarly, if surfboards is
selected for Item, the list of attribute elements for State does not include
Alaska.
Data Pivoting
After completing this topic, you will be able to:
Explain the purpose of data pivoting. Pivot data on a report in Desktop by
changing the order of objects in the rows or columns and moving objects
between the rows and columns.
Data pivoting enables you to rearrange the columns and rows in a report, so
you can view data from different perspectives. With data pivoting, you can do
the following:
Move objects from the row header to the column header
Move objects from the column header to the row header
Change the order of objects in the row header
Change the order of objects in the column header
Move objects from the row header or the column header to the page field
pane
Move objects from the page field pane to the row header or the column
header
Swap row headers and column headers
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
102 Data Pivoting 2011 MicroStrategy, Inc.
Methods for Data Pivoting
You can pivot data in a report using any of the following methods:
Drag and drop objects to move them around on the template.
Select an object, and choose a data pivoting option from the Move menu.
Right-click an object, point to Move, and select an option from the menu.
Select an object and use one of the data pivoting buttons 0n the toolbar:
Data Pivoting Buttons
Name Button Description
Swap Rows
and
Columns
Moves the data from the columns to the
rows, and from the rows to the columns
Move to
Row
Moves the selected object to the rows
Move to
Column
Moves the selected object to the
columns
Move to
Page
Moves the selected object to the
page-by field
Move Up Moves the selected object up
Move Down Moves the selected object down
Move Left Moves the selected object left
Move Right Moves the selected object right
Remove
from Grid
Removes the selected object from the
report template
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Subtotals 103
If the toolbar buttons are not visible by default, on the View menu, click
Toolbar and select Data.
You can only sort by one row or one column when using the quick sort
method. If you sort by one column and then sort by another, you will
lose the order for the first sort. Advanced sorting lets you sort by
multiple rows and columns.
Advanced Sort
The advanced sort enables you to configure multiple sorts. You can select the
attributes or metrics you want to use to sort the report and the order in which
you want to sort by them. For attributes, you can also choose the attribute form
(for example, ID or description) by which to sort the attribute data.
Every sort has the following fields that you can change to create completely
customized sorting criteria:
Sorting Buttons
Name Button Description
Sort
Ascending
Sorts the data in ascending order
Sort
Descending
Sorts the data in descending order
Sort Columns
Column Description
Sort By Name of the row or column or page-by field
Criteria If you are sorting on an attribute, you can choose the
attribute form by which to sort the attribute data. The
attribute form does not have to be displayed on the
report.
Order Order in which to sort the data, ascending or
descending
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
112 Sorting 2011 MicroStrategy, Inc.
Included in the Advanced Sort window is an option for hierarchical sorting of
totals. When sorting on a metric, you can select the Sort metrics
hierarchically using check box and select a subtotal. Data is still grouped, but
the groups are sorted by the subtotal you select. Without this option, subtotals
are treated as normal metric values and are often separated from the data to
which they correspond.
If you are sorting a metric row or column and subtotals exist on your
report, you have the option of sorting hierarchically by subtotals.
Select the Sort metrics hierarchically using check box.
In the drop-down list, select the subtotal by which you want to sort.
5 Add additional sorts as necessary.
6 Use the up and down arrows to change the order of the sorts as necessary.
7 Click OK to apply the sorts.
8 In the report, on the File menu, select Save to save the sort selections to the
report definition.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
114 Sorting 2011 MicroStrategy, Inc.
Sorting on Page-by
Within the Advanced Sorting options, you can sort the page-by elements
(ascending or descending) based on either their ID or description. The image
below shows the Pages tab of the Sorting window:
Sorting on Page-by
For example, if you have a report with the Year attribute in the page-by field,
you can set the elements of the year to be displayed in ascending or descending
order. The image below shows the Year attribute elements sorted in
descending order:
Page-by on Year Attribute
To sort on page-by:
1 In the Sorting window, click the Pages tab.
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Outline Mode 115
2 On the Pages tab, click Add.
3 At a minimum, specify the following columns: Sort By, Criteria and Order.
4 Click OK.
Outline Mode
After completing this topic, you will be able to:
Explain the purpose of outline mode. Display a report in outline mode in
Desktop.
Outline mode enables indented grouping of related attributes, much like
heading levels in a document outline. Outline mode is useful when users want
to display the same report at different levels very quickly. Review the following
example:
Product Revenue Report Without Outline Mode
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
116 Outline Mode 2011 MicroStrategy, Inc.
The same report displayed in outline mode looks much better, as shown below:
Product Revenue Report With Outline Mode
Expanding and collapsing the different levels of the report does not execute
any SQL against the data warehouse. In addition, the report can be cached,
which also makes it faster than drilling to another attribute level.
Outline mode is only available when you have more than one object in
the rows of the report template.
Using Outline Mode
To enable outline mode, do one of the following:
On the Grid menu, select Display Outline Results.
On the toolbar, click Display Outline Results.
Display Outline Results
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Outline Mode 117
You can expand and collapse levels by clicking the numbered buttons above the
report. There will be one button for each column in the report. See the three
reports below for an example of how clicking these buttons can affect the look
of a report in outline mode. The initial report is shown below:
All Levels Displayed
When you click the 2 button, the information is rolled up as follows:
Category and Subcategory Revenue Displayed Only
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
118 Outline Mode 2011 MicroStrategy, Inc.
Finally, when you click the 1 button, the information is completely rolled up
as follows:
Category Revenue Only
To see data totals for a collapsed level, you must enable subtotals. For
more information on subtotals, see Subtotals starting on page 103.
By default, reports in outline mode are displayed with all levels expanded.
To set an outline mode report to initially display with all levels collapsed:
1 Open a report in Grid view.
2 On the Grid menu, select Options.
3 In the Grid Options window, on the General tab, select Open with all
outline levels collapsed.
You also have the option to have an outline mode report open and
expanded to a specific level.
4 Click OK to close the Grid Options window.
5 In the report, on the File menu, select Save.
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Printing 119
Printing
After completing this topic, you will be able to:
Print a boardroom quality report.
You can print a report in Grid, Graph, Grid and Graph, or SQL view. The
formatting you apply to the report in Desktop also applies to the printed copy
of the report.
You can print a report using one of the following methods:
On the File menu, select Print.
On the toolbar, click Print Preview.
Print Preview
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
120 Printing 2011 MicroStrategy, Inc.
Clicking Print Preview opens the Print Preview window for your report, as
shown below:
Print Preview Window
In the Print Preview window, click Setup to open the Page Setup window,
which enables you to:
Change the page orientation, page numbering, and scaling
Adjust the page margins
Determine what information to display in the header and footer of the
printed report. You can choose to display page number, total number of
pages, date, time, project name, report name, template name, filter
name, report details, bitmap images, and user ID.
Choose the order in which to print pages if the report is particularly long
or has numerous page fields.
Remember to save your report with its new print options.
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Exporting and E-mailing Reports 121
Exporting and E-mailing Reports
After completing this topic, you will be able to:
Export a report from Desktop to another application. Format and e-mail
reports as attachments.
You can export a Desktop report or e-mail a Desktop report (as an attachment)
in any of the following application formats:
Microsoft Excel
Microsoft Word
Microsoft Access
Plain text
HTML
PDF
To export a report:
1 Run a report.
2 On the Data menu, point to Export To, and select the application format in
which you want to see the report results.
You can manipulate the behavior of the export function using export options.
To access export options:
1 Run a report.
2 On the Data menu, select Export Options.
3 In the Export Options window, in the Application drop-down list, select the
application to which you are exporting.
4 On the General tab, change the settings as appropriate.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
122 Exporting and E-mailing Reports 2011 MicroStrategy, Inc.
After you select the attachment type, an e-mail message window opens
with the report file as an attachment. Depending on the size of the
report, this action may take a few moments.
3 Continue composing the e-mail as desired.
Removing Metrics Columns
Users can prevent the Metrics column title from displaying within a report
when viewing the report results in MicroStrategy Web or when exporting the
report results to PDF and HTML in Desktop.
To remove the metric column title:
1 In Desktop, create a new report or edit an existing report.
2 In Design View, select the Grid menu, select Options.
OR
In Grid View, on the Grid menu, select Options.
3 Click the Columns and Rows tab.
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Report Subscription in Desktop 123
4 In the Columns and Rows tab, under Columns, select the Remove extra
column (Web only) check box, as shown below:
Grid Options Window
5 Click OK.
6 Save and close the report.
You will be able to see this change when viewing the report in
MicroStrategy Web or when you view the exported report in PDF or
HTML.
Report Subscription in Desktop
After completing this topic, you will be able to:
Deliver reports to the history list, update caches, and mobile devices.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
124 Report Subscription in Desktop 2011 MicroStrategy, Inc.
In Desktop, you can subscribe reports and documents to history list, cache and
mobile.
Subscribing a Report to the History List
You can subscribe a report or document to the history list from the right-click
menu or from the Report Editor.
To receive a report or document in the history list, you must subscribe to that
report or document. You can use the History List Subscription Editor to set the
subscription properties and schedule.
To subscribe a report to the History List:
1 Right-click the report, point to Schedule Delivery To, and select History
List, as shown below:
Subscribing a Report to the History List
2 Select a schedule and appropriate options and click OK. The different
options are depicted below:
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Report Subscription in Desktop 125
History List Subscription Editor
To unsubscribe a report from the History List:
1 In Desktop, on the Tools menu, select My Subscriptions.
2 In the My Subscriptions window, right-click the subscription, and select
Unsubscribe.
3 In the Desktop window, click Yes.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
126 Report Subscription in Desktop 2011 MicroStrategy, Inc.
Subscribing a Report to Update Cache
The updating cache option refreshes the existing cache for the selected report
with new data from the data warehouse. You can schedule a delivery to update
cache without having to execute the report. The option to schedule to update
cache is depicted below:
Subscribing a Report to Update Cache
To update the cache of a report or document, you must subscribe to that report
or document. You can use the Cache Update Subscription Editor to subscribe
to this update, as shown below:
Cache Update Subscription Editor
MicroStrategy Desktop: Reporting Essentials Report Data Manipulations 4
2011 MicroStrategy, Inc. Report Subscription in Desktop 127
Mobile users must have the use "MicroStrategy Mobile" and "Mobile
View Document" privileges.
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
128 Report Subscription in Desktop 2011 MicroStrategy, Inc.
Within the Mobile Subscription Editor, you can specify your desired schedule.
This schedule controls how often the report or document is sent, and when you
want this subscription to end, as depicted below:
Mobile Subscription Editor
Notes are linked to the report and document definition, but are not
saved with it. When you add, modify, or delete notes, you do not
invalidate the report or document cache.
The image below displays the Notes window:
Notes Window
Report Data Manipulations MicroStrategy Desktop: Reporting Essentials 4
130 Adding Notes to Reports and Documents 2011 MicroStrategy, Inc.
To view or add notes:
1 In Design View or Grid View, on the toolbar, click Notes, as shown below:
Notes Button
OR
2 In Design View or Grid View, on the View menu, select Notes.
3 Type your desired note in the lower text box, as shown below:
Adding Notes
4 Click Submit.
5 Click Close.
Lesson Summary
In this lesson you learned:
Drilling enables you to see data at levels other than that of the original grid
or graph. It helps you investigate the data on your report quickly and easily.
In Desktop, you can drill down or up within a hierarchy or across to other
hierarchies. You can even drill to a completely different template.
Page-by enables you to select and display subsets of your report results as
separate pages. This feature is most useful when you have extremely long
report results and scrolling is necessary to see all of the data.
Data pivoting enables you to rearrange the columns and rows in a report, so
you can view data from different perspectives.
Subtotals reflect accumulations at selected attribute levels and can be
applied dynamically to any report. There are various subtotals available to
you such as count, minimum, maximum, average, and so forth.
Sorting enables you to specify the order in which the data in a report for a
particular row or column is presentedeither ascending or descending.
You can sort based on any object that you place on the template. You can
also select the sorting criteria and the sorting order.
Outline mode enables indented grouping of related attributes. Outline
mode is useful when users want to display the same report at different
levels very quickly.
You can print a report in grid, graph, grid and graph, or SQL view. The
formatting you apply to the report in Desktop also applies to the printed
copy of the report.
You can export or e-mail a Desktop report as an attachment in any of the
following application formats: Microsoft Excel, Microsoft Word, Microsoft
Access, plaintext, HTML, and PDF.
In Desktop, you can subscribe reports and documents to history list, cache
and mobile devices.
You can actively collaborate online with other Desktop users using a
powerful featurenotes.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Data Manipulations in Desktop 133
Under the Sort By column, you should see Year, under the Criteria
column, you should see ID, under the Order column you should see
Ascending. Leave these defaults.
18 Click Add again.
This adds the second object, Region, from the report, to the
Currently defined sorts window.
19 In the Sort By column, click Region, and use the drop-down list to select
Revenue.
20 In the Order column, select Descending. Leave the other defaults. Your
Sorting window should now look like the following:
21 Click OK to close the Sorting window.
22 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
Save the report
23 In the report, click Save and Close.
24 Save the report in the My Reports Exercises folder as US Revenues by
Region - Pivoting and Sorting.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Data Manipulations in Desktop 141
Totals and Outline Mode
Overview
Run the Sales by Region report, which can be found by using the search
functionality. You want to modify this report so you can see this same
information at the Subcategory level when needed. You also want to modify the
report so it displays subtotals.
Use the subtotals and outline mode functionality to change the report display
to look like the following:
You can use the detailed instructions that follow if you want help.
Detailed Instructions
Search for report
1 In Desktop, on the Tools menu, select Search for Objects.
2 On the Name and Location tab, in the Named box, type Sales by Region.
3 In the Look in box, browse to the \MicroStrategy Tutorial\Public
Objects\Reports folder and click OK.
MicroStrategy Desktop: Reporting Essentials
142 Exercises: Report Data Manipulations in Desktop 2011 MicroStrategy, Inc.
4 Click Find Now. The search should look like the following:
5 In the Search Results window, double-click the Sales by Region report to
run it.
6 For the Region selection prompt, leave the default prompt selections and
click Next.
7 For the second Category selections prompt, leave the default selection of
Electronics and add the Books, Movies, and Music categories by
double-clicking each of them.
8 Click Next.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Data Manipulations in Desktop 143
9 In the Summary screen, click Finish. The first few rows of the initial report
look like the following:
Be sure you select Remove from Report and not Remove from Grid.
12 In the Desktop window, click Yes.
13 In the template definition window, right-click the Region attribute and
select Remove from Report.
MicroStrategy Desktop: Reporting Essentials
144 Exercises: Report Data Manipulations in Desktop 2011 MicroStrategy, Inc.
14 In the Desktop window, click Yes.
Enabling Subtotals
15 In the Report Editor, on the Data menu, select Subtotals.
16 In the Subtotals window, on the Definition tab, select the Total check box.
17 Click Advanced.
18 In the Advanced Subtotals Options window, click Across level, and select
both the Category and Subcategory check boxes.
19 Click OK to close the Advanced Subtotals Options window.
20 Click OK to close the Subtotals window.
21 In the Report Editor, on the View menu, select Grid View.
The first few rows of the report now look like the following:
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Data Manipulations in Desktop 145
Enabling Outline Mode
22 In the report, on the Grid menu, select Display Outline Results. The first
few rows of the report now look like the following:
23 In the report, on the Grid menu, select Options.
24 In the Grid Options window, on the General tab, under Outline, click Open
with all outline levels collapsed.
25 Click OK to close the Grid Options window.
26 Refer to the beginning of the exercise to verify your results.
27 In the report, on the File menu, select Save As.
28 In the Save Report As window, navigate to the My Reports Exercises
folder and save the report as Sales by Category and Subcategory -
Outline.
Save the report
29 Click Save to close the Save Report As window.
30 In the Save Options window, click Static, so you are not prompted when
you run this report again.
MicroStrategy Desktop: Reporting Essentials
146 Exercises: Report Data Manipulations in Desktop 2011 MicroStrategy, Inc.
For more information about the Save Options window, see Saving
Reports with Prompts starting on page 325.
31 Click OK to close the Save Options window.
32 Close the Sales by Category and Subcategory - Outline report.
33 Close the New Search window. If prompted to save the search, click No.
Exporting Reports
Overview
Export the Employee Birthdays report (found in the Public
Objects\Reports\Subject Areas\Human Resources Analysis folder) to
Microsoft Excel so you can save it in your local machine. The first few rows of
the exported report should look like the following:
You can use the detailed instructions that follow if you want help.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Data Manipulations in Desktop 147
Detailed Instructions
1 In the Folder List, expand the Public Objects folder, followed by the
Reports folder, followed by the Subject Areas folder, and select the
Human Resources Analysis folder.
2 In the Object Viewer, double-click the Employee Birthdays report to
execute it.
3 In the report, on the Data menu, point to Export To, and select MS Excel.
You will not be able to perform this exercise if an e-mail client is not
configured on your local machine.
Detailed Instructions
1 In the Folder List, under Public Objects/Reports/Business Roles, select
the Operations Managers folder.
2 In the Object Viewer, double-click the Item and Order Tracking report to
run it.
3 Accept all default prompt answers by clicking Next and then Finish.
4 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Data Manipulations in Desktop 149
5 In the report, on the File menu, point to E-mail report as, and select PDF
document.
6 A new e-mail message opens with the Item and Order Tracking report as a
PDF attachment. Close the e-mail message without saving it.
You can also use the Formatting toolbar or the Format menu to
select the object you want to format. If you are using the Formatting
toolbar, you use the drop-down lists and buttons on the toolbar to
select the object and to make your formatting changes.
Report Style Manipulations MicroStrategy Desktop: Reporting Essentials 5
156 Formatting 2011 MicroStrategy, Inc.
2 In the Format Cells window, make your formatting changes, as shown
below:
Formatting Window
3 Click OK.
Remember to save the report with its new formatting.
You can also use the Find and Replace tool to modify the format of sets
of metrics throughout a MicroStrategy project. For more information on
the Find and Replace tool, refer to the MicroStrategy Desktop:
Advanced Reporting course.
MicroStrategy Desktop: Reporting Essentials Report Style Manipulations 5
2011 MicroStrategy, Inc. Formatting 157
Autostyles
In addition to changing the report view, there are many formatting options that
you can change. For example, grid reports have autostyles. Autostyles are
predefined formatting schemes that are available when viewing a report in grid
view or grid graph view.
MicroStrategy comes with several autostyles that contain predefined
formatting properties.
To change a grid reports formatting using autostyles:
1 Run a report and change it to grid view or grid graph if necessary.
2 On the toolbar, in the autostyle drop-down list, select the autostyle you
want to use to format the report.
To use an existing autostyle:
1 Run a report in grid mode.
2 On the Grid menu, point to AutoStyle Selected, and select an autostyle.
3 On the File menu, select Save to save the report with its new autostyle.
You can also use the Find and Replace tool to apply an autostyle to a
selected set of reports and templates throughout a MicroStrategy
project. For more information on the Find and Replace tool, refer to the
MicroStrategy Desktop: Advanced Reporting course.
You can also choose to customize the formatting for a report and save those
formatting changes as your own autostyle, which you can reuse on other
reports.
To create and save your own autostyle:
1 Run any report in grid mode and customize the formatting using any of the
methods discussed in the previous section.
2 On the Grid menu, select Save AutoStyle As.
Report Style Manipulations MicroStrategy Desktop: Reporting Essentials 5
158 Formatting 2011 MicroStrategy, Inc.
3 In the Save AutoStyle As window, select a location and name your autostyle.
Thresholds are also applied to the Profit and Profit Margin metrics.
Report Style Manipulations MicroStrategy Desktop: Reporting Essentials 5
160 Thresholds 2011 MicroStrategy, Inc.
The Thresholds Editor is shown below:
Threshold Editor
You can copy and paste threshold definitions, which enables you to save time
by reusing them when the same definition is needed to define thresholds on
multiple metrics. You are also provided four shortcut thresholds. These
shortcut thresholds include highest and lowest rank and percentage.
To create and apply a threshold to a grid report:
1 Run a report.
2 On the Data menu, select Thresholds.
OR
Right-click the appropriate metric and select Thresholds.
OR
On the toolbar, click Thresholds.
After you create a threshold for one metric, you can easily copy it to
multiple metrics on the report.
4 Select the New Threshold check box to ensure your threshold is enabled.
5 Click New Threshold textbox.
6 In the text box, type a name for the threshold.
7 Click Click here to start a new qualification. The parts of the condition
are displayed, each of which must be defined:
Click Field to select the attribute or metric that is part of your condition.
Click Operator to select an operator, such as In List, Greater than, and
so on.
Click Value to specify the elements from the available list.
8 In the Format drop-down list, select one of the following options:
FormatSelect this option to change fonts, colors, styles, sizes, and so
on. This action formats the values that meet your threshold condition.
Report Style Manipulations MicroStrategy Desktop: Reporting Essentials 5
162 Thresholds 2011 MicroStrategy, Inc.
Replace TextSelect this option to define your own text. This action
replaces the value that meets your threshold condition with text. Type
the text in the empty text field. The text should be limited to 255
characters.
ImageSelect this option to replace the value that meets your threshold
condition with an image file.
When you edit a threshold, it does not affect the copied ones.
To copy a threshold:
1 In the Thresholds editor, select the threshold to copy and, on the toolbar,
click Copy.
Copy
2 On the toolbar, in the drop-down list, select the metric to which you want to
copy the threshold.
Report Style Manipulations MicroStrategy Desktop: Reporting Essentials 5
164 Thresholds 2011 MicroStrategy, Inc.
3 On the toolbar, click Paste.
Paste
To unlock the row or column headers, from the Grid menu, select the
Lock Row Headers or Lock Column Headers option again.
You also have the option to manually resize the column widths and row heights
of a report.
To manually resize column widths using column handles:
1 Run a report in Grid view.
2 On the Grid menu, select View Column Handles.
3 Click and drag the column handles to the desired width.
To remove the column handles from the grid report, select View
Column Handles again.
MicroStrategy Desktop: Reporting Essentials Report Style Manipulations 5
2011 MicroStrategy, Inc. Locking and Resizing Columns and Rows 169
To resize column widths using the Grid Options window:
1 Run a report in Grid view.
2 On the Grid menu, select Options.
3 In the Grid Options window, click the Columns and Rows tab.
4 Under Columns, click Auto Fit and specify a minimum column width in
characters.
OR
Under Columns, click Fixed, and from the Select from the list drop-down
list, select which columns you want to configure. Also, specify a column
width in pixels.
If the data in each column is much shorter in length than the column
headers, you may want to select the Wordwrap check box. Look at
the two versions of the same report below to see effect of the
wordwrap feature. The first report has the wordwrap feature
enabled, so the metric names wrap:
Wordwrap Feature Enabled
Report Style Manipulations MicroStrategy Desktop: Reporting Essentials 5
170 Locking and Resizing Columns and Rows 2011 MicroStrategy, Inc.
The second report does not have the wordwrap feature enabled, so the metric
names make the columns much wider:
Wordwrap Feature Not Enabled
5 Click OK to close the Grid Options window.
6 In the report, on the File menu, click Save to save your column width
options to the report definition.
To resize row heights using the Grid Options window:
1 Run a report in Grid view.
2 On the Grid menu, select Options.
3 In the Grid Options window, click the Columns and Rows tab.
4 Under Rows, click Auto Row Height.
OR
Under Rows, click Fixed Row Height and specify a row height in pixels.
5 Click OK to close the Grid Options window.
6 In the report, from the File menu, click Save to save your row height
options to the report definition.
MicroStrategy Desktop: Reporting Essentials Report Style Manipulations 5
2011 MicroStrategy, Inc. Graph Properties 171
Graph Properties
After completing this topic, you will be able to:
Describe some of the basic graph properties and modify a graph report in
Desktop.
There are numerous graph properties that enable you to customize nearly
every aspect of a graphs appearance. You can choose from dozens of different
graph types and styles. After you choose an overall graph type and graph style,
other options enable you to adjust various aspects of the graph, such as the
data labels, a legend, its axes, and its titles. This topic describes a few of the
more common graph properties you may use.
Display Data Labels
You can display the exact values for each data point on a graph.
To display data labels on a graph:
1 Run a report in Graph view.
2 On the Graph menu, point to Display, and select Data Label.
You can also use the Find and Replace tool to apply a font of your choice
to graph titles and labels in selected sets of reports and templates
throughout a MicroStrategy project. For more information on the Find
and Replace tool, refer to the MicroStrategy Desktop: Advanced
Reporting course.
Specify the Number of Categories and Series
Sometimes, all of the data from a report does not fit onto one page of a graph.
When that happens, a scroll bar displays on the bottom of the graph to enable
you to scroll through the rest of the data. An alternative to scrolling is to change
the number of series and categories on the graph to display more or less data
per page.
The following report shows 4 categories (sets of data along the X-axis) and 2
series (legend items). Generally, the categories correspond to the rows or a
report, and the series correspond to the columns of a report, as shown below:
Graph Categories and Series
MicroStrategy Desktop: Reporting Essentials Report Style Manipulations 5
2011 MicroStrategy, Inc. Graph Properties 175
To change the number of categories and series of a graph:
1 On the Graph menu, select Preferences.
2 In the Preferences window, in the Properties Categories list, under Options,
select General.
3 In the Options - General pane, under Scrolling, specify the Maximum
number of categories and the Maximum number of series, as shown
below:
Setting for Maximum Number of Categories and Series
To include brackets for each attribute level in the nested label, select
the Draw bracket for each level check box.
2 To show or hide the individual labels of graphs that have several data series,
select the Concatenate labels for multiple series check box.
This option only works for graphs that require multiple data for one
data point, such as bubble, scatter, and stock graphs.
3 To show or hide the last level labels of graphs that have several data series,
select the Suppress last level labels check box. This option applies to all
data series in the graph.
This option is useful for graphs that require multiple data for one
data point, such as bubble, scatter, and stock graphs.
Report Style Manipulations MicroStrategy Desktop: Reporting Essentials 5
178 Graph Properties 2011 MicroStrategy, Inc.
4 Click OK to apply the changes and close the Preferences window.
5 In the graph report, on the File menu, select Save to save the nested labels
to the report definition.
Graph Undo/Redo
The undo function allows a user to easily reverse actions that resulted in an
undesirable outcome on a graph. The redo function allows a user to reverse the
undo command on a graph.
Both the redo and undo functions maintain a history list of the actual actions
that can be reversed. The history list provides you with the option to reverse
any action in the list, not just the last action. For example, assume you change
the title, graph type, number of series, and number of categories on a graph.
After looking at the final graph you decide that a different graph type would
look better. You can undo only the graph type and do not have to also reverse
all actions prior to the graph type in the history list.
To undo or redo the last action on a graph:
1 In the graph report, on the Edit menu, select Undo or Redo.
To undo or redo a specific action on a graph:
1 In the graph report, on the toolbar, click the drop-down arrow on redo or
undo.
2 Select the specific action to undo or redo from the list.
3 Once a graph is saved, the redo and undo history lists are erased. In
addition, if a graph contains a page-by field, selecting a different page will
erase the history lists
MicroStrategy Desktop: Reporting Essentials Report Style Manipulations 5
2011 MicroStrategy, Inc. Lesson Summary 179
Lesson Summary
In this lesson you learned:
Formatting involves changing the display of a report. You can format the
look and feel of your report by altering the number display, alignment, font,
border, and patterns for column and row axes, template object headers and
values, and subtotal headers and values.
A threshold is best understood as conditional formatting of metric values.
By defining thresholds for a metric, report developers can format metric
values that meet the criteria of their choosing.
Banding is a method of organizing the appearance of report results in a grid
report according to certain criteria. You can band by rows and columns
based on either the number of rows or columns or the values of the row and
column headers.
Desktop enables you to lock row and column headers on a grid report, so
while viewing report results, you can scroll horizontally and vertically
without losing sight of the row or column headers.
There are numerous graph properties that enable you to customize nearly
every aspect of a graphs appearance. You can choose from dozens of
different graph types and styles. After you choose an overall graph type and
graph style, other options enable you to adjust various aspects of the graph,
such as data labels, legend, axes, and titles.
Report Style Manipulations MicroStrategy Desktop: Reporting Essentials 5
180 Lesson Summary 2011 MicroStrategy, Inc.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Style Manipulations in Desktop 181
The column handles display above the row and column headers.
12 Use the column handles to adjust the width of the metric columns until
your report looks like the following:
13 Close the Average and Maximum Revenue per Call Center Transaction
report without saving it.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Style Manipulations in Desktop 193
Locking Columns Headers
14 If the New Search window is not open, on the Tools menu, select Search
for Objects.
15 On the Name & Location tab, in the Named box, type Inventory Received
from.
16 In the Look in box, browse to the \MicroStrategy Tutorial\Public
Objects\Reports folder and click Find Now.
17 In the Search Results window, double-click the Inventory Received from
Suppliers by Quarter report to run it.
18 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
19 On the report, scroll down and notice that the column headers are no longer
displayed.
20 In the report, on the Grid menu, select Lock Column Headers.
21 Scroll down the report and notice that the column headers now display.
22 Close the Inventory Received from Suppliers by Quarter report without
saving it.
23 Close the New Search window. If prompted to save the search, select No.
MicroStrategy Desktop: Reporting Essentials
194 Exercises: Report Style Manipulations in Desktop 2011 MicroStrategy, Inc.
Bar Graph
Overview
Run the Yearly Revenue Growth by Customer Region report (which you can
find by using the search functionality) in graph view and make changes to the
graph display to make it easier to read. The initial graph will look like the
following:
It is almost impossible to distinguish the values for Percent Growth. To fix this,
you will change the graph type to split dual axes. You will also add data labels
to the bars to show the exact value for each data point. Finally, you will change
the title of the graph to Revenue and Percent Growth by Customer Region.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Style Manipulations in Desktop 195
The final graph should look like the following:
You can use the detailed instructions that follow if you want help.
Detailed Instructions
Search for report
1 In Desktop, on the Tools menu, select Search for Objects.
2 On the Name & Location tab, in the Named box, type the first few words of
the report, Yearly Revenue Growth.
3 In the Look in box, browse to the \MicroStrategy Tutorial\Public
Objects\Reports folder and click OK.
4 Click Find Now.
5 In the Search Results window, double-click the Yearly Revenue Growth
by Customer Region report to run it.
6 In the Report Editor, on the View menu, select Design View.
7 In the Object Browser, double-click the Time hierarchy.
8 Double-click Year to display the attribute elements.
9 Drag 2009 into the Report Filter area.
MicroStrategy Desktop: Reporting Essentials
196 Exercises: Report Style Manipulations in Desktop 2011 MicroStrategy, Inc.
10 Click Run.
11 On the View menu, select Graph View.
12 In the Graph Type window, click OK to accept the default graph style.
13 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
Change Graph Type
14 In the graph report, on the Graph menu, select Graph Type.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Style Manipulations in Desktop 197
15 In the Graph Type window, on the Vertical tab, select Vertical
Bar:DualAxis Stacked.
16 Click OK to close the Graph Type window.
17 On the graph report, on the Graph menu, select Grids and Scales.
18 In the Preferences window, in the Properties Categories list, expand Axes,
followed by Y2, and select Axis Labels.
MicroStrategy Desktop: Reporting Essentials
198 Exercises: Report Style Manipulations in Desktop 2011 MicroStrategy, Inc.
19 In the Y2 - Axis Labels pane, select the Make This a Descending Axis
check box.
20 Click OK.
21 Your graph report should now look like the following:
22 On the Graph menu, select Graph Options.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Report Style Manipulations in Desktop 199
23 In the Preferences window, in the Properties Categories list, expand
Vertical Bar Options, and select Layout.
24 In the Vertical Bar Options - Layout pane, select the Split Dual Axis check
box.
Add Data Labels
25 In the Properties Categories list, expand Series and select Labels And
Values.
26 In the Series - Labels And Values pane, select the Show Data Labels check
box.
27 In the Labels Location drop-down list, select Outside Maximum.
Change the Graph Title
28 In the Properties Categories list, expand Titles, and select All.
29 In the Titles - All pane, in the Title text box, delete the default and type
Revenue and Percent Growth by Customer Region.
30 Click OK to close the Properties window.
31 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
Save the report
32 In the graph report, on the File menu, select Save As.
33 In the Save Report As window, navigate to the My Reports Exercises
folder and save the report as Customer Region Revenue and Growth
Graph.
34 Close the Customer Region Revenue and Growth Graph report.
35 Close the New Search window. If prompted to save the search, select No.
MicroStrategy Desktop: Reporting Essentials
200 Exercises: Report Style Manipulations in Desktop 2011 MicroStrategy, Inc.
Graph with Gauges
Overview
Run the Sales by Quarter and Month report found in your My Reports
Exercises folder to graph view, using the gauge display. The final results should
look like the following:
You can use the detailed instructions that follow if you want help.
Detailed Instructions
1 In the Folder List, select the My Reports Exercises folder.
Create a Copy of a Report
2 In the Object Viewer, right-click the Sales by Quarter and Month report
you created earlier and select Copy.
3 In Desktop, on the Edit menu, select Paste.
Ensure you select Remove from Report and not Remove from Grid.
8 In the two Desktop windows that pop up, click Yes.
9 In the report template, right-click the Month header and select Remove
from Report.
10 In the two Desktop windows that pop up, click Yes.
Change to Graph View
11 In the report, on the View menu, select Graph View.
12 In the Graph Type window, in the list of graph types, select Advanced.
13 Click the Gauge tab and select the Gauge:Gauge graph.
14 Click OK to close the Graph Type window.
Format the Gauge Graph
15 On the graph report, on the Graph menu, select Grids and Scales.
16 In the Preferences window, in the Properties Categories list, expand Axes,
followed by Y, and select Axis Labels.
MicroStrategy Desktop: Reporting Essentials
202 Exercises: Report Style Manipulations in Desktop 2011 MicroStrategy, Inc.
17 Clear the Show gauge titles check box.
18 In the Properties Categories list, expand Gauge Options, and select
General.
19 In the Gauge Options - General pane, for Gauge Style, click Old.
20 In the Gauges Per Row text box, type 4.
21 Clear the Draw Axis Label Outside check box.
22 Click OK to close the Preferences window.
23 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
24 In the graph report, on the File menu, select Save.
25 In the Advanced Save Options window, click Create a local copy of the
template.
26 Click OK.
27 Close the Sales by Quarter report.
2011 MicroStrategy, Inc. 203
6
FILTERS
Lesson Description
This lesson introduces you to report filters. Understanding how to create
report filters is a crucial part of creating reports that retrieve only the data that
you want to analyze.
In this lesson, you will learn about the different types of report filters, see
examples of when you would use each type, and learn how to create them using
Desktop.
Basic knowledge of formal logic is useful in understanding report filters and
their concepts, but it is not required.
Filters MicroStrategy Desktop: Reporting Essentials 6
204 Lesson Objectives 2011 MicroStrategy, Inc.
Lesson Objectives
After completing this lesson, you will be able to:
Define the different types of report filters available in Desktop and create each
type using the Filter Editor.
After completing the topics in this lesson, you will be able to:
Explain the purpose of a report filter and describe the differences between
report filters and view filters. (Page 205)
Use the Filter Editor to create and save report filters. (Page 209)
Define the different types of report filters, and create each type of report
filter using the Filter Editor in Desktop. (Page 211)
Define the set operators available in the Filter Editor, and describe how you
can use them to combine multiple filter conditions inside a report
filter. (Page 219)
MicroStrategy Desktop: Reporting Essentials Filters 6
2011 MicroStrategy, Inc. What Is a Filter? 205
What Is a Filter?
After completing this topic, you will be able to:
Explain the purpose of a report filter and describe the differences between
report filters and view filters.
A report filter specifies the conditions that the data must meet to be included
in report results. If you are familiar with SQL syntax, the report filter is usually
equivalent to the WHERE clause in a SQL statement.
For example, consider the following diagram, which shows a table of data
filtered by three different report filter conditions:
Filter Conditions
As you can see, each report filter condition returns a different result set. You
need to know how to design the correct report filter in order to retrieve the
desired data.
Filters MicroStrategy Desktop: Reporting Essentials 6
206 What Is a Filter? 2011 MicroStrategy, Inc.
There are two categories of filters in MicroStrategy:
Report FilterEnables you to apply filter conditions to a report that
appear in the SQL used to retrieve the report result set. The report filter
is created as part of the report and is saved with the report definition.
You can create a report filter from within the Report Editor or with the
Filter Editor. You can filter on an object whether or not it is part of the
report template. After you execute a report, you can see the definition of
the report filter in the Report Details window.
You can open and close the Report Details window for a report by
selecting Report Details from the View menu.
The following illustration shows a report that is filtering on specific
regions, even though the Region attribute is not on the template.
Report Filter Based on Specific Regions
MicroStrategy Desktop: Reporting Essentials Filters 6
2011 MicroStrategy, Inc. What Is a Filter? 207
View FilterEnables you to create a filter on the fly, based only on those
objects that exist in the Report Objects window. (These objects may or
may not be displayed on the template.) View filters do not display in the
report SQL. Rather, view filters are applied after the data is retrieved
from the warehouse, so only a subset of the result set displays in the
report view. You can create a view filter with the View Filter window of a
report, which you can also use to view the details of existing view filter
conditions.
You can open and close the View Filter window in a report by
selecting View Filter from the View menu.
The following illustration shows the previous report with a view filter
condition of Year 2009. As you can see, the Year attribute is in the
Report Objects window (and on the template), and only data for 2009
displays in the report view, even though data for 2009, and 2010 were
retrieved from the data warehouse:
View Filter Based on Year 2009
View filters and the Report Objects window are only available with
MicroStrategy OLAP Services. For more information on MicroStrategy
OLAP Services, see MicroStrategy OLAP Services starting on
page 273.
Filters MicroStrategy Desktop: Reporting Essentials 6
208 What Is a Filter? 2011 MicroStrategy, Inc.
The differences between report filters and view filters are summarized in the
following table.
Summary of Differences: Report Filters vs. View Filters
Filter Type SQL Generated May Reference When Applied
Report Filter Every time a
change is made;
often affects the
WHERE clause
of a SQL
statement
Any object,
whether or not it
is part of the
report
Before the SQL
is generated
and sent to the
data warehouse
View Filter None Only objects in
the Report
Objects window
After the data is
retrieved from
the data
warehouse
MicroStrategy Desktop: Reporting Essentials Filters 6
2011 MicroStrategy, Inc. Creating and Saving Report Filters 209
Creating and Saving Report Filters
After completing this topic, you will be able to:
Use the Filter Editor to create and save report filters.
The Filter Editor
When you choose to create a new filter object, the Filter Editor opens, as shown
below:
Filter Editor
The Filter Editor has the following windows:
Object BrowserEnables you to navigate through the project to locate
objects you want to use in the report filter definition.
My ShortcutsEnables you to jump to a location in the Object Browser.
Lesson Summary:
In this lesson you learned:
A report filter specifies the conditions that the data must meet to be
included in report results. If you are familiar with SQL syntax, the report
filter is usually equivalent to the WHERE clause in a SQL statement.
There are two categories of filters in MicroStrategyReport Filter and View
Filter.
The Report Filter enables you to apply filter conditions to a report that
display in the SQL used to retrieve the report result set. The report filter is
created as part of the report and is saved with the report definition.
The View Filter enables you to create a filter on the fly, based only on those
objects that exist in the Report Objects window.
View filters do not display in the report SQL. Rather, view filters are applied
after the data is retrieved from the warehouse, so only a subset of the result
set appears in the report view.
You can create the following types of report filtersAttribute qualification,
Set qualification, Shortcut to a Report, and Shortcut to a Filter.
Attribute qualification filters enable you to specify the conditions that
attribute elements must satisfy to be included in the report results.
Set qualification filters enable you to restrict report results based on a
metric.
Using existing report filter objects to define other report filters can be
thought of as embedding filters. It provides a useful means of managing
and leveraging existing report filter objects.
When a report filter has multiple conditions, they are always combined with
set operators. Set operators govern the interaction between different filter
conditions. Whenever you have more than one condition in a report filter,
you can change the set operator to any of the followingAND, OR, OR
NOT, and AND NOT.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Filters in Desktop 225
You should now have six items in the filter definition window.
Save the filter
16 In the Filter Editor, click Save and Close.
MicroStrategy Desktop: Reporting Essentials
228 Exercises: Filters in Desktop 2011 MicroStrategy, Inc.
17 Save the report filter in the My Filters Exercises folder as List of Items.
You will use this filter in a later exercise.
Qualifying on a Metric
Overview
Create a report filter for Revenue over $5,000,000. Run a report with this new
filter and a template that has Region in the rows and Revenue in the columns.
The final report should look like the following:
When you are finished, keep the report open for the next exercise.
You can use the detailed instructions that follow if you want help.
Detailed Instructions
Create a Metric Qualification Report Filter
1 In the Folder List, select the My Filters Exercises folder.
2 On the File menu, point to New, and select Filter.
3 In the New Filter window, leave Empty Filter selected, and click OK.
4 In the Filter Editor, in the Object Browser, in the My Shortcuts bar, click
Public Objects.
5 In the Object Browser, double-click the Metrics folder.
6 Double-click the Sales Metrics folder.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Filters in Desktop 229
7 Drag and drop the Revenue metric into the Filter definition window.
8 In the Set Qualification window, under Parameters, in the Function
drop-down list, leave Metric Value selected.
9 In the Operator drop-down list, select Greater than.
10 Below the operator drop-down list, in the Value text box, type 5000000
(without commas).
11 Click OK to close the Set Qualification window.
Save the filter
12 In the Filter Editor, click Save and Close.
13 Save the report filter in the My Filters Exercises as Revenue > $5,000,000.
Create and run a report using the Report Filter
14 On the File menu, point to New, and select Report.
15 In the New Grid window, leave Blank Report selected, and click OK.
16 In the Report Editor, in the Object Browser, double-click the Geography
hierarchy.
17 Drag and drop the Region attribute into the rows of the template definition
window.
18 In the Object Browser, in My Shortcuts, click Public Objects.
19 In the Object Browser, double-click the Metrics folder.
20 Double-click the Sales Metrics folder.
21 Drag and drop the Revenue metric into the columns of the template
definition window.
22 In the Object Browser, in My Shortcuts, click My Personal Objects.
23 In the Object Browser, double-click the My Objects folder.
24 Double-click the My Filters Exercises folder.
MicroStrategy Desktop: Reporting Essentials
230 Exercises: Filters in Desktop 2011 MicroStrategy, Inc.
25 Drag and drop the Revenue > $5,000,000 report filter into the Report
Filter definition window.
26 In the Report Editor, click Run.
27 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
28 Keep the report open for the next exercise.
Combining Two Filters in a Report
Overview
Using the Report Editor, modify the report from the previous exercise by
replacing the Revenue > $5,000,000 report filter with the List of Items and the
Year 2010 filters. The report should look like the following:
You can use the detailed instructions that follow if you want help.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Filters in Desktop 231
Detailed Instructions
1 In the report from the last exercise, on the toolbar, click Design View.
2 In the Report Editor, in the Object Browser, in My Shortcuts, click My
Personal Objects.
3 In the Object Browser, double-click the My Objects folder.
4 Double-click the My Filters Exercises folder.
5 Drag and drop both the List of Items and Year 2010 report filters into the
Report Filter definition window.
6 In the Report Filter definition window, right-click the Revenue >
$5,000,000 report filter, and select Remove.
7 In the Desktop window, click Yes to confirm the deletion.
8 In the Report Editor, click Grid View to run the report.
9 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
Save the report
10 Click Save and Close.
11 In the Save the report to the My Reports Exercises folder as Regional
Revenue for Year 2010 and List of Items.
MicroStrategy Desktop: Reporting Essentials
232 Exercises: Filters in Desktop 2011 MicroStrategy, Inc.
2011 MicroStrategy, Inc. 233
7
METRICS
Lesson Description
This lesson focuses on creating metrics in Desktop. Metrics define the
analytical calculations you want to perform against your data warehouse; they
produce the results that you analyze for decision-making purposes.
This lesson begins with a brief look at facts. Facts are the MicroStrategy objects
on which metrics are based. Distinguishing between facts and metrics and
understanding how facts are used to build metrics is essential to understanding
metrics.
In this lesson, you will learn how to create a variety of metrics, including
simple and compound metrics. More advanced metrics such as level metrics
and transformation metrics are discussed in the MicroStrategy Desktop:
Advanced Reporting course.
Metrics MicroStrategy Desktop: Reporting Essentials 7
234 Lesson Objectives 2011 MicroStrategy, Inc.
Lesson Objectives
After completing this lesson, you will be able to:
Define the different types of metrics, and create them using the Metric Editor
in Desktop.
After completing the topics in this lesson, you will be able to:
Explain the purpose of facts. (Page 235)
Explain the purpose of metrics. (Page 237)
Define the different types of metrics. (Page 241)
Define the components of a metric, and use the Metric Editor to create and
save metrics. (Page 245)
Define metric formatting properties, including the number format, header
display, and available subtotals. (Page 251)
MicroStrategy Desktop: Reporting Essentials Metrics 7
2011 MicroStrategy, Inc. What Is a Fact? 235
What Is a Fact?
After completing this topic, you will be able to:
Explain the purpose of facts.
Understanding facts is key to understanding metrics. Facts are values that
represent business performance. Some characteristics of facts are the
following:
They are typically numeric.
They can be aggregated to produce meaningful results.
Facts are stored in tables in the data warehouse. In a MicroStrategy project,
you build fact schema objects that point to those columns that store fact data.
For example, the MicroStrategy Tutorial project has facts such as Revenue,
Cost, and Freight that point to columns in tables that store values for these
measurements.
The image below displays some of the fact schema objects in the MicroStrategy
Tutorial project:
Fact Schema Objects
Metrics MicroStrategy Desktop: Reporting Essentials 7
236 What Is a Fact? 2011 MicroStrategy, Inc.
If you open a fact with the Fact Editor, you see the warehouse columns and
tables to which it is mapped. The following image displays the definition of the
Revenue fact in the MicroStrategy Tutorial project:
Fact Editor for Revenue Fact
As shown above, one of the columns to which the Revenue fact is mapped is the
ORDER_AMT column in the ORDER_FACT table. The fact definition dictates
where in the data warehouse the MicroStrategy Engine goes when it needs to
retrieve Revenue data.
For more information on the Fact Editor and creating facts refer to the
MicroStrategy Architect: Project Design course.
MicroStrategy Desktop: Reporting Essentials Metrics 7
2011 MicroStrategy, Inc. What Is a Metric? 237
What Is a Metric?
After completing this topic, you will be able to:
Explain the purpose of metrics.
In the last section, you learned that a fact is a MicroStrategy schema object that
points to columns in the data warehouse that store fact data. A metric is an
object you create in Desktop that performs a calculation on a fact. A metric can
employ everything from basic function, like sum, average, or standard
deviation to more advanced functions, like moving average, correlation, or
n-tiling.
Desktop provides over 200 built-in functions and operators for use in
creating metric calculations, including statistical, mathematical, and
financial calculations. You can view these functions in Desktop in the
Schema Objects\Functions and Operators folder.
For example, if you want to see Average Revenue on a report, you need to build
a metric that averages the Revenue fact values. The formula for an Average
Revenue metric would look like the following:
Average Revenue Formula
Metrics MicroStrategy Desktop: Reporting Essentials 7
238 What Is a Metric? 2011 MicroStrategy, Inc.
To better understand the relationship between facts and metrics and how they
are used together to display calculations in reports, consider the following
example.
In your data warehouse, you have the following ORDER_FACT table, as shown
below:
ORDER_FACT Table
In this table, the ORDER_AMT column stores the revenue amount for each
order. You want to be able to access the revenue data in this table, so you create
a Revenue fact schema object that points to the ORDER_AMT column in the
ORDER_FACT table. The Revenue fact now enables the MicroStrategy Engine
to retrieve revenue data from the ORDER_AMT column of the ORDER_FACT
table.
Next, you want to view both average and total revenue figures on a report. To
calculate average revenue, you create an Average Revenue metric whose
formula is Avg(Revenue), where Revenue is the Revenue fact you created
earlier. The Avg function calculates the average revenue based on the values in
the ORDER_AMT column.
To calculate total revenue, you create a Total Revenue metric whose formula is
Sum(Revenue), where Revenue is again the Revenue fact you created earlier.
The Sum function calculates the total revenue based on the values in the
ORDER_AMT column.
MicroStrategy Desktop: Reporting Essentials Metrics 7
2011 MicroStrategy, Inc. What Is a Metric? 239
After you have created these two metrics, you then place them on a report like
the following:
Report with Metrics
The above report shows the average and total revenue by day. Each metric
employs a different calculation, but both are based on the same Revenue fact.
You can use the same fact to build any number of metrics. You can also create
much more advanced metrics that have more complex expressions and
perform more advanced calculations. You can even combine metrics to create
new metrics.
Level metrics can override the default behavior of aggregating fact data
to the report level. For more information on level metrics, refer to the
MicroStrategy Desktop: Advanced Reporting course.
MicroStrategy Desktop: Reporting Essentials Metrics 7
2011 MicroStrategy, Inc. Types of Metrics 241
Types of Metrics
After completing this topic, you will be able to:
Define the different types of metrics.
Metrics can belong to one of the following categories:
Simple
Nested
Compound
Derived
Derived metrics are not covered in this lesson. For more information
on derived metrics, see the MicroStrategy OLAP Services lesson
starting on page 273.
Simple Metrics
As the name implies, simple metrics are the most basic metrics. You can use
simple metrics to create other types of metrics.
In their structure, simple metrics:
Include one or more aggregation functions
Are based on one or more facts or attributes
Include the specified level at which they are to be calculated
May include conditions that apply to its calculation
May include transformations, which are applied prior to its calculation
The following are examples of simple metrics:
Sum(Cost){~}
Count(Customer){~}
Sum (Revenue) {~} - Sum (Cost) {~}
Metrics MicroStrategy Desktop: Reporting Essentials 7
242 Types of Metrics 2011 MicroStrategy, Inc.
The {~} in these examples means the metric values are to be calculated
at the report level, the lowest attribute level on the report. For example,
if the report shows sales by year and month, the numbers will be
calculated to reflect monthly sales data. Creating metrics that use levels,
conditions, and transformations is covered in the MicroStrategy
Desktop: Advanced Reporting course.
Nested Metrics
Nested metrics are metrics that perform multiple aggregations by placing one
calculation formula inside, or nested, in another. They provide a convenient
way to use metric functionality when tables in the data warehouse do not
include data at the level needed for a specific type of analysis. The result of the
inner calculation formula is stored in an intermediate table, which is then used
to calculate the result of the outer calculation formula. As such, you can obtain
and analyze data at levels not physically available in the data warehouse.
For example, you may want to see profit data averaged at the year level, but
existing fact tables provide only month-level profit data. You can use nested
aggregation to obtain the desired results. To calculate a yearly average for
profit, create a nested metric with the following metric formula:
Avg(Sum(Profit){~, Month}){~, Year}
In calculating the above metric, the MicroStrategy Engine first sums the profit
for each month and stores those results in an intermediate fact table. The
MicroStrategy Engine then uses those results to calculate an average profit for
each year.
For more information on how to create nested metrics with the Metric
Editor, refer to the MicroStrategy Desktop: Advanced Reporting course.
Compound Metrics
Compound metrics are created by combining one or more metric objects with
one or more mathematical operators or constants. You can create compound
metrics using simple, nested, or other compound metrics.
Metrics MicroStrategy Desktop: Reporting Essentials 7
244 Types of Metrics 2011 MicroStrategy, Inc.
The following are examples of compound metrics:
([Region Revenue] / [Company Revenue])
[Profit] *.15
The table below shows what can and cannot be used to define a compound
metric:
When you first open the Metric Editor to create a new metric, the
metric definition window is empty.
Subtotals/Aggregation Tab
This tab is used to configure subtotal and dynamic aggregation settings for a
metric. The Subtotals/Aggregation tab contains the following:
Total subtotal functionEnables you to determine the aggregate function
used to calculate the Total subtotal values for the metric.
Dynamic aggregation functionEnables you to determine the aggregate
function used by the Analytical Engine for dynamic aggregation. Dynamic
aggregation occurs when a lower-level attribute is present in the Report
Objects window but is not displayed on the report template, which is only
possible with MicroStrategy OLAP Services.
You can change the aggregate function by using the Object Browser
to locate the function you want to use and dragging and dropping it
onto the existing aggregate function in the Definition window. You
can also type the function directly into the formula.
2 Click the Subtotals / Aggregation tab and make changes to the settings as
needed.
The Total subtotal has its own setting for disabling it for a metric. For
more information, see To disable the Total subtotal function for a
metric: starting on page 254.
The subtotals you disable are not displayed, even when the metric is
used on a report where subtotals are selected.
Total Subtotal Function
Enabling subtotals is a common report manipulation, which can seem rather
simple. However, consider what happens when you have a metric, Count
Distinct (Items Sold), on your report, as in the following illustration:
Count Distinct
Metrics MicroStrategy Desktop: Reporting Essentials 7
254 Metric Formatting 2011 MicroStrategy, Inc.
Since the same item could have been sold on more than one date in more than
one month, simply summing across the Count Distinct (Items Sold) metric
values for each month can no longer be used to calculate an accurate Total
subtotal for the metric. In other words, 522 may not be the number of distinct
items that sold across the five months.
What to do? Essentially, if you want to keep the Month attribute on the report
template with the Count Distinct (Items Sold) metric, it would make more
sense to disable the Total subtotal for that metric, rather than displaying an
incorrect Total subtotal value.
To disable the Total subtotal function for a metric:
1 In the Metric Editor of the metric for which you want to disable the Total
subtotal, click the Subtotals / Aggregation tab.
2 In the Total subtotal function drop-down list, select None.
This check box is only available for compund metrics and some simple
metrics (those that combine two or more calculation formulas with
arithmetic operators).
3 Click Save and Close.
Metrics MicroStrategy Desktop: Reporting Essentials 7
258 Lesson Summary 2011 MicroStrategy, Inc.
Lesson Summary
In this lesson you learned:
Facts are values that represent business performance. They are typically
numeric and they can be aggregated to produce meaningful results.
Facts are stored in tables in the data warehouse. In a MicroStrategy project,
you build fact schema objects that point to those tables that store fact data.
A metric is an object you create in Desktop that performs a calculation on a
fact. A metric can employ everything from basic functions, like sum,
average, or standard deviation to more advanced functions like moving
average, correlation, or n-tiling.
Metrics can belong to one of the following categoriesSimple, Nested,
Compound, and Derived.
Simple metrics are the most basic metrics. You can use simple metrics to
create other types of metrics.
Nested metrics are metrics that perform multiple aggregations by placing
one calculation formula inside, or nested, in another. They provide a
convenient way to use metric functionality when tables in the data
warehouse do not include data at the level needed for a specific type of
analysis.
Compound metrics are created by combining one or more metric objects
with one or more mathematical operators or constants. You can create
compound metrics using simple, nested, or other compound metrics.
Metrics have the following componentsFormula, Level (Dimensionality),
Conditionality, and Transformation.
Using the Format Cells window, you can specify formatting properties for a
metrics report header and for the numeric values it displays.
After you define a metric formula, you can determine which subtotals are
available for the metric. By default, all subtotals are available.
You should select the Allow Smart Metric check box any time strictly
summing the metric values does not produce a meaningful Total subtotal
value.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Metrics in Desktop 259
Make sure you use the metrics in the My Metrics Exercises folder
you created earlier, and not the facts of the same names.
9 Click Validate.
The metric values for Profit Margin display as zeros because you
have not yet formatted the Profit Margin metric as a percent.
Format a Compound Metric - Profit Margin
12 In the report, on the View menu, select Design View.
13 In the Report Editor, in the template definition window, right-click the
Profit Margin metric, and select Edit.
14 In the Report Editor warning message window, click OK.
15 In the Metric Editor, on the Tools menu, point to Formatting, and select
Values.
16 In the Format Cells window, on the Number tab, set Category to Percent
and the Decimal places to 2.
17 Click OK to close the Format Cells window.
18 In the Metric Editor, click Save and Close.
19 In the Report Editor, click Save and Close.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Metrics in Desktop 267
20 In the Object Viewer, double-click the Compound Metric - Profit Margin
report to run it.
21 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
Apply Smart Metric
22 On the Data menu, select Subtotals.
23 In the Subtotals window, on the Definition tab, under the Available
subtotals list, select the Total check box.
24 Click OK.
25 Scroll to the bottom of the report and notice the percentage total for the
Profit Margin metric.
26 In the report template, right-click on the Profit Margin metric, and select
Edit to calculate the meaningful Total value for the Profit Margin metric.
For more information on cube analysis, visual insight, import data and
derived elements, refer to the MicroStrategy Desktop: Advanced
Reporting course.
MicroStrategy OLAP Services MicroStrategy Desktop: Reporting Essentials 8
276 Report Objects 2011 MicroStrategy, Inc.
Report Objects
After completing this topic, you will be able to:
Add and remove objects to and from the template and the Report Objects
window.
With MicroStrategy OLAP Services, you gain an important design featurethe
ability to add attributes and metrics to a report definition without having them
be displayed on the template. The SQL query for such a report retrieves data
for all objects of the report definition (whether or not they are displayed on the
template) and stores it in a report cache. Users can then drag and drop
additional objects onto the template of the report without generating any new
SQL or querying the data warehouse. The data for the objects is simply
retrieved from the report cache that was created when the report was first
executed, resulting in faster response times for users and less traffic to and
from the data warehouse.
The Report Objects window displays all of the objects that are part of the report
definition.These objects were retrieved from the data warehouse and stored in
the report cache. The following image shows how you can have many attributes
and metrics in the Report Objects window that are not displayed on the
template or the initial report view:
Report Objects Window with Many Attributes and Metrics
MicroStrategy Desktop: Reporting Essentials MicroStrategy OLAP Services 8
2011 MicroStrategy, Inc. Report Objects 277
The View Filter window displays three parameters for creating view
filter conditionsField, Operator, and Value.
3 Click Field to display a drop-down list of objects that exist in your Report
Objects window.
4 Select the object with which you want to create the view filter condition.
If you select an attribute, you will have the option to qualify on any
attribute form that is being displayed in the report view or to choose
from a list of attribute elements.
5 Select the desired operator from the drop-down list.
The list of operators will vary depending on your selection for the
Field parameter.
6 Manually type in a value, select a value from a list of elements, or compare
the object you selected to another object in the Report Objects window.
The list of options will vary depending on your selection for the Field
parameter.
MicroStrategy Desktop: Reporting Essentials MicroStrategy OLAP Services 8
2011 MicroStrategy, Inc. View Filters 281
7 Click Apply to apply your view filter condition to the report view, as shown
below:
View Filter Applied to Report
When you have multiple view filter conditions, the default set operator
is AND. Click a set operator and select AND, AND NOT, OR, or OR NOT
to change it. For more information on set operators, see Set Operators
starting on page 219.
To remove all the view filter conditions, click Clear, followed by Apply.
Or to remove a specific view filter condition, right-click the view filter
condition, and select Remove qualification.
Derived Metrics
After completing this topic, you will be able to:
Create derived metrics.
Derived metrics are metrics you can create within a report, using only those
objects in the Report Objects window (even if they are not displayed on the
template), as well as functions and operators.
In their structure, derived metrics:
May include one or more functions and operators
Are based on the attributes and metrics in the Report Objects window
May be simple or compound, and therefore will inherit the characteristics
of whichever type you create.
Just like in the Metric Editor, you can use the Insert Function Wizard to
define a derived metric formula.
5 In the Input Metric Formula window, click OK to add the derived metric to
the report template or the report view.
6 To format the derived metric, right-click its header, and select Formatting.
After a derived metric is created, you can remove it from the report
display like you would any other object.
Built-In Derived Metrics
Another great benefit of MicroStrategy OLAP Services is built-in derived
metrics. Many common metrics that are typically defined in terms of other
metrics are available from the Insert menu when you have MicroStrategy
OLAP Services.
By selecting a metric header in your report view, and then clicking the Insert
menu, you can insert a derived Percent to Total, Transformation, or Rank
metric based on your selected metric.
Built-In Derived Metrics
Lesson Summary
In this lesson you learned:
MicroStrategy OLAP Services is an add-on product to Intelligence Server.
This product provides MicroStrategy customers with the following analysis:
cube analysis, derived elements, in-Memory OLAP with the use of report
objects, view filters, and derived metrics.
With MicroStrategy OLAP Services, you gain an important design
featurethe ability to add attributes and metrics to a report definition
without having them displayed on the template. The SQL query for such a
report retrieves data for all objects of the report definition and stores it in a
report cache.
The Report objects window displays all of the objects that are part of the
report definition.These are the objects retrieved from the data warehouse
and stored in the report cache.
A view filter enables you to further narrow down a report view, using only
those objects in the Report objects window.
When you add or change a view filter, the original report filter remains
intact. Only after a report result set is retrieved, the view filter conditions
are applied, so only a subset of the report results is displayed in the report
view.
Derived metrics are metrics you can create with the Report Editor, using
only those objects in the Report objects window.
MicroStrategy OLAP Services MicroStrategy Desktop: Reporting Essentials 8
286 Lesson Summary 2011 MicroStrategy, Inc.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: MicroStrategy OLAP Services 287
If you do not see the Report objects window, on the View menu, select
Report Objects.
6 Click View contents one level up to return to the list of hierarchies.
7 Double-click the Geography hierarchy.
8 Drag and drop Region, Call Center, and Country into the Report objects
window.
9 Click View contents one level up to return to the list of hierarchies.
10 Double-click the Time hierarchy.
11 Drag and drop Year, Month, Quarter, and Day into the Report objects
window.
12 In My Shortcuts, click Public Objects.
13 Double-click the Metrics folder.
14 Double-click the Sales Metrics folder.
15 In the Object Browser, drag and drop Revenue, Profit, Profit Margin, and
Cost into the Report objects window.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: MicroStrategy OLAP Services 289
16 In the Report objects window, drag and drop Year, Region, Call Center,
Customer Last Name, Revenue, and Profit, and arrange them in the
template definition window as shown below:
To drag the Customer Last Name attribute form to the template, you
need to expand the Customer attribute in the Report objects window.
17 In the Object Browser, in My Shortcuts, click Data Explorer.
18 In the Object Browser, double-click the Time hierarchy.
19 Double-click the Month attribute.
20 Drag and drop Jun 2009 into the Report Filter definition window.
21 In the Report Editor, on the View menu, select Grid View.
You can also place value prompts in metric formulas to make metric
calculations dynamic.
Level promptEnables you to specify the level for a metric. A level prompt
is not directly placed in a report. Instead, you embed it in a metric object.
If you select Custom Forms, click Select Forms to select from a list
of available attribute forms for that attribute.
8 Click Next.
9 On the Provide general information for the prompt page, in the Display
properties section, define the following settings:
In the Title box, type a title for the prompt.
In the Instructions box, type instructions so the users understand which
choices they have to make when answering the prompt.
Click Modify to change the display style of the prompt in MicroStrategy
Web.
In the Personal answers allowed drop-down list, select from None,
Single, or Multiple.
For more information about saving and reusing prompt answers, see
Save and Reuse Prompt Answers starting on page 326.
10 In the Prompt Restrictions section, define the following settings:
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
310 Filter Definition Prompts 2011 MicroStrategy, Inc.
Select the Max number of elements for selection check box if you
want to specify the maximum number of attribute elements a user is
allowed to select per qualification. For example, a user is qualifying on
the Year attribute, and he is selecting from a list that contains the
following elements2008, 2009 and 2010. If this setting is set to 2, the
user can only select two (or less) of these year elements.
Defining default answers for prompts is optional. To skip this step, click
Finish.
13 In the Qualification Editor, select default answers to the prompt, and click
Save and Close.
14 On the Select default prompt answer(s) page, click Finish.
15 In the Save As window, navigate to the location in which you want to save
the prompt.
16 Type a name, and click Save.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. Filter Definition Prompts 311
Qualify on a Metric
This type of filter definition prompt can be used to enable a user to qualify on a
metric. The user can qualify on the metric built into the prompt or any metric
that is returned by a specific search object. Users can qualify on the value, rank,
or percentage of the metric.
The option to qualify on the metric built into the prompt is described
below, but the procedure for creating the other types of metric prompt is
similar.
To create a qualify on a metric prompt:
1 In Desktop, on the File menu, point to New, and select Prompt.
2 In the Prompt Generation Wizard, click Filter definition prompt.
3 In the list of filter definition prompts, select Qualify on a metric, and click
Next.
4 On the Select a metric or metric search object to be used in the prompt
page, select from the following options:
Choose a metric objectEither type the metric name in the box, or
click Browse to select a metric.
Use the results of a search objectEnables you to use a search object
to define the list of metrics to display in the prompt.
Use a pre-defined list of metricsSelect specific metrics to display for
users at runtime. Use the buttons described below to create the list:
AddOpens the Select Objects window, which enables you to select the
objects for the list
The Up and Down arrows move the selected element to change the
order that the elements are displayed in the prompt.
5 Click Next.
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
312 Filter Definition Prompts 2011 MicroStrategy, Inc.
6 On the Provide general information for the prompt page, in the Display
properties section, define the following settings:
In the Title box, type a title for the prompt.
In the Instructions box, type instructions so the users understand which
choices they have to make when answering the prompt.
Click Modify to change the display style of the prompt in MicroStrategy
Web.
In the Personal answers allowed drop-down list, select from None,
Single, or Multiple.
For more information about saving and reusing prompt answers, see
Save and Reuse Prompt Answers starting on page 326.
7 In the Prompt Restrictions section, define the following settings:
Select the Minimum number of qualifications check box if you want to
specify the minimum amount of qualifications allowed, then set that
number.
Select the Maximum number of qualifications check box if you want to
specify a maximum amount of qualifications allowed, then set that
number.
Select the Prompt answer required check box if you want to require
users to answer the prompt before running the report.
Defining default answers for prompts is optional. To skip this step, click
Finish.
10 In the Qualification Editor, select default answers to the prompt, and click
Save and Close.
11 On the Select default prompt answer(s) page, click Finish.
12 In the Save As window, navigate to the location in which you want to save
the prompt.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. Filter Definition Prompts 313
13 Type a name, and click Save.
Using Filter Definition Prompts in a Report
To use a filter definition prompt, you must include it in a report filter object or
in the report filter definition window of a report.
To build a report with a filter definition prompt:
1 In the Report Editor, in the Object Browser, locate the filter definition
prompt you want to use, and drag and drop it into the Report Filter
definition window.
You can also drag and drop it into the Filter definition window of the
Filter Editor.
2 Add more report filter conditions if desired.
3 Save the report.
When you run the report, a window that looks similar to the Filter Editor
displays. If the filter definition prompt is required, you must answer (resolve)
the prompt before the report runs.
To resolve a filter definition prompt:
1 Run a report containing a filter definition prompt.
2 The next actions you take depend on the type of filter definition prompt in
the report, but they are very similar to what you would do in the Filter
Editor to define a report filter condition.
In the Report Details window, you can see your prompt answers in
the form of report filtering conditions.
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
314 Object Prompts 2011 MicroStrategy, Inc.
Object Prompts
After completing this topic, you will be able to:
Create and use object prompts in a report.
Object prompts can be used to create a prompt on almost any type of
MicroStrategy object. For example, you can prompt on a list of metrics or
attributes to place on a template, or you can prompt on a list of report filter
objects to apply to a metric. Object prompts enable you to create very versatile
reports.
With an object prompt you can qualify on a specified list of MicroStrategy
objects or any MicroStrategy object that is returned by a search object. The
following is an object prompt that enables the user to select from a specified list
of metrics to place on a template:
Object Prompt
The option to qualify on a specified list of MicroStrategy objects is described
below, but the procedure for creating the other types of object prompts is
similar.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. Object Prompts 315
Creating Object Prompts
To create an object prompt:
1 In Desktop, on the File menu, point to New, and select Prompt.
2 In the Prompt Generation Wizard, click Object prompt.
3 Click Next.
4 On the Reduce the number of objects available to the user at runtime page,
select from the following options:
Use a pre-defined list of objectsSelect specific objects to display for
users at runtime. Use the buttons described below to create the list:
AddOpens the Select Objects window, which enables you to select the
objects for the list
The Up and Down arrows move the selected element to change the
order that the objects are displayed in the prompt.
Use the result of a search objectEnables you to use a search object
to define the list of objects to display in the prompt.
You can only use objects of the same type in one object prompt. For
example, you can include metrics or attributes in an object prompt,
but not both. If you want to prompt for multiple object types in the
same report, you have to create an object prompt for each object
type.
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
316 Object Prompts 2011 MicroStrategy, Inc.
5 Click Next.
6 On the Provide general information for the prompt page, in the Display
properties section, define the following settings:
In the Title box, type a title for the prompt.
In the Instructions box, type instructions so the users understand which
choices they have to make when answering the prompt.
Click Modify to change the display style of the prompt in MicroStrategy
Web.
In the Personal answers allowed drop-down list, select from None,
Single, or Multiple.
For more information about saving and reusing prompt answers, see
Save and Reuse Prompt Answers starting on page 326.
7 In the Prompt restrictions section, define the following settings:
Select the Minimum objects check box if you want to specify the
minimum amount of objects a user is allowed to select, then set that
number.
Select the Maximum objects check box if you want to specify a
maximum amount of objects a user is allowed to select, then set that
number.
Select the Prompt answer required check box if you want to require
users to answer the prompt before running the report.
Defining default answers for prompts is optional. To skip this step, click
Finish.
10 In the Select Objects window, select default answers to the prompt, and
click OK.
11 On the Select default prompt answer(s) page, click Finish.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. Object Prompts 317
12 In the Save As window, navigate to the location in which you want to save
the prompt.
13 Type a name, and click Save.
Using Object Prompts in a Report
Object prompts have multiple uses, but one of the most common uses is to
place object prompts for metrics, attributes, consolidations, or custom groups
on a template. You might also use an object prompt for a report filter or for the
condition component of a metric.
To build an object with an object prompt:
1 Create the object in which you want to use the object prompt. It may be a
report, a template, a metric, or another MicroStrategy object.
2 In the object editor, with the Object Browser, locate the object prompt and
drag and drop it into the appropriate section of the object editor. For
example, if your object prompt presents a list of metrics, drag and drop it
into the columns or rows of the template definition window in the Report
Editor. If your object prompt presents a list of report filters objects, drag
and drop it into the Report Filter definition window in the Report Editor.
3 Save the object.
When you run the report, a prompt resolution window opens listing the objects
from which you can choose to answer the object prompt. If the object prompt is
required, you must answer (resolve) the prompt before the report runs.
To resolve an object prompt:
1 Run a report containing an object prompt.
2 Select objects from the list in the left window and click > to add them to the
right window.
3 Click Finish to run the report with your prompt answers.
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
318 Object Prompts 2011 MicroStrategy, Inc.
Using Object Prompts for Report Building
Assume you need to create a completely dynamic report that asks users at run
time to choose what data to filter on and what attributes and metrics to display
on the report. Object prompts enable this type of dynamic report creation. As
the report designer, you can build a report that acts as a report building wizard
that incorporates object prompts to define the report filter and template
contents on the fly.
To create a wizard-like report that uses object prompts:
1 Create an object prompt that uses a predefined list of filters. Choose a wide
variety of filters based on many different aspects of the MicroStrategy
project. Give a title and description to the object prompt. Save and close it.
Each object prompt can contain only one object type. Therefore, you
must create a separate object prompt for each object type.
2 Create another object prompt that uses a predefined list of attributes. Offer
a variety of attributes from every hierarchy. Give this object prompt a title
and description. Save and close it.
3 Create a third object prompt that uses a search object to find every metric
object. This assumes that you want to prompt on every metric available in
the project. Otherwise, you could use a predefined list of metrics. Give this
object prompt a title and description. Save and close it.
4 Create a new report. Add the first object prompt to the filter definition pane
in the Report Editor. Add the second and third object prompts to the
template.
5 Run the report and notice how the combination of prompts act like a report
building wizard.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. Value Prompts 319
Value Prompts
After completing this topic, you will be able to:
Create and use value prompts.
Value prompts are typically used as part of a filter definition, but they may also
be used as part of a metric formula. You can prompt on a date, a numeric value,
a text string, a big decimal value, or a long value.
The long value prompt is not enabled by default. To enable the long
value prompt, in Desktop, from the Tools menu, select My Preferences.
In the My Preferences window, under Categories, select Prompts. Select
the Add long prompts to the list of available value prompts check
box.
The following is an example of a text value prompt that prompts users to type
in a manufacturers name:
Text Value Prompt
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
320 Value Prompts 2011 MicroStrategy, Inc.
Creating a Value Prompt
To create a value prompt:
1 In Desktop, on the File menu, point to New, and select Prompt.
2 In the Prompt Generation Wizard open, click Value prompt.
3 Click Next.
4 On the Choose a value prompt type page, select the type of value prompt
you want to create. The options are: Date and Time, Numeric prompt, Text
prompt, Big Decimal, or Long prompt.
For more information about saving and reusing prompt answers, see
Save and Reuse Prompt Answers starting on page 326.
In the Prompt Restrictions section, define the following settings: Select
the Minimum value check box if you want to set the lowest value
allowed for the prompt answer, then set that number.
Select the Maximum value check box if you want to set the highest
value allowed for the prompt answer, then set that number.
Select the Prompt answer required check box if you want to require
users to answer the prompt before running the report.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. Value Prompts 321
This prompt will become part of the report definition and cannot be
re-used in other reports.
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
324 Other Prompt Topics 2011 MicroStrategy, Inc.
3 In the Prompt Generation Editor, select one of the prompt generation
options:
List all <attribute>Creates a prompt that lists all the elements of the
selected attribute. At run time, the user selects which elements to
include.
Qualify on the Attribute <attribute>Creates a prompt that qualifies
on the selected attribute. At run time, the user completes the
qualification. Attribute elements that meet the qualification are
displayed on the report.
List <attribute> filtered byCreates a prompt that lists all the
elements that meet the filter qualification. At run time, the user selects
which of those elements to include.
You can either type in the name of the filter or click the browse
button.
The Prompt Generation Editor is shown below:
Prompt Generation Editor
4 Click OK.
Re-prompting Inside Reports
Simply refreshing a report will not re-prompt it. To re-prompt an open report,
click the Re-prompt button found on the toolbar, as shown below:
Re-prompt
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. Other Prompt Topics 325
When you click the Re-prompt report button, the prompt selection window
opens. You can then make a new selection of prompt answers, which will be
applied when the report re-executes.
Saving Reports with Prompts
When you save a prompted report after answering prompts and running the
report, you are presented with additional save options, as shown below:
Save Options
The Save Options window has the following options:
StaticYou will no longer be prompted when you run the report in the
future. The prompt answers you selected are saved to the report definition
and used every time you run the report in the future.
PromptedYou will continue to be prompted every time you run the report
in the future. You can choose whether to be prompted for just the filter
definition prompts, just the template prompts, or both.
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
326 Other Prompt Topics 2011 MicroStrategy, Inc.
Set the current prompt answers to be the default prompt
answersThe prompt answers you select become the new default prompt
answers when you run the report in the future. This check box is only
enabled if Prompted is selected.
Remember options next timeYour selections in the Save Options
window will become the default selections when you save prompted reports
in the future.
Save and Reuse Prompt Answers
When you run a prompted report or document, you are required to answer the
prompt every time you execute the report or the document. You can save the
prompt answers and reuse them when you run the same report again. This
feature is particularly useful when you have to select a long list of elements for
an attribute element prompt or create a complex expression for an expression
prompt.
The image below shows the Prompt Generation Wizard option for saving your
personal answers when defining the prompt:
Prompt Generation Wizard
You can edit your previous prompt answers by clicking Edit Answers.
4 Click Finish.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. What Is a Search Object? 331
What Is a Search Object?
After completing this topic, you will be able to:
Use various search criteria to search for objects in a MicroStrategy project. Use
the results of a search object in a prompt object.
Searches enable you to search for a specific object or a collection of objects that
meet certain criteria. You can restrict the search results by name, ID, and
location, the date range during which objects were created or last modified,
object type, and object owner. The more criteria you specify, the smaller the
number of objects that will meet those criteria and be returned.
The Search for Objects Editor
You perform searches using the Search for Objects Editor.
To access the Search for Objects Editor:
1 In Desktop, on the Tools menu, select Search for Objects, as shown below:
Search for Objects
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
332 What Is a Search Object? 2011 MicroStrategy, Inc.
By default, you can use the Search for Objects window to restrict search results
by one or more of the following criteria:
Object name and location
Date range of object creation or modification
Object type
Object owner
Object ID
Search By Components
You can search for objects containing particular objects or objects contained by
particular objects by enabling two additional tabs using the Search Options
window.
To activate the Contains and Contained By tabs:
1 In the Search for Objects Editor, on the Tools menu, select Options.
2 In the Search Options window, select the Show Contains and
Contained By tabs check box
3 Click OK to close the Search options window.
You can search for objects that are contained by particular objects,
rather than creating an independent search.
To view components of an object using the search by components shortcut:
1 Select the object in which you want to view components.
2 Right-click and select Search for Components.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. What Is a Search Object? 333
Search Based on Object ID
Users can now search for objects based on an object ID in the Search for
Objects window, as shown below:
Search by ID Window
To enable the search option:
1 In Desktop, on the Tools menu, select Search for Objects.
2 In the Search for Objects window, on the Tools menu, select Search by ID,
as shown below:
Search by ID Option
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
334 What Is a Search Object? 2011 MicroStrategy, Inc.
3 Enter your search criteria.
4 Click Find Now.
Saving Searches
You can save searches just like any other MicroStrategy object to use them
again later or incorporate them into prompt objects.
Many of the prompts described in the previous topic can use the results
of a search to generate a list of potential prompt answers.
To save a search:
1 With the Search for Object Editor, create a search.
2 On the File menu, select Save.
3 In the Save As window, navigate to the location in which you want to save
the search, enter a name for the search, and click Save.
Search-based Prompts
You may recall from the previous topic that the Prompt Generation Wizard has
the option to reference a search object in defining certain types of prompts.
Using searches in prompts enables you to limit a possibly overwhelming set of
potential prompt answers. It also allows you to make the set of potential
prompt answers more dynamic, since the set of potential prompt answers is the
list of objects returned by the search object, rather than a static list.
For example, suppose you want to create a report which template includes an
object prompt that allows users to select from a list of metrics which name
contains the word Revenue. You first create a search that returns a list of
metrics which name contains the word Revenue. You then incorporate the
search object into an object prompt, which you then place on the report
template. Every time the report runs, the search object executes to return the
latest list of metrics with the word Revenue, which is then presented to the
user in the prompt answer window. The user is always selecting from the latest
list of revenue metrics.
MicroStrategy Desktop: Reporting Essentials Prompts and Searches 9
2011 MicroStrategy, Inc. Lesson Summary 335
Lesson Summary
In this lesson you learned:
Prompts are used to dynamically modify the contents of a report. With
prompts, you can determine, at run time, the objects you want to retrieve
for the report and the report filtering conditions.
You can make different prompt selections each time you run the report.
You create the following types of prompts with the Prompt Generation
Wizardfilter definition prompt, object prompt, value prompt, and level
prompt.
Filter definition prompts are used within report filters to specify conditions
that data must meet to be included in report results.
Object prompts enable you to create very versatile reports. With an object
prompt you can qualify on a specified list of MicroStrategy objects or any
MicroStrategy object that is returned by a search object.
Value prompts are typically used as part of a filter definition, but they may
also be used as part of a metric formula. You can prompt on a date, a
numeric value, a text string, a big decimal value, or a long value.
You can also create prompts on the fly within the Report Editor.
When you save a prompted report after answering prompts and running
the report, you are presented with additional save options. You can save the
report as a prompted or static report.
You can save the prompt answers and reuse them when you run the same
report again.
Searches enable you to search for a specific object or a collection of objects
that meet certain criteria.
You can restrict the search results by name, ID, and location, the date range
during which objects were created or last modified, object type, and object
owner.
Using searches in prompts enables you to limit a possibly overwhelming set
of potential prompt answers. It also allows you to make the set of potential
prompt answers more dynamic.
Prompts and Searches MicroStrategy Desktop: Reporting Essentials 9
336 Lesson Summary 2011 MicroStrategy, Inc.
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Prompts and Searches 337
The Prompt Ordering option under the Data menu is only available
when a report has more than one prompt object.
Save the report
28 In the report, click Save and Close.
29 Save the report in the My Reports Exercises folder as Prompts-Original.
Run the original report
30 In the Folder List, select the My Reports Exercises folder.
31 In the Object Viewer, double-click the Prompts-Original report to run it.
MicroStrategy Desktop: Reporting Essentials
346 Exercises: Prompts and Searches 2011 MicroStrategy, Inc.
32 For the first prompt, in the left window, select Units Sold.
33 Click > to move it to the right window.
34 Click Next.
35 For the second prompt, in the left window, select Category and, while
holding down the CTRL key on the keyboard, select Year.
36 Click > to move both attributes to the right window.
37 In the right window, select Category, and click the down arrow button to
the right of the right window.
This will result in the Category attribute displaying to the right of the
Year attribute on the report template.
38 In the prompt selection window, click Finish.
39 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
Save the report with a prompted template and run it again
40 In the report, on the File menu, select Save As.
41 Save the report in the My Reports Exercises folder as Prompts - Template
Prompted.
42 In the Save Options window, click Prompted.
43 Click Only template will be prompted.
44 Leave the Set the current prompt answers to be the default prompt
answers check box selected.
For the first prompt, notice that the answer you selected the last time,
Units Sold, now displays as the default answer.
47 Click Next.
For the second prompt, again notice that the answers you selected the
last time, Year and Category, display as the default answers.
48 Click Finish.
Save and run the report with the static save option
49 In the report, on the File menu, select Save As.
50 Save the report in the My Reports Exercises folder as Prompts - Static.
51 In the Save Options window, click Static.
52 Clear the Remember options next time check box.
53 Click OK to return to the report.
54 Close the report.
55 In the Object Viewer, double-click the Prompts-Static report to run it.
You are no longer prompted since you saved the report as a static
report, and the report ran with your previously saved prompt
answers.
56 Close the report.
57 Return to the beginning of the exercise and answer the questions.
MicroStrategy Desktop: Reporting Essentials
348 Exercises: Prompts and Searches 2011 MicroStrategy, Inc.
Create a Value Prompt
Overview
Suppose you want to see a report that lists all employees hired before a certain
date, and you select the date when you run the report. If you enter April 1,
2001, as the hire date, the final report should look like the following:
Creating this prompted report is a little different than the previous reports
because the prompt is not created as an independent object. Instead, you will
create the prompt from within the Report Filter definition window.
When you create the report filter, you will see the following screen:
Note that there is a difference between the value prompt (created by clicking
Simple Prompt):
MicroStrategy Desktop: Reporting Essentials
2011 MicroStrategy, Inc. Exercises: Prompts and Searches 349
and the filter prompt (created by clicking Prompt):
Using the Simple Prompt button, you can create a value prompt that allows the
user to only enter a date value for the hire date. Using the Prompt button, you
can create an attribute filter definition prompt that enables the user to select
the operator and enter a date value for the hire date.
You can use the detailed instructions that follow if you want help.
Detailed Instructions:
1 In Desktop, on the File menu, point to New, and select Report.
2 In the New Grid window, keep Blank Report selected, and click OK.
3 In the Report Editor, in the Object Browser, double-click the Geography
hierarchy
4 Drag and drop the Employee and the Hire Date attributes into the rows of
the template definition window.
5 In the Object Browser, drag and drop the Hire Date attribute into the
Report Filter definition window.
6 In the Attribute Qualification window, from the Qualify On drop-down list,
select ID.
7 In the Operator drop-down list, select Less than.
8 Click Simple Prompt:
9 In the Prompt Generation Wizard, on the Provide general information for
the prompt page, click Next.
10 On the Select default prompt answer(s) page, clear the Default value check
box, and click Finish.
MicroStrategy Desktop: Reporting Essentials
350 Exercises: Prompts and Searches 2011 MicroStrategy, Inc.
11 Click OK to close the Attribute Qualification window.
12 In the report, click Run.
13 In the prompt selection window, click Date Editor.
14 In the Date and Time Editor, keep the Static date option selected, and type
in 4/1/2001 for the date value.
You could have also used the drop-down calendar to select a date.
15 Click OK to close the Date Editor.
16 In the prompt selection window, click Finish.
17 Compare your results to the expected report in the Overview section at the
beginning of this exercise.
Save the report with a prompted filter
18 Click Save and Close.
19 Save the report in the My Reports Exercises folder as Value Prompt.
20 In the Save Options window, click Prompted.
21 Click Only filter will be prompted.
22 Click OK.
2011 MicroStrategy, Inc. 351
A
MICROSTRATEGY TUTORIAL
Appendix Description
This appendix provides information on the MicroStrategy Tutorial project,
including the data model and physical warehouse schema.
MicroStrategy Tutorial A
352 The MicroStrategy Tutorial Data Model 2011 MicroStrategy, Inc.
The MicroStrategy Tutorial Data Model
A data model is a logical map that represents the inherent properties of
enterprise data, disregarding software, hardware, or machine performance
considerations. Data models show:
Data elements grouped into records
Relationships and association surrounding those records
For more detailed information about data modeling, refer to the Project Design
Guide.
Although the MicroStrategy Tutorial data model is included in this section for
your reference, you can also view it directly in the product.
To view the MicroStrategy Tutorial data model:
1 In Desktop, log in to the project source that contains the MicroStrategy
Tutorial project and expand the MicroStrategy Tutorial project.
2 On the Schema menu, point to Graphical View and select Hierarchies.
3 In the Hierarchy Viewer, to view a different hierarchy, in the Hierarchy
drop-down box, select the hierarchy you want to view.
4 To focus on a different entry point, in the Entry Point drop-down box, select
the entry point you want to view.
5 To view the entire hierarchy in the window, on the View menu, select Fit in
window.