IntroToAnalyticsReporting 11.2.2
IntroToAnalyticsReporting 11.2.2
Analytics Reporting
2. Foundation for
Creating Reports
The Intelligence Center..........................................................................................45
MicroStrategy Web and the Intelligent Enterprise ..............................46
Reports and the Intelligent Enterprise .....................................................47
Calculating business data: Metrics.....................................................................48
Business context on a report: Attributes .........................................................49
Attribute elements...........................................................................................50
Attribute forms..................................................................................................51
3. Creating Reports
Overview .....................................................................................................................73
Building reports based on pre-designed reports .........................................75
Categories of pre-designed reports ..........................................................76
Building reports using templates.......................................................................76
Exercise 3.1: Create a report using the Employee Analysis template.
78
Building reports from scratch ..............................................................................83
Exercise 3.2: Create a simple report from scratch.................................85
4. Filtering Reports
Creating Filters and Overview .....................................................................................................................90
Prompts
Building filters to filter data on reports ............................................................90
Viewing filter details: Report Details pane ..............................................92
View filters...........................................................................................................93
Exercise 4.1: Create a view filter ..................................................................95
Report filters.......................................................................................................99
Exercise 4.2: Create a report filter in a report .......................................104
Exercise 4.3: Create stand-alone filters ...................................................107
Building prompts to allow user input.............................................................114
Prompt types ...................................................................................................116
Prompt creation..............................................................................................120
Exercise 4.4: Create prompts to use in a filter ......................................122
Exercise 4.5: Create object prompts to select the objects displayed
on a report ........................................................................................................129
5. Calculating Data on
Reports
Creating Metrics Overview ...................................................................................................................136
Building metrics to calculate data....................................................................136
Calculating metric values ............................................................................139
Exercise 5.1: Create simple metrics..........................................................141
Compound metrics: Metrics made up of other metrics ...................146
Exercise 5.2: Create compound metrics and smart totals................148
6. Delivering and
Sharing Reports
Exporting reports ...................................................................................................167
Subscribing to reports for automatic delivery.............................................168
Sharing reports with other users ......................................................................168
Sending reports and bursting large reports into smaller files .......169
Sharing a link URL reflecting latest changes and prompt answers.....
169
The visualization above shows earthquakes that occurred in 2017 around the
world. You can quickly identify how many earthquakes occurred in a specific
country to make informed decisions about where earthquakes are common or
uncommon.
• The Key performance indicators (KPIs) on the top display quick answers to
important business questions such as what was our net income/loss in Q4 for
2017?
• The bar chart to the left allows for quick comparisons between categories
such as operating income and revenue trend quarterly, over three years.
• The heat map to the right quickly identifies volume or importance using the
size of the rectangles so your company can quickly identify top (or bottom)
performing areas.
To learn more about building best-in-class dossiers, take the Dashboarding with
Dossiers and Visualizations 11.142 course.
As part of this exercise, you will first learn how to access your Education Sandbox.
As an Education Pass holder, you have your own sandbox environment to learn
about and experiment with MicroStrategy. The Education Sandbox is a
cloud-based environment that includes MicroStrategy Web and Library, with
ready-made sample reports, dossiers, and documents to help spark ideas for your
business intelligence analysis.
5 Click My Reports.
Note that you can only save your work in the My Reports folder in your
Sandbox.
1 From the My Reports folder, click Create, and then select Upload
MicroStrategy File.
You can also upload and create dossiers in MicroStrategy Desktop and
Workstation.
The dossier opens in Edit Mode, which is the primary view that you use to create
and interact with your dossier. You can easily drag and drop objects to create
visualizations that display data, create filters for the data, group data, and more.
You can manipulate the data on visualizations to modify how the visualizations
display, including filtering, formatting, and rearranging the data in the
visualizations. You can add other objects, such as:
• Text boxes
• Images
• Filters on visualizations
Zoom through layers from the entire world to the street level
Tilt the map for a 3D view
Color areas by an element, such as region or population
• View the cumulative effect of positive and negative values that are introduced
sequentially in a waterfall, like an income statement or profit and loss
statement
4 Drag the University attribute from the Datasets panel to the visualization.
Attribute elements are the unique values for an attribute. Attribute forms are
additional descriptive information about a business attribute. The attribute
forms for University include city (Synonym 3), state (Synonym 1), and website
(DESC).
7 Click OK.
8 Drag the In-State Tuition metric from the Datasets panel to the Columns
drop zone in the Editor panel.
The in-state tuition amounts are displayed to the right of University in the
grid:
9 Drag OOS Tuition (Out-of-State Tuition) from the Datasets panel to the right
of Instate Tuition in the grid.
You can add, remove, and move objects in either the visualization itself or in the
Editor panel.
10 Right-click In-State Tuition in the Column drop zone, then click Rename.
You can rename attributes and metrics in either the Editor panel or the
visualization itself.
The grid should now look like the sample provided at the beginning of this
exercise, Grid Visualization Sample, page 14.
15 Save your dossier by clicking the Save icon on the toolbar and then
clicking OK.
It is helpful to save your dossier throughout the class, to ensure that all your
changes have been saved.
• Pivot the grid’s data. To do this, you can move an object between the columns
and rows, either on the grid itself or by using the drop zones in the Editor
panel. If you want to swap the rows and columns, use the Swap icon on the
Editor panel.
• Display subtotals.
• Copy rows of data and paste them into another program for further analysis.
The standard, default grid formatting and available formatting options ensure
consistency for all grids in all dossiers. The formatting options accelerate the
speed of designing a dossier. You can change the display of the grid, including the
font, background color, and borders for each part of the grid, such as the column
headers, row headers, and so on. You can highlight metric values by creating a
threshold, which automatically applies formatting when the data meets a
condition that you define.
A bubble chart visualization highlights the trends for the values of three metrics.
Each attribute element (University) is represented by a bubble. The bubbles are
graphed on a scatter plot and can be sized and colored by metric values and
attributes.
The Visualization Gallery, displayed on the right of the dossier, displays all the
available types of visualizations. Use it to instantly change the selected
visualization. If you hover your cursor over a visualization icon in the gallery,
you can quickly view the data requirements for that visualization type.
Bubble Charts display one metric for each axis, but more metrics can be added
to Size By, Color By, and Tooltip. Writing and Verbal Reasoning are the current
horizontal axis and vertical axis. Many universities do not report SAT Writing
data because they use admissions essays to determine writing ability instead.
Since we want our data to be relevant to our customers, change the horizontal
axis to Math.
4 Drag the Math metric from the Vertical drop zone to the Horizontal drop
zone in the Editor panel.
The position of each bubble on the graph’s horizontal axis (or X-axis) will be
calculated from the Math values.
5 Drag the Writing metric to the Tooltip drop zone. The Tooltip now displays
Writing scores when you hover over a University bubble.
6 Drag ADM RATE to the Color By drop zone. Each university is assigned a color
according to its admission rate.
7 Right-click ADM RATE in the Color By drop zone, then click Thresholds.
9 Click OK.
The bubble chart should look like the sample provided in the beginning of the
exercise, Bubble Chart Sample, page 22.
10 Save your dossier by clicking the Save icon on the toolbar and then
clicking OK.
3 Drag Undergrad Enrollment from the Datasets panel to the Filter panel.
Other formatting options are also available on this menu, such as whether filter
selections include or exclude data.
7 Press Enter to update the dossier. The filter is applied to both visualizations.
Your dossier should look like this:
8 Save your dossier by clicking the Save icon on the toolbar and then
clicking OK.
• You want both visualizations to be displayed on the same screen (as shown in
the previous examples). To do this, create a separate stand-alone filter for each
visualization.
The dossier below contains multiple chapters, as shown in the Contents pane. The
chapters in this example are named Analysis by Time and Analysis by Location.
A chapter has at least one page; in this example, each chapter has two. Chapters
and pages let you add different layers of data to your dossier. A dossier can
contain multiple chapters, and each chapter can contain multiple pages, like a
book. Use chapters and pages to group related visualizations and differentiate
between less-related visualizations. This example dossier separates time-related
visualizations from location-based visualizations.
The second key difference between chapters and pages is filtering. All pages in a
single chapter are filtered the same way, using the Filter panel. Below is the result
of the undergraduate enrollment filter on the Selected University page.
Use chapters and pages to group visualizations according to the filters that each
needs. Another reason to use the different layers of pages and chapters is to
provide the maximum amount of space to view visualizations.
You design the filter for the University dossier chapter, and any filtering choices
apply to all pages within the chapter. The Selected University page above does
not return data because the University of Mobile does not have an undergraduate
enrollment greater than or equal to 15,000 students. To change this, either
remove the chapter filter or move the Selected University page to a new chapter.
Each chapter has its own Filter panel, allowing each chapter to be filtered
differently.
A new chapter contains a page by default. New chapters are named Chapter 1
and new pages are named Page 1, by default. We’ll rename these later.
6 Click the menu icon next to Chapter 1, then click Rename. Rename
Chapter 1 to All Universities.
8 You can also rename pages. Right-click the Overview page under Large
Universities, then click Rename. Rename to Tuition and SAT Scores.
9 Save your dossier by clicking the Save icon on the toolbar and then
clicking OK.
© 2020 MicroStrategy, Inc. Sharing a dossier everywhere: Library on Web and mobile devices 35
1 Instant Data Analysis Introduction to Analytics Reporting
users to provide feedback and suggestions. Share the dossier using MicroStrategy
Library, which provides a collaboration solution with a unified landing page that
allows everyone to interact with dossiers.
Library is a simple visual bookshelf with a fast and efficient search, so that you can
find the dossiers that you need. Use Library to:
• Share your dossier with other users in their own personal libraries.
Your Library contains dossiers that you created, as well as dossiers created and
shared by other users.
36 Sharing a dossier everywhere: Library on Web and mobile devices © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Instant Data Analysis 1
Your Library is also available on your mobile device. Using Library on a mobile
device provides the same features as the Web-based Library, including storing
your dossiers to view them on the go and receiving notifications about dossier
changes.
© 2020 MicroStrategy, Inc. Sharing a dossier everywhere: Library on Web and mobile devices 37
1 Instant Data Analysis Introduction to Analytics Reporting
2 In the Contents panel, hover your cursor over the book icon, so that Change
Cover is displayed. Click Change Cover.
38 Sharing a dossier everywhere: Library on Web and mobile devices © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Instant Data Analysis 1
3 In the Change Cover window, select the graduation cap image, and click Save.
The image is displayed in the Contents panel and will be the thumbnail image
in Library.
© 2020 MicroStrategy, Inc. Sharing a dossier everywhere: Library on Web and mobile devices 39
1 Instant Data Analysis Introduction to Analytics Reporting
2 On the Share window, click Launch, which will automatically launch your
Library in a separate window.
To share your dossier with other users, select either Email Link or copy the link to
your clipboard. When you send the link to another user, she can access the dossier
in her own MicroStrategy Library.
3 If prompted to log in to Library, type (or copy and paste) your MicroStrategy
account credentials.
40 Sharing a dossier everywhere: Library on Web and mobile devices © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Instant Data Analysis 1
5 At the top of the dossier, a message is displayed indicating that you have not
yet added the dossier to your Library. Click Add to Library.
Adding the dossier saves the file in your Library, allowing you to access it
again later in your Library.
6 Click the Library icon in the top left corner to view your virtual bookshelf.
You are now in your Library home page, which contains the dossier that you
just created and sample dossiers provided by MicroStrategy. This page serves
as your virtual bookshelf to store your MicroStrategy dossiers. You can search
for and select a dossier to view.
© 2020 MicroStrategy, Inc. Sharing a dossier everywhere: Library on Web and mobile devices 41
1 Instant Data Analysis Introduction to Analytics Reporting
For example, a salesperson receives an email from a customer that she has not
met, asking for a product that she has not encountered. Directly in the email web
app, the salesperson can scroll over the customer name and see a picture, a
phone number, current title, and past purchases. She can scroll over the
customer's company name to identify the quarterly sales figures generated,
current contract date, and VIP status.
To help with her sales pitch, the salesperson can scroll over the product and see
the product price, margin, current discount, and inventory figures. MicroStrategy
HyperIntelligence provides her with critical business information in bite-sized
chunks to support the thousands of decisions she makes every day.
To learn more about empowering your organization with fast answers, take the
11.001: Zero-Click Analysis: MicroStrategy HyperIntelligence e-Learning course.
To create a simple report, you typically place at least one attribute, one metric,
and a filter on the report. Objects placed on a report determine what data is
gathered from your data source, how that data is calculated, and how the results
are displayed when each report is run.
Example of a simple report, with one attribute and one metric
When you are designing a report, an attribute is displayed with this icon: .
• Filters: A filter sifts the data in your data source to bring back the information
that answers exactly what you require.
Not all of these components are required, but the data returned is often more
meaningful when you use them.
You place the attributes, metrics, and filters into a report template. A report
template containing objects specifies what information to retrieve from your data
warehouse and how this information is displayed in the report results.
When a report is executed, you see a formatted collection of all of the data
associated with the objects (the attributes and metrics) specified on the template
that have satisfied the filtering conditions of the report filter and any prompts the
user answered. For example, a report can show you a list of stores in a specific
region, the price and volume of stock for a given period of time, or other
important information. You can change the report’s formatting details to suit your
requirements and preferences.
Formatted simple report
a report. Metrics are similar to formulas in spreadsheet software. The metric in the
following report is Profit.
Metrics Example
Most of the decisions you make about the other objects to include on a report
depend on the metrics you use on the report. Questions such as “What were the
sales for the eastern region during the fourth quarter?” or “Are inventory counts
being consistently replenished at the beginning of each week?” can easily be
answered by metrics.
knowing where and when the sales took place provides the kind of analytical
depth users require on a daily basis.
Attributes Example
In the example above, the report contains the Region and Call Center attributes,
as well as a Profit metric. When executed, the report displays your company’s
profit for each geographical region, broken down further based on call center
locations. Because of the attributes on the report, a substantial amount of
information is available, including which regions produced the lowest profit and
which call centers saw the highest profit. If you remove the attributes from the
report, you can only find out how much profit the company made in total. An
attribute on a report serves as a label for specifically calculated metric values.
As you can see in the image above, when you place attributes on a report, you
should choose attributes that make sense together when they are on the same
report.
Attribute elements
The elements of a business attribute are the unique values for that attribute. For
example, 2015 and 2016 are elements of the Year attribute, while New York and
London are elements of the City attribute. On a report, attributes are chosen to
build the report, but once the report is executed, the attribute’s elements are
displayed in the rows or columns.
Attribute forms
Attribute forms are additional descriptive information about a business attribute.
Attribute forms are mapped to columns in your data source. The ID column in
your data source provides a unique identifier for each attribute element, and the
Description column provides the name of each attribute element. In
MicroStrategy, only the IDs are used to identify the datasets to find corresponding
parent-child relationships for calculation purposes. The ID and the Description are
both attribute forms.
But an attribute can have many other forms. For example, the attribute Customer
has the forms ID, Last Name, First Name, Address, and Email, as shown below. A
form is a descriptive category for any data your organization saves about any of its
attributes.
Attribute Forms Example
Report designers and project designers can decide which form of an attribute to
display on a report. For example, in some circumstances, displaying the attribute’s
ID is more useful for certain users, such as a project designer. For most users,
displaying the Description form of an attribute is more useful. However, as you
can see with the example of the Customer attribute above, displaying several
attribute forms might be most useful, depending on user needs.
Another way to ask this question is, at what level is the Revenue metric
calculated? Is it calculated at the higher-level Year attribute or the lower-level
The example above shows a hierarchy of all the attributes that relate to the
business concept of Time. (These attributes and this Time hierarchy are part of the
sample Tutorial project.) The attribute Year is higher than Quarter, Month, or Day,
because it appears above those other attributes. The highest level attribute is
usually the attribute that reflects the most-inclusive business concept. In this
hierarchy, Day is the lowest-level attribute and reflects the least-inclusive or most
granular business concept.
become part of the Geography hierarchy. An example using sample data from the
Tutorial project is shown below:
Geography Hierarchy
For example, refer to the Geography hierarchy shown above. A report displays
profit values for the Region attribute, as shown below:
Regional Revenue Report
From Region, you can drill up to Country, to display revenue values for each
country.
Revenue Report by Country
To drill, you right-click an attribute element or attribute header, and select the
destination. For example, to drill from Region to Country, right-click Region, point
to Drill, and select Country.
Drilling from Region to Country
If the Drill option is not available on the right-click menu, the report designer has
disabled the function on the report. A report designer can also restrict the drilling
destinations.
You can also drill across to another hierarchy. From Region, you can drill across to
Category, in the Products hierarchy.
Revenue Report by Category
1 In the Shared Reports folder, click the Subject Areas folder, then the
Enterprise Performance Management folder.
2 Click the Regional Profit and Margins report to open it. The report should
look like this:
3 Locate the attributes in the report. Attributes can reside in both rows and
columns. In this report, the Region and Call Center attributes are displayed in
the rows, while the Year attribute is shown in the columns.
4 Locate the metrics in the report. Metrics can reside in both rows and columns.
This report’s metrics, which are all displayed in the columns, are Profit and
Profit Margin. The metrics are repeated for each year, but calculate different
values.
a If the All Objects pane is not displayed on the left, click the All Objects tab
at the bottom of the left pane. The All Objects pane displays all the objects
in the project, instead of just the objects in the report.
c Select and drag Country onto the report grid; drop the attribute when the
yellow positioning line is displayed vertically at the far left edge of the
Region rows, as shown below:
a In the All Objects pane on the left, click the Up One Level icon , to
return to the Attributes folder.
c Select and drag Quarter to the columns in the grid report, below Year. A
yellow object positioning line displays horizontally, as shown in the
example below:
a In the All Objects pane, select Metrics from the drop-down list.
c Select and drag Revenue to the right of Profit in the report grid, as shown
in the image below.
Your report should look like the following. Notice that only one year of data is
displayed. At the top right of the report, the number of rows and columns are
provided. Only 10 of the 36 columns are displayed. To view additional
columns not visible on the right side of the report, click the More Columns
icon .
How much revenue did Boston generate in the third quarter of 2015?
2 In the Save As window, from the Save In drop-down list, select My Reports.
3 In the Name box, type Yearly Regional Profit and Revenue, then click OK.
View the report as a grid, a graph, and both a grid and a graph
1 The report originally displayed as a grid, but you can view it as a graph instead.
On the toolbar, click the Graph icon. Your report should look like the
following. Notice that this graph includes two quarters of data for six call
centers. For more quarters and call centers, display other pages and data
columns.
Q: Which region on this page of the graph has the lowest profit? Highest profit?
Use a graph report to more easily recognize overall trends in your data than a
grid report. Use a grid report to view very detail of the data, instead of trends.
2 View the report as both a grid and a graph at the same time. Click the Grid
And Graph icon on the toolbar. Your report should like this:
1 In the Call Center column of the grid report, drill down into details of the data
by clicking the attribute element Milwaukee. Along with the change in the
grid report data, the graph display of the data automatically updates based on
your selection. Your report should like this, displaying data for the employees
in the Milwaukee call center:
The drill action is displayed in the file path at the top of the interface. You have
drilled from the Regional Profit and Margins report down to Employee.
2 Return to the original report results by clicking the Back icon in the file path.
3 Click the Grid icon to return to the grid view of the report.
4 To view the report for all employees, not just those in the Milwaukee call
center, right-click the Call Center header, point to Drill, and select Employee.
5 You can drill on multiple attribute elements, such as multiple call centers.
Press CTRL while clicking Fargo and Washington, DC. Right-click the
selections, point to Drill, and select Distribution Center.
The resulting report displays information for the distribution centers for the
selected call centers.
Q: Which Fargo or Washington, DC employee had the highest profit in the first
quarter of 2014?
6 Close this report to prepare for the next exercise. Click My Reports in the file
path at the top of the interface.
• Pivot the report data. Move the Quarter attribute to the columns. Swap the
rows and columns to move the Call Center attribute to the columns and the
Quarter attribute to the rows.
Pivoting lets you rearrange the columns and rows in a report so that you can
view data from different perspectives. You can move an object from a row to a
column, a column to a row, and change the order of objects in rows or
columns.
All metrics are kept together, so they are moved as a group when you pivot
data. For a graph report, you cannot move one metric to a row and another to
a column. For graph reports, metrics must all be together on only one axis. To
pivot metric data, select Metric in the header to move all the metrics together.
Page-by turns a long report into a set of individual pages, allowing you to
focus on one page (or subset of data) at a time. Page-by makes viewing a large
report easier than scrolling through long lists of data. You can page by
attributes; each page of the report will contain data for one attribute element
(each city, for example). You can also select the report’s metrics, as a group
(not individual metrics); each page of the report will contain data for one
metric.
• Drill on the entire report from the Quarter attribute to the Subcategory
attribute.
Drilling allows you to view the report at another level of detail.
3 Click the report named Revenue, Costs, and Units Sold by Call Center to run
it. (The report sample shown below displays only a portion of the report.)
1 Right-click the Quarter row header, point to Move, and select To Columns.
3 On the Data toolbar, click the Swap Rows and Columns icon .
The Call Center attribute is moved to the columns, and the Quarter attribute
to the rows. Note that the metrics do not move in the swap; they are still
displayed in the columns.
4 Swap the rows and columns again, so that Call Center is returned to the rows
and Quarter to the columns.
1 Right-click the Call Center column header, point to Move, and select To
Page-by Axis.
The report should look like the following report sample. Notice the Page-By
pane, which now displays Call Center. Atlanta is selected, but you can display
another call center by selecting it from the drop-down list. Notice that the
metric values are the same as those listed for Atlanta in the previous report
samples.
1 Right-click the Quarter row header, point to Drill, point to Products, and
select Subcategory.
The resulting report is shown below. The quarters displayed previously on the
column headers have been replaced by subcategories.
2 In the Format: Template window, confirm that the first drop-down list shows
Revenue and the second drop-down list shows Values.
These lists allow you to format different areas of the report. Click the first list,
to view your options. Each object in the report is listed, as well as different
areas such as grid borders, grid cells, and all metrics. Keep the selection at
Revenue. Click the second list, to view your options. For a metric, you can
format the header, the values, or all. For other objects, you can also format
subtotal values or names. Do not change the selection from Values.
4 From the Fill Color palette, select Grey-25%, then click OK.
Notice that the column of Revenue values has a grey background, but the
headers are still blue. If you want to change the Metric headers, select
Revenue and Header in the Format toolbar, click the Fill Color icon, and select
Grey-25%, as shown below:
2 Save the report in the My Reports folder, named Revenue, Costs, and Units
Sold by Call Center and Subcategory.
Overview
You can create a report in MicroStrategy Web using any of these methods:
You use the Report Editor to create a new report or modify an existing report. The
Report Editor displays the report as it will be seen by the user and includes
toolbars, menus, and panels that allow you to change how the report is displayed.
A new report automatically opens in Design Mode of the Report Editor. Design
Mode allows you to create or edit the report’s template and definition. A report’s
definition is the definitions of all the objects that are included on the report when
the report is designed, as well as any formatting applied to the report.
Report Editor: Design Mode
These are the panes of the Report Editor that you use most frequently when you
start creating reports:
• All Objects pane: Lets you search for and select objects within the project, to
add them to the report.
• Report Objects pane: Displays all objects included in the report, even if the
object is not displayed on the report’s grid or graph.
From the accordion list on the bottom left, select the pane to display. In the
image above, the All Objects pane is displayed to allow you to select objects
to add to the report. Since no objects have been added to the report yet (the
Template pane is blank), the Report Objects pane will also be blank.
• Report Filter pane: Use to add filtering conditions to a report. Simple filters
can be conveniently created by dragging and dropping objects from the All
Objects pane into this pane to create a filter for the report data.
• View filter pane: Lets users apply a filter on-the-fly to any attribute or metric
on the report. A view filter is applied to the executed report. Since the report
does not have to be re-executed against the data source, view filters can help
If you are familiar with SQL, view filters do not modify the SQL for the report like
normal report filters do. Instead, view filters are applied to the overall result set
after the SQL is executed and results are returned from the data source.
• Page-By pane: Use to create separate pages, or subsets of your report results.
Drag and drop objects from the All Objects pane into this pane to create
pages.
• Template pane: Allows you to define your report layout by dragging and
dropping objects from the All Objects pane onto this report template pane.
Reports can be executed and viewed in the Report Editor or in other applications.
• Using one of the pre-designed reports that come out of the box with
MicroStrategy
You did this when you opened the Regional Profit and Margins report in
Exercise 2.1: Report basics.
You did this in Exercise 2.1: Report basics when you added attributes and
metrics to the Regional Profit and Margins report, and then saved it as Yearly
Regional Profit and Revenue.
• Subject Areas: Contains reports that cover various topics such as customer
analysis, enterprise performance management, human resources analysis,
inventory and supply chain analysis, sales and profitability analysis, and
supplier analysis.
The templates let you create a new report quickly because the template already
contains common objects and basic filters. When you create any new report, you
can start with an existing template, which will shorten the time it takes to
produce the finished report. You just select which objects to display on the report,
and in what order. You can then customize the report, by adding subtotals,
filtering the data, and formatting the report.
In the MicroStrategy Tutorial project, you will find several report templates to
choose from.
Report Templates
The final report should look like the following. (Only two regions of the report are
provided in this sample.)
Employee Revenue by Region Report
1 On any folder page in the Tutorial project, click Create, point to New Report,
and then select Employee Analysis.
An empty report template is displayed, with drop zones showing you where
to drag and drop objects. Notice that the Report Objects pane is displayed,
listing only those objects containing employee information.
2 In the Report Objects pane on the left, double-click Region to add it to the
rows of the report.
• Attributes are automatically added to the rows of a report, although you can
drag and drop them onto the columns.
4 In the Report Objects pane on the left, double-click Revenue to add it to the
columns of the report.
• Metrics are automatically added to the columns of a report, although you can
drag and drop them onto the rows.
6 You decide that Profit is not really relevant to your employee analysis, so you
want to remove it. Drag the Profit metric from the report template to the
Report Objects pane.
8 In the Save As window, from the Save In drop-down list, select My Reports.
9 In the Name box, type Employee Revenue by Region, then click OK.
Check your results against the report sample at the beginning of the exercise. The
two reports are not quite the same. A sample of the current results is displayed
below:
• Displays the name of each region and each manager only once
• Displays the manager’s last name, but not the first name
You can merge any row headers that are repeated. All headers displaying the
same value are automatically merged into one header. In this report, the regions
and managers are repeated, but we want to see each region and each manager
displayed once.
You can also merge repeated column headers. For example, if multiple metrics are
related to revenue, you can merge their column headers into a single header. In
our report, the Revenue and Units Sold metrics are different, so merging column
headers would not be helpful.
2 On the General tab of the Report Options window, select the Merge check
box under Rows.
3 Click OK.
Add and remove attribute forms (manager first name and employee ID)
The manager first name and last name are forms of the Manager attribute.
Similarly, the ID is a form of the Employee attribute. Recall that attribute forms
provide additional descriptions for a business attribute.
4 Right-click Manager in the report and point to Attribute Forms. The attribute
forms for the selected attribute are displayed. Selected forms are displayed on
the report.
Add Employee ID
8 In the Confirm Save window, click No, because we want to save this version of
the report with a different name.
9 In the Save As window, from the Save In drop-down list, select My Reports.
10 In the Name box, type Regional Employee Report, then click OK.
2 On the General tab of the Report Options window, select the Remove extra
column check box, in the View area.
3 Click OK.
The report should now look like the report sample provided at the beginning of
this exercise.
For example, if you create a report with just one attribute, such as Customer, and
run the report, it returns a list of all the attribute elements for that attribute. In this
case, you see a list of names for every customer who has done business with your
company and is in your data source. Likewise, if you add just one metric to an
otherwise blank report, you see one amount—all revenue data for all time, for all
regions.
If you add a metric and an attribute to the same report, such as the Customer
attribute and the Revenue metric, the report data begins to become useful
because you can view what revenue each customer brought to your stores.
However, for most organizations, this is still a prohibitively large report.
If you add a report filter to the report, you can limit the data to a specific area of
interest. For example, you can define a specific geographic region by adding the
Region and Year attribute to the report. Then you can add a filter to see only your
most profitable Northeast region customers. The resulting report can display
those customers in your Northeast region who brought in the most revenue.
We will use the Blank Report as a starting point, and add the following objects to
the template: Region, Subcategory, Profit, and Profit Margin. Add the East Region
filter.
The result should look like the following. Although only Mid-Atlantic is shown,
note that the Report Details pane indicates the regions included in the filter and
therefore the report.
Profit for Subcategories in Eastern Regions
1. On any folder page in the Tutorial project, click Create, point to New Report,
and then select Blank Report.
An empty report template is displayed, with drop zones showing you where
to drag and drop objects.
To find the attribute, in the All Objects pane, click the Up One Level icon , and
then click Products.
At the top of the All Objects pane, select Metrics from the drop-down list. In the
Search For box, type Profit, then click the Search icon . Double-click Profit
and then Profit Margin to add them to the columns of the template. (Metrics are
automatically added to the columns.)
5 At the top of the All Objects pane, select MicroStrategy Tutorial from the
drop-down list.
6 In the Search For box, type East Region (which is the name of the filter) and
click the Search icon .
7 Drag East Region from the All Objects pane and drop it into the Report Filter
pane.
8 Click the Save icon . Name the report Profit for Subcategories in Eastern
Regions and save it in the My Reports folder.
Check your results against the report sample at the beginning of the exercise.
Only the following regions should be displayed:
• Mid-Atlantic
• Northeast
• Southeast
• South
Overview
Now that you have created reports using existing objects, create your own
filtering objects to add to reports:
• Filter: Specifies conditions that data must meet to be included in the report
results. For example, a report containing employee data can be filtered to
display only the Northeast region.
• Prompt: Asks the user, when a report is run, to provide an answer. Prompts are
often used in filters. For example, the employee data report can prompt you to
select which region to display.
of that data, so reports show you what you really need to see. You can filter
attributes or metric values, as shown in the examples below.
Filter Examples
If you are familiar with SQL syntax, it may help to know that a filter is equivalent to the
WHERE clause in a SQL statement.
Best Applying filters to reports allows you to reuse the same report with different filters
Practice to achieve different results, tailored to a specific scenario or business question to
be answered. 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 to retrieve the desired data.
• Report filters: Are used in the SQL that is generated to retrieve the report
results from the data source. Report filters can use any object in the project,
whether or not it is part of the report.
• View filters: Are applied to the report results after the SQL is executed and the
results are returned from the data source. View filters do not modify what data
is retrieved from the data source. This can help improve report execution
performance. A view filter is created on the fly in a report, based only on those
objects that exist in the Report Objects pane.
Best The advantage of using both report filters and view filters on a report is that the
Practice report can use the report filter to bring back more data than can usefully be
displayed at any one time. An analyst can then use a view filter to change which
data is displayed. A view filter does not trigger re-execution against the data
source. This capability translates to improved response time and decreased
database load.
Filters are most commonly used on reports, to filter all the data the report would
otherwise retrieve from the data source and display to users. However, filters can also
be used with a specific object on a report, such as on a metric. A filter placed on a
metric only filters data related to that metric. This type of metric is called a conditional
metric. The metric is filtered by the attached filter, no matter what report the metric is
placed on. Conditional metrics are taught in the 11.414 Designing Metrics for the
Intelligent Enterprise class.
the report filter, it is not included in the report template—the attribute is not
displayed on the grid, and it is not available in the Report Objects pane.
Report Filter Based on Categories
The Report Details pane displays the definition of a report, that is, all the objects
being used for a report, including any filters and the details of those filters. You
can open and close the Report Details pane by selecting Report Details from the
Tools menu.
The following image shows the previous report with its report filter, and now with
a view filter added. The view filter has a condition of Region=Mid-Atlantic,
Northeast, and Southeast. As you can see, the Region attribute is in the Report
Objects pane (and on the report template), and only data for the selected regions
displays in the report view, even though data for the other regions was retrieved
from the data source.
View Filter Based on Region
View filters
Once a report is displayed, you can narrow its results by creating a view filter and
applying it to the report. The view filter restricts data based only on the report
results already displayed on the screen.
View filters are created within a report, based only on the objects in the Report
Best
Practice
Objects pane. A view filter dynamically limits the data being displayed on a report
without re-executing the report against the data source. This feature allows
analysts to create multiple reports out of a larger parent report, without stressing
the system or your data source. This can help improve report execution
performance. It also allows different users to access the same report cache but see
different data according to their needs.
The View Filter pane allows you to create conditions for the view filter. A condition
defines what the data must meet to be included on the report. The View Filter
pane also displays the view filter conditions that are applied to your report.
View Filter Pane
Notice that the Auto-Apply Changes check box is selected. This means that as
soon as you create a view filter condition, the report is updated. If you add
another condition or delete one, the data is updated again.
You can instead control when the update occurs. Applying a number of filter
changes all at once can be helpful when your report contains large amounts of
data, so that you update the data once, after all the changes are made. Updating
the data repeatedly takes longer than updating it once.
If you are familiar with SQL, it may help to know that view filters do not modify the
SQL for the report like report filters do. Instead, view filters are applied to the overall
result set after the SQL is executed and results are returned from the data source.
Note: These reports use dates, and the dates available in MicroStrategy Tutorial
may have changed from those displayed in the report samples. The metric values
should remain the same.
2 Click Subject Areas, then Sales and Profitability Analysis, and click the
report named Revenue and Profit Trends by Region, Category, and
Quarter to run it.
3 Drag Region from the Page-by pane to the left of Category on the report grid.
Removing the page-by is not a requirement for creating a view filter. In this
example, it provides another attribute on the report grid, and allows us to focus on
how view filters affect the report results.
4 The resulting report looks like the following. Notice that the report filter and
page-by are both blank now. The report contains 338 rows. Take note of the
profit value for Central, Movies, 2015 Q4, which is $2,370. This will help us
monitor if and how metric values change when we create and apply the view
filter.
1 From the Tools menu, select View Filter, to open the View Filter pane.
• The elements of an attribute are the unique values for that attribute. In this
case, the attribute is Category, and its elements are Books, Electronics, Movies,
and Music.
• Instead of creating a list, you can create a qualification, which compares the
attribute to a specific value. You will create a qualification using a metric later
in this exercise.
5 Click Apply. The view filter is applied to the report data, and only data for the
Movies and Music categories is included on the report. The View Filter pane
now displays the condition that you created.
The number of rows has decreased from 338 to 178, but the data values have
not changed.
• The number of rows has decreased because only half the categories are
now included on the report.
• The calculations are not affected by the view filter; the view filter affects
what data is displayed. For example, the profit value for Central, Movies,
2015 Q4 is $2,370, the same as in the unfiltered report.
6 You want to further focus your analysis, to identify categories with a low profit.
Click Add Condition in the View Filter pane.
10 Click Apply. The view filter is applied to the report data, and only data for the
Movies and Music categories that have profit values below $3000 is included
on the report. The View Filter pane now displays both conditions that you
created.
The number of rows has decreased from 178 to 132, but the data values have
not changed.
• The number of rows decreases because the quarters that have more than
$3000 profit are no longer displayed on the report. For example, the row
for Central, Movies, 2015 Q1 is no longer displayed (its profit was $4,083).
• Since the view filter affects what data is displayed, the calculations are not
affected by the view filter. The profit value for Central, Movies, 2015 Q4 is
$2,370, the same as in the previous reports.
1 Save the report in the My Reports folder as View Filter, and close the report.
Report filters
You can create a report filter:
• When you create the report, dynamically. One of the differences between this
type of report filter and a view filter is that you can use any object in your data
source, whereas a view filter uses only those objects on the report. When you
create a report filter this way, it is saved within the report and cannot be used
on other reports.
In Design Mode, a dynamic report filter displays the filter definition, while a
stand-alone filter displays its name. In the example below, the stand-alone filter is
named Movies & Music, while the dynamic report filter uses the Subcategory
attribute in its definition.
Filter types
A filter is composed of at least one qualification. A qualification defines the
condition that the data must meet to be included in a report, for example,
“Region = Northeast” or “Revenue > $1 million”.
Filter based on attribute Attribute element list Region In List North, South, and
elements, such as North, South, qualification West
and West for Region attribute
Set Qualification: Create a subset of attributes, generated dynamically based on the metrics
associated with those attributes or the relationships between those attributes.
Filter based on the results from Shortcut-to-a-report The intersection of the 1/1/2015
an existing report, with qualification Active Customers report and 12/
additional qualifications, if 31/2015 Active Customers report
needed to display continuing customers
• AND operator: The object must meet both qualifications to be included in the
report. This is the default operator.
in 2014. Revenue values calculated for 2014 in the Southeast region are not
included, and no 2013 values are included in the report results.
AND operator
• OR NOT operator: The object must not meet the second qualification (the
qualification following the operator) to be included in the report.
In the following Venn diagram, the OR NOT operator is represented by the
yellow area—all revenue values are included in the results, except for those
generated in the Northeast for any year except 2014. Revenue values for 2011
in the Southeast region are included, for example.
OR NOT Operator
• AND NOT operator: The object must meet the first qualification (the
qualification before the operator) and not meet the second qualification to be
included in the report.
In the following Venn diagram, the AND NOT operator is represented by the
yellow crescent—all 2014 revenue values, except for those generated in the
Northeast, are included. Revenue values for 2011 in the Southeast region are
not included, while those for 2014 in the Southeast are.
AND NOT Operator
1 Edit the View Filter report that you created in the previous exercise. To edit a
report, hover your cursor over the report name and click Edit. The report
opens in Design Mode.
1 If the Report Filter pane is not displayed, click the Filter icon in the toolbar.
2 Click All Objects in the accordion pane on the left, to choose objects that are
not in the report.
4 Drag Subcategory from the All Objects pane to the Report Filter pane.
Instead of creating an attribute form qualification, you can select a list of attribute
elements to include in or exclude from the report.
6 The first drop-down list contains the attribute forms of the selected attribute.
Select DESC, to filter on the attribute’s description.
The forms are additional descriptive information about an attribute. In this case,
the Subcategory attribute’s forms are ID and DESC.
8 In the box, type Action, the value to compare the Subcategory description to.
9 Click Apply.
10 Click the Run Report icon in the toolbar. The view filter and report filter
conditions are both displayed in the Report Details pane.
Before you applied the report filter, the report had 132 rows, and the profit
value for Central, Movies, 2015 Q4 was $2,370. After you applied the report
filter:
• The number of rows has decreased to 98, because the Action subcategory
is available only for the Movies category. The rows for Music are no longer
displayed on the report.
• The profit value for Central, Movies, 2015 Q4 is now $346, because it
contains profits only from Action movies, not Comedy, Drama, and so on.
A report filter can affect the calculations, while a view filter does not.
11 Save the report as View Filter + Report Filter, in the My Reports folder.
Change the Description as well as the report Name. Because the report filter
uses an object that is not included in the report, it is important to document
how the report’s calculations are affected, for other users. If the Report Details
pane is not displayed, another user may not realize that only Action movies
are included, not all the movie subcategories.
• Report with the Region attribute and Revenue metric, filtered by the revenue
filter
Finally, we will replace the revenue filter in the report with the item and
shortcut-to-a-report filters.
1 From a page in MicroStrategy Web, select Create, then select New Filter.
2 On the New Filter page, in the pane on the left, click Metrics.
4 Drag the Revenue metric to the filter definition pane on the right.
1 From a page in MicroStrategy Web, click Create, and select New Filter.
2 On the New Filter page, in the pane on the left, click Hierarchies, and then
click the Products hierarchy.
4 Click Business to view its child attributes (any attributes below it in the
hierarchy).
6 Select Jump Start Your Brain and The Joy of Work, then drag them both to
the filter definition pane on the right. You have started creating an attribute
element list qualification.
7 In the pane on the left, click the Up One Level icon twice to return to the
list of attribute elements for the Subcategory attribute.
9 Select Nutrition 101 and Pilates: The Way Forward and drag them to the
filter definition pane. The items are added to the list.
10 Click the Up One Level icon twice to return to the list of subcategories.
12 Select Nanotechnology and Being Digital, and drag them to the filter
definition pane. You should now have six items listed in your qualification in
the filter definition pane.
1 From a page in MicroStrategy Web, click Create, and select New Filter.
2 On the New Filter page, in the pane on the left, type Revenue, Costs, and
Units Sold in the Search box, then click the Search icon .
3 Drag the Revenue, Costs, and Units Sold by Call Center report from the list
of found objects to the filter definition pane.
4 Save the filter in the My Reports folder as Shortcut to Call Center Report.
1 From a page in MicroStrategy Web, select Create, select New Report, then
select Blank Report.
2 In the All Objects pane on the left, click Attributes, and then click the
Geography folder.
3 Drag the Region attribute to the rows of the template definition pane.
4 In the All Objects pane, select Metrics from the drop-down list.
6 Drag the Revenue metric to the metrics drop zone of the template definition
pane.
7 In the All Objects pane, select My Personal Objects from the drop-down list.
9 Drag the Revenue > $5,000,000 filter to the Report Filter definition pane.
If the Report Filter pane is not displayed, click the Filter icon on the
toolbar.
10 In the toolbar, click the Run Report icon . The report should look like the
following:
2 In the Report Filter definition pane, delete the Revenue > $5,000,000 filter by
clicking the X next to its name.
5 Drag both the List of Items and Shortcut to Call Center Report filters to the
Report Filter definition pane. Notice that the two filters are joined by the AND
operator, by default. Objects have to meet both filters to be included in the
report.
6 In the toolbar, click Run Report. Compare your results to the expected report
results shown below:
Q: What is the revenue amount for Central? Why is that value different from the
revenue amount in the previous report?
A: This report calculates revenue only for the items in the filter’s list. The previous
report calculated revenue for all items.
Q: Why are there seven rows on this report, but only three in the previous report?
A: This report returns all the regions in the Revenue, Costs, and Units Sold by Call
Center report (only the Web region is not included in that report). The previous
report returned only the regions with revenue over $5 million.
7 Save the report in the My Reports folder as Report Filter: Item List and
Shortcut.
9 In the Report Filter definition pane, click the AND operator between the two
filters, and select OR. Now, objects have to meet only one of the filters to be
included in the report.
10 In the toolbar, click Run Report. Compare your results to the expected report
results shown below:
Q: Why are there eight rows on this report, but only seven in the previous report?
A: The report contains all eight regions in the project, because Web is now
displayed. The Web region had sales of the selected items, so it is included in the
report even though it is not included in the report shortcut. A region has to satisfy
only one of the filters to be included in this report.
11 Save the report in the My Reports folder as Report Filter: Item List or
Shortcut.
For example, when a user runs a report, he is prompted to select a book supplier
from a list.
Book Supplier Prompt
The next time that the user runs the report, he can answer the prompt with a
different supplier, or the same one.
Best Prompts allow the report designer to create fewer reports, because each analyst
Practice can answer the report’s prompts to identify specific data they want to see in the
final report. Effectively, each user creates his own filter for the report.
The designer presents the question to analysts who execute the report, by placing
a prompt object on the report. A prompt can be placed in the:
• Report filter, to let analysts determine the data that is included in the report.
For example, the following prompt allows the user to select which supplier to
display.
Prompt in Report Filter
• Report template, to let analysts select which objects to include on the report.
These objects can include attributes, metrics, or filters.
Prompt in Report Template
• Page-by, to let analysts select which objects to use to split a long report into a
set of individual pages.
Prompt in Page-by
Prompt types
The correct prompt type to create depends on what report objects you want
users to be able to filter on:
This prompt is the most restrictive of the attribute and hierarchy prompts
because the user has the fewest number of attribute elements from a single
attribute to select answers from.
Are guided through creating a qualification to filter on an attribute form.
Attribute Qualification Prompt (Qualification)
This prompt is less restrictive than the attribute element list prompt, because
the user can select from multiple attributes. It is more restrictive than the
hierarchy prompt, because the user has fewer attributes to select answers
from.
This prompt lets you give users the largest number of attribute elements to
choose from when they answer the prompt to define their filtering criteria.
Users can select multiple attributes from multiple hierarchies.
A hierarchy is a group of attributes that are conceptually related; for example, the
Time hierarchy might consist of a Year attribute, a Month attribute, and a Day
attribute.
• Value prompts: Are based on a value for any object. Users type a single value
to filter the report data on. The value can be a date, text, or a number,
including Big Decimal numbers.
Value Prompt (Numeric)
A value prompt is usually used in a filter, but a value prompt can also be used
in a metric. The filter or metric is then placed on a report.
• Object prompts: Are based on any object. Users select objects to include in a
report, such as attributes, metrics, or filters. Users can use this prompt to add
more data to a report, or choose from a selection of filters to apply a filter that
is most useful for their analysis purposes.
Object Prompts
The correct prompt type to create also depends on where on and how you want
to add the prompt:
Prompt creation
After selecting the type of prompt, the next step in creating a prompt is defining
the characteristics for your prompt. These characteristics are grouped onto tabs in
MicroStrategy Web’s prompt creation page:
• Definition: Set limits on the amount of content that can be selected in the
prompt.
Allows you to select the object(s) to base the prompt on. For attribute element
list prompts, you can also select the attribute elements to display.
• General: Provide a title and prompt instructions, which are displayed when
the report is run. Determine whether a prompt is required. Define the
minimum/maximum limits. Determine whether personal answers are allowed.
Personal answers allow a user to save prompt answers for the prompt, and
then reuse the answers on any report that uses the prompt. Personal answers
can help reduce the storage space used by multiple saved static reports.
• Style: Define how the prompt will be displayed (style, size, and so on). If you
selected a search object in the Definition tab, select whether to allow users to
use a search box to locate prompt answers. Searching for objects allows users
to quickly locate specific objects to use to answer the prompt.
• Qualification: Choose whether to allow users to select prompt answers,
create a qualification, or select which to use. Define the expression that
qualifies the prompt answer.
• Prompt on the Product hierarchy: Users see all the attributes and attribute
elements in the Product hierarchy.
• Prompt on the Region attribute element list: Users see the entire list of
attribute elements (regions). Answering the prompt is required.
2 Create a report with Item and Revenue, and add the prompts to its report
filter.
3 Run the report, and select the following answers to the prompts:
• Books category
1 On a page in MicroStrategy Web, click Create, point to New Prompt, and then
select Hierarchy Qualification Prompt.
5 On the General tab, type Choose from all attributes in the Products
hierarchy in the Title box.
8 Type Choose from all attributes in the Products hierarchy in the Name box
and click OK.
1 On a page in MicroStrategy Web, click Create, point to New Prompt, and then
select Attribute Element List.
We use an Attribute Element List prompt because we want the user to select an
attribute element from a restricted list of attribute element.
3 Click the Geography folder, select Region in the Available list, and click OK.
4 On the General Tab, type Choose from all elements of Region in the Title
box.
6 Save the prompt as Choose from all elements of Region in the My Objects
folder.
1 On a page in MicroStrategy Web, click Create, point to New Prompt, and then
select Metric Qualification Prompt.
We use a Metric Qualification prompt because we want the user to decide how to
filter on the metric.
4 Click the Sales Metrics folder, select Revenue in the Available list, and click
OK.
5 On the General tab, type Qualify on Revenue metric in the Title box.
2 In the All Objects pane, click My Personal Objects, then click the My Objects
folder.
3 Drag the following three prompts into the Report Filter definition pane:
4 In the All Objects pane, select Attributes from the drop-down list.
6 Drag the Item attribute into the rows of the template definition pane.
7 In the All Objects pane, select Metrics from the drop-down list.
9 Drag the Revenue metric into the columns of the template definition pane.
3 Answer Mid-Atlantic, Northeast, and Southeast for the Region prompt. Notice
that an answer is required.
a In the Available list, hold the CTRL key while selecting Mid-Atlantic,
Northeast, and Southeast, then click the > button to add them to the
Selected list.
4 Create the “Revenue greater than 20,000” metric qualification for the Revenue
prompt:
c Click Value, type 20000 in the Enter Value box, then click OK.
6 Compare your results to the expected results at the beginning of this exercise.
If you do not keep the report prompted, your prompt answers are saved, to create
a static report. The next time that the report is run, the prompt selection page is
not displayed because the saved answers are used to automatically answer the
prompts.
These options allow you to determine which prompts are presented to users when
the report is run. You can choose to display prompts that are part of the report’s
filter (as these are), prompts that have been placed on the report’s template, or
both.
5 Clear the Set the current prompt answers to be the default prompt
answers.
If you select the default prompt answer option, the next time that the report is run,
the prompt selection page is displayed, with your prompt answers as the default.
The user can change the prompt answers.
6 Click OK.
• The metric prompt allows you to choose the Average Revenue metric, the
Units Sold metric, or both.
• The attribute prompt allows you to select any attributes returned by the
“Search for all objects of type Attribute” search.
This search object is already built for you and can be found in the Public
Object\Searches folder. A search object searches for and displays specific
objects when the user executes the report. This allows the prompt to display
the most up-to-date objects in the project.
Create the report and place both object prompts on the report template. When
you run the report, select Units Sold, Category, and Region for the prompt
answers, so the report results look like the following:
Note: This is only a sample of the report results, not the full report.
Save the report as a prompted report, and use the prompt answers as the default
answers. When you run the report again, you are prompted to provide answers,
but are provided with these default answers.
Save the report as a static report. When you run the report again, you are not
prompted, and the last prompt answers are used to define the report.
We use an Object prompt because we want the user to select the metrics to display
on the report.
2 On the Definition tab, select Use a Pre-defined List of Objects, and then click
Add.
5 Add Average Revenue and Units Sold to the Selected list. You may need to
click the arrows to scroll through all the Sales Metrics to find both of these
metrics.
6 Click OK.
7 On the General tab, type Choose from a list of metrics in the Title box.
8 Save the prompt in the My Objects folder as Choose from a list of metrics.
We use an Object prompt because we want the user to select the attributes to
display on the report.
2 On the Definition tab, select Use the Result of a Search Object, then click
Select Search.
3 Select Search for all objects of type Attribute, and click OK.
4 On the General tab, type Choose from a list of attributes in the Title box.
5 Save the prompt in the My Objects folder as Choose from a list of attributes.
2 In the All Objects pane, click My Personal Objects, then click the My Objects
folder.
3 Drag the Choose from a list of metrics prompt into the columns of the
template definition pane.
4 Drag the Choose from a list of attributes prompt into the rows of the
template definition pane.
By default, the order in which you add prompts to a report determines the display
sequence of the prompts when the user runs the report. However, you can change
this order by selecting Prompt Ordering from the Data menu. In the Prompt
Ordering window, use the arrow keys to re-order the prompt objects in the report.
The Prompt Ordering option under the Data menu is only available when a report
has more than one prompt object.
7 For the metrics prompt, in the Available list, select Units Sold, and click > to
move it to the Selected list.
8 For the attributes prompt, move Category and Region to the Selected list.
You can search for Region by typing Region in the Search for box and
clicking the Search icon .
11 Compare your results to the expected report at the beginning of this exercise.
5 Leave the Set the Current Prompt Answers to be the Default Prompt
Answers check box selected.
When this check box is selected, prompt answers selected when the report is run
become the new default prompt answers. When the report runs again, these
answers display as default prompt answers, although the user can change them.
6 Click OK, then select Run newly saved report. Notice that the prompt
answers you selected the last time are displayed as the default answers.
7 Click Run Report. Because you used the same prompt answers, the report is
identical to the first time that you ran it.
You are no longer prompted since you saved the report as a static report. Since the
report runs with your previously saved prompt answers, it is identical to the
previous reports.
Overview
Now that you have created reports using existing objects, create your own
metrics to add calculations to reports:
• Metric: Performs calculations on data stored in your database. The results are
displayed on a report. For example, the revenue metric sums the revenue fact,
while an average revenue metric averages the revenue data.
• Derived metric: Metric created based on data already available in a report.
For example, the employee data report contains a revenue metric and a cost
metric. A derived metric can subtract cost from revenue, to calculate profit.
For example, your data source contains a Cost fact, which represents the cost per
product item. You want to view the cost for each item on a report. To calculate the
cost, create a metric that adds ups (or sums) the Cost fact. The metric definition is
shown below in the Metric Editor, the interface that you use to create metrics.
Sum of Cost Metric
Notice that Sum is selected in the list of functions on the left, and the function is
applied to the Cost fact.
Place the metric on a report with the Item attribute. When you run the report, the
cost is calculated for each item. A portion of the report is shown below.
Sum of Cost for Items
The metric values are not shown as currency, because we did not format the metric or
the report.
The Sum of Cost metric uses a fact, but metrics can be built using attributes or
other metrics as well. For example, the Employee Headcount metric applies the
Count function to the Employee attribute, to count the number of employees.
Employee Headcount Metric
Place the metric on a report with the Region and Call Center attributes. When you
run the report, the Employee Headcount is calculated for each Call Center, as
shown below:
Employee Headcount
If you are familiar with data warehousing concepts, facts reflect data values from your
data source that represent business performance. Facts are MicroStrategy objects
which do not appear on a report.
• Facts are typically numerical.
• Facts are mapped to columns in your schema. The fact object serves as a bridge
between fact values stored in your data source and the metrics that users want to
see on reports.
Sum (Cost)
Place the metric on a report with the Category attribute. The metric calculates the
cost value for each product category.
You can use the same Cost metric on another report, to calculate the cost value
for each region.
The report calculates the cost values for each subcategory. Why doesn’t the report
provide category values? A metric calculates based on the least-inclusive business
concept on the report. In this case, Subcategory is a less inclusive attribute than
Category. The least-inclusive attribute is referred to as the lowest level on the
report. It is also called the report level, since the metrics are calculated at the level
of the attribute on each report. It provides flexibility because you can reuse your
metrics on many different reports.
• A report that contains the Item attribute and your new Cost and Revenue
metrics. Save the report as Item, Cost, Revenue Report, then run it.
The first few rows of the report should look like the following:
1 On any MicroStrategy Web page, click Create and select New Metric.
The Metric Editor opens, in the Function Editor mode. The Function Editor allows
you to quickly and easily create and edit a metric.
Best • Use the Function Editor to create a metric that uses a function. The Function
Practice Editor provides an easier-to-use interface.
2 From the Functions list on the left, click Sum to add it to the metric definition
window. You may need to scroll to find the function in the alphabetical list.
When you select a function, its description is displayed at the bottom of the
Metric Editor. You can click Details to view the syntax and examples for the
function.
a Click the Browse icon next to the Search for a fact, metric or attribute
box.
Check how the metric values are calculated (the level of the metric)
4 Click Show All. Notice that Level is set to Report Level. This allows the metric
to calculate at the level of the lowest attribute on any report that the metric is
placed on.
• Select the attribute level that the metric calculates at, by adding a level.
• Apply offset values such as “four months ago” or “last year”, by adding a
transformation.
Level, condition, and transformation metrics are covered in the 11.414
Designing Metrics for the Intelligent Enterprise course.
This formatting applies to the metric regardless of the report that it is placed
on.
6 In the Format window, select Metric Values from the drop-down list.
You can select different formatting options for metric column headers (the
title of the metric) and metric values (the numbers calculated by the metric
and displayed in the report).
8 Select the Negative Numbers to display in red with no negative sign and no
parentheses.
12 In the Create Folder window, type My Metric Exercises, then click OK.
The MicroStrategy Tutorial project already contains another Cost metric, but it is
saved in a different folder.
1 On any MicroStrategy Web page, click Create and select New Metric.
• Category = Currency
Click Format at the top right of the Metric Editor. In the Format window, select
Metric Values from the drop-down list.
The MicroStrategy Tutorial project already contains another Revenue metric, but it
is saved in a different folder.
1 On any MicroStrategy Web page, click Create, point to New Report, then
select Blank Report.
2 In the All Objects pane on the left, click Attributes, and click the Products
folder.
5 Click the My Objects folder, and then the My Metrics Exercises folder.
6 Drag the Revenue metric to the columns of the template definition pane.
7 Drag the Cost metric to the right of Revenue in the template definition pane.
Your report template should look like the following:
9 Save the report in the My Reports folder as Item, Cost, Revenue Report.
10 Click Run Newly Saved Report. Compare your results to the expected report
at the beginning of this exercise.
Sum(Cost) + Sum(Profit)
where Cost and Profit are metrics. The addition operator (+) between the two
metrics makes this a compound metric. The metric formula of a simple metric is
made up of a mathematical function and the business facts stored in your data
source. For a compound metric, the formula contains other metrics as well.
If you are familiar with function types, a metric that uses a non-group function
such as an OLAP function or a scalar function is also a compound metric. The
following example shows a compound metric that uses a non-group function, the
running average:
RunningAvg(Cost)
You create compound metrics using the Formula Editor mode of the Metric Editor.
This mode allows you to view the metric formula, type the metric formula directly,
and create compound metrics.
Smart metrics
One advantage of compound metrics compared to simple metrics is that
compound metrics can use smart totals. A compound metric with smart totals
enabled is often called a smart metric.
Smart totals define the evaluation order for the final calculation. A smart total
calculates subtotals on individual pieces of the compound metric, while a regular
total calculates subtotals by adding all the values for each row of the report. For
example, a smart metric uses the formula Sum (Metric1)/Sum (Metric2)
rather than Sum (Metric1/Metric2).
Sum(Revenue - Cost)/Revenue
• Edit the Profit Margin metric to allow smart totals, and save the metric as
Smart Profit Margin.
• Add the following to the Item, Cost, Revenue Report (created in the previous
exercise):
Category attribute
Profit Margin metric
Smart Profit Margin metric
When you run the new report, the first few rows should look like the following.
Notice that the two profit margin metrics calculate the same values.
1 On any MicroStrategy Web page, click Create and select New Metric.
3 From the Functions list on the left, double-click Sum, to add it to the metric
formula. You may need to scroll to find the function in the alphabetical list.
5 In the metric definition pane, keep the cursor at the end of Revenue but inside
the parenthesis (as shown above). Click the Subtraction icon .
6 In the All Objects area, double-click the Cost metric to add it to the formula.
7 In the metric definition pane, move the cursor to the far right of the metric
definition (outside the parenthesis), then click the Division icon .
8 In the All Objects area, double-click the Revenue metric. The following
formula should display in the metric definition pane:
If a green check mark displays at the bottom of the definition pane, you
defined the metric formula correctly. Otherwise, review the formula and try
again.
a Click Format.
e Click OK.
The MicroStrategy Tutorial project already contains another Profit Margin metric,
but it is saved in a different folder.
6 Save the metric in the My Metrics Exercises folder as Smart Profit Margin.
1 On any MicroStrategy Web page, click the My Reports folder (listed on the left
side).
3 Click the All Objects tab in the accordion at the bottom left.
4 In the All Objects pane, click Hierarchies, then the Products hierarchy.
5 Drag the Category attribute to the left of Item in the template definition
pane.
6 In the All Objects pane, select My Personal Objects from the drop-down list.
8 Drag Profit Margin and Smart Profit Margin to the right of Cost in the
template definition pane.
10 Display the Category values at the top of the row, so that you can view them
easier:
c In the Text Alignment area, from the Vertical drop-down list, select Top.
Notice that you are formatting the values for Category, not the header.
d Click OK.
11 Compare your results to the expected report at the beginning of this exercise.
The Profit Margin and Smart Profit Margin metrics should calculate the same
values for each row.
Display subtotals
13 Display the last page of the report, by clicking the Last icon at the bottom
of the window. Scroll down to the end of the report, to display the music
subtotals and the report’s grand totals.
• Notice that the totals for the Profit Margin metric (the third metric
displayed) are very high, at 501.13% and 4514.57%. It is displaying a sum
of all the metric values. In other words, the metric is calculated for each
row of the report, and then rolled up to the correct level (category or
grand total).
• The totals for the Smart Profit Margin metric (the last metric displayed) are
more reasonable, at 4.62% and 15.11%. This is because smart metrics
calculate subtotals on individual elements of the compound metric. This
means that the smart metric adds all the revenue values together, adds all
the cost values together, subtracts the cost sum from the revenue sum,
and divides that by the revenue sum.
When you define a metric, you can change the default subtotal function, so that
the default subtotal is calculated with a different function, such as average or
count.
Total = Average Revenue
When you define a metric, you can select which subtotal functions are available
for the metric. Different metrics on the same report can display different
You can also create your own functions to be used with subtotal calculations. For
details on creating your own function, see the MicroStrategy Advanced Reporting
Guide.
Disabling subtotals
You can remove, or disable, a grand total or subtotals for a particular metric. For
example, if the metric counts inventory numbers, subtotals are irrelevant and
should therefore not be displayed on a report.
• To disable all totals, set the default subtotal function to None and clear all the
available subtotals for the metric.
• To disable grand totals but allow users to select subtotals, set the default
subtotal function to None but do not clear available subtotals.
• Average
• Maximum
• Standard Deviation
• Item attribute
• Revenue metric
4 In the Advanced Metric Options window, click Subtotals in the list of options
on the left.
5 When you display totals in a report, this metric uses the Sum function,
because Sum is selected by default. While you can select a different function,
such as average or count, for this metric, we are going to disable the default
subtotal. This means that the metric does not display totals when you display
totals in a report.
6 You can select the subtotals that are available for this metric. Expand the
Select the Subtotals You Want Available for this Metric list, then clear all
except the Average, Maximum, and Standard Deviation subtotals.
7 Click OK.
1 On any MicroStrategy Web page, click Create, point to New Report, then
select Blank Report.
2 In the All Objects pane on the left, click Hierarchies, then the Products
hierarchy.
4 In the All Objects pane, select My Personal Objects from the drop-down list.
5 In the All Objects pane, click the My Objects folder, then the My Metrics
Exercises folder.
6 Drag the Revenue metric to the columns in the template definition pane.
7 Drag the Cost - Subtotals metric to the right of Revenue in the template
definition pane.
9 From the Data menu, select Show Totals to display the totals.
10 You cannot see the subtotals, because by default they are displayed at the end
of the report. This report has two pages, so you can either switch to the
second page, or display totals at the top of the report, as described below.
Now the totals are displayed at the top of the report, so that you can easily
view them. Because we disabled all subtotals for the Cost - Subtotals
metric, the total is not calculated. The Revenue metric is totaled using the
Sum function by default.
12 In the Subtotals Editor, on the Definitions tab, in the All Subtotals column,
clear the Total check box. Select the Average, Maximum, and Standard
Deviation check boxes. The Cost - Subtotals metric can be subtotaled using
these functions, because they are the same subtotals that you selected when
you defined the metric.
14 Compare your results to the expected report at the beginning of this exercise.
Subtotals are calculated for both metrics, because the subtotal functions
selected for the report match those selected for the metrics.
15 Save the report in the My Reports folder as Item, Cost, and Revenue with
Subtotals.
Derived metrics are created based on existing metrics in the report. A common
derived metric performs calculations between columns of metric values. For
example, a derived metric can add two metrics on a report together or divide one
by another to obtain a new metric calculation.
© 2020 MicroStrategy, Inc. Building metrics within reports: Derived metrics 159
5 Calculating Data on Reports Introduction to Analytics Reporting
They are an easy way to present data already available on the report in different
ways, providing further analysis of data. Use derived metrics to quickly perform
on-the-fly analyses such as margins, contributions, and differences between
metrics included on the report.
You can use a derived metric only on the report that it is created on. A derived
metric is saved within the report, not as an individual object saved in the project.
Therefore, it cannot be added to other reports. A derived metric is displayed in the
Report Objects of a report using a special icon, . The background is the same as
a regular metric icon, but the fx indicates that it was created within the report as a
derived metric.
If you are familiar with how the MicroStrategy system works, know that since derived
metrics are evaluated in memory, their computation does not require any SQL
execution in the database. For MicroStrategy Web, derived metrics are evaluated on
Intelligence Server.
You can create a derived metric from scratch, or you can use shortcuts to quickly
define a derived metric using rank, percent-to-total, or transformation metric
analysis.
160 Building metrics within reports: Derived metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Calculating Data on Reports 5
The transformation used in the metric subtracts a year from the 2016 report
filter, so that the metric calculates 2015 values. The derived metric is a
shortcut, created from the Revenue metric.
This metric subtracts 2015’s revenue from 2016’s revenue, then divides the
result by 2015’s revenue. This is the growth percentage between the two
years. The derived metric uses the other two metrics on the report.
The Last Year’s (Revenue) metric is a transformation metric. Time transformations are
used to compare metric values at different times, such as this year versus last year or
current date versus month-to-date. The last year transformation, which is used in the
Last Year’s (Revenue) metric, maps each time period to its corresponding time period
last year. In other words, a transformation applies an offset value, in this case, 2016
minus one year. MicroStrategy provides numerous prebuilt transformations to use on
© 2020 MicroStrategy, Inc. Building metrics within reports: Derived metrics 161
5 Calculating Data on Reports Introduction to Analytics Reporting
metrics. For steps to create transformation metrics, take the 11.414 Designing Metrics
for the Intelligent Enterprise class.
1 On any MicroStrategy Web page, click Create, point to New Report, then
select Blank Report.
2 In the All Objects pane, click Hierarchies, then click the Geography hierarchy.
3 Drag Call Center into the rows of the template definition pane.
a In the All Objects pane, click the Up One Level icon . Click the Time
hierarchy, and then the Year attribute.
b Drag 2016 to the Report Filter definition pane. If 2016 is not available,
select a different year. (The years and data are frequently updated in
MicroStrategy Tutorial so 2016 may not be an option in your version.
Selecting a different year can mean that the metric values are different
from the example report.)
Filtering the report by a specific year gives the transformation used in the Last
Year’s (Revenue) metric a date to transform. Without a date, the transformation
metric would calculate all revenue for all years. If you filtered the report by 2017
instead, the Last Year’s (Revenue) metric would calculate revenue values for 2016.
5 In the All Objects pane, select My Personal Objects from the drop-down list.
Click the My Objects folder, and then My Metrics Exercises.
162 Building metrics within reports: Derived metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Calculating Data on Reports 5
d Click OK.
This formatting applies only to the metric as displayed in this report; it does
not apply to any other report that the metric is used on.
The report results should look like the following. The Revenue metric
calculates the revenue for each call center in 2016, according to the report
filter.
© 2020 MicroStrategy, Inc. Building metrics within reports: Derived metrics 163
5 Calculating Data on Reports Introduction to Analytics Reporting
A derived metric is added to the report. It calculates the revenue for last year.
Because the report filter sets the year as 2016, the metric returns 2015 data. By
default, the name of the metric is the type of derived metric that you selected
(Last Year’s) and the metric that you selected to calculate (Revenue). You can
rename the metric if you want to.
164 Building metrics within reports: Derived metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Calculating Data on Reports 5
10 In the Report Objects pane, notice that the Last Year’s (Revenue) metric has a
different icon, although it is similar to the regular metric icon. This indicates
that it is a derived metric, created within the report.
1 In the report, right-click a metric header, point to Insert Metric, and select
New.
It does not matter which metric you right-click. Unlike creating a shortcut metric,
like we did previously, creating a new metric does not base the derived metric on
the selected metric.
3 In the operator toolbar above the metric definition pane on the right, click the
parenthesis to add them to the metric definition.
5 With the cursor still inside the parenthesis, click the subtraction operator
in the operator toolbar.
© 2020 MicroStrategy, Inc. Building metrics within reports: Derived metrics 165
5 Calculating Data on Reports Introduction to Analytics Reporting
6 In the Report Objects folder, double-click Last Year’s Revenue. The metric
definition should look like the following:
7 Move the cursor outside the parentheses, to the far right of the definition. In
the operator toolbar, click the division operator .
8 In the Report Objects folder, double-click Last Year’s Revenue. The metric
definition should look like the following:
Best The parentheses play a crucial role in the order of operations because calculations
Practice in parentheses are performed before other calculations in the metric formula. You
need to divide the difference between Revenue and Last Year’s Revenue by Last
Year’s Revenue. Without parentheses, the division would occur first, producing
incorrect metric values.
9 Click Save.
11 Compare your results to the expected report at the beginning of this exercise.
In the Report Objects pane, notice that the Growth metric is listed with the
derived metric icon .
If you want to check the numbers, you can change the report filter to 2015. The values
in the Revenue column match the values in the Last Year’s Revenue column in the
original report. Why? Because the Revenue metric is now calculating values for 2015
(according to the report filter). Last Year now refers to 2014.
166 Building metrics within reports: Derived metrics © 2020 MicroStrategy, Inc.
6
DELIVERING AND SHARING
REPORTS
Exporting reports
You can export a report to convert it to any of these formats:
• Microsoft Excel
Best
Plain text (recommended for large reports)
Practice
Formatted
• Plain text
Before you export a grid report, you can adjust several export options, including
the following:
• Exporting the whole report or only the portion that is currently displayed
• Include the report filter details (information about the filters on the reports
• Update report data using MicroStrategy Office (must have Office installed)
• Save the current prompt answers to use them for the next export
The History List is a folder where you can store reports and documents.
Besides viewing the results of scheduled reports and documents, you can use
it to keep shortcuts to previously run reports and documents, similar to the
Favorites list available in web browsers.
• An email address
• A printer
• An FTP server
• Your cache
You can schedule deliveries to take place on a regular schedule or when a specific
event occurs. To do this, create a subscription to the report. Subscriptions allow
you to view reports when you need them.
For an exercise to deliver a report to your History List, see Appendix A, Workshop:
Schedule a Report.
• Adding the link in a document. When users view the document, they can click
the link to open a related report.
You can determine which users or user groups have access to an object and what
level of access they have (such as view only, ability to edit, and so on), by editing
the object's access control list (ACL).
• Send the report in the email. Available formats are HTML, Excel, PDF, plain text,
or CSV.
• Send the report in the email and deliver it to the History List.
• Deliver the report to the History List, and send the report and a link in the
email.
• Deliver the report to the History List, and send a link in the email.
Large reports that contain a lot of data can be split into multiple, smaller files. This
is referred to as bursting. Each of the smaller files contains a portion of data based
on the attributes used to group the report in the page-by.
Recall that page-by turns a long report into a set of individual pages, allowing you to
focus on one page (or subset of data) at a time.
• Emailing it to users.
• Copying it and adding it to a document. When users view the document, they
can click the link to run the report.
• A dossier or document. When the link URL is clicked, the object is executed.
• Another object, such as a filter or prompt. When the link URL is clicked, the
object opens in its editor (Filter Editor, Prompt Editor, and so on).
Note: Your administrator must include session information, such as the server
name and port number, in the URL of pages displayed in MicroStrategy Web. This
setting is available to administrators in the MicroStrategy Web Administration
pages.
This workshop teaches you how to compare two sets of users by using reports as
filters to create each set of users, applying Venn diagram analysis. You will build
compound metrics, conditional metrics, filters, prompts, and reports to create the
analysis.
• The first set of customers is created in a report, and are those customers who
made a purchase during the start month. This set is represented by the blue
circle. In the final report, it is the Count of Customers for Start Month metric.
• The second set of customers is also created in a report, and are those
customers who made a purchase during the end month. This set is
© 2020 MicroStrategy, Inc. Analyze customer attrition using conditional metrics 171
A Workshop: Test Yourself on Your Reporting Knowledge Introduction to Analytics Reporting
represented by the red circle. In the final report, it is the Count of Customers
for End Month metric.
• The intersection of the two customer sets is created in a filter, and are those
customers who bought in both the start month and the end month. This set is
represented by the purple intersection of the two circles. In the final report, it
is the Count of Customers who Continue to Buy metric.
• The customers who bought in the start month but did not buy in the end
month are represented by the blue crescent. In the final report, it is the Count
of Customers who Stopped Buying metric.
• The customers who bought in the end month but did not buy in the start
month are represented by the red crescent. In the final report, it is the Count
of New Customers metric.
172 Analyze customer attrition using conditional metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Workshop: Test Yourself on Your Reporting Knowledge A
The final report, containing the various metrics described above, is shown below:
Customer Attrition Analysis Report
These prompts will be used to filter the reports for the start month and the end
month. Effectively, when each user runs the report, he creates his own filter for
the report. Creating two separate prompts ensures that you answer two distinct
prompts when you run the final report based on these objects.
© 2020 MicroStrategy, Inc. Analyze customer attrition using conditional metrics 173
A Workshop: Test Yourself on Your Reporting Knowledge Introduction to Analytics Reporting
Use the Select a Start Month prompt in this report. When a user runs this report,
she selects the end month for the time period. The report retrieves the list of
customers who made a purchase during the start month, represented by the blue
circle below.
The report returns 4936 rows and the first few rows should display as shown
below:
174 Analyze customer attrition using conditional metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Workshop: Test Yourself on Your Reporting Knowledge A
6 Save the report as Customers for Start Month in the My Reports folder. Do
not clear the Keep Report Prompted check box.
Use the Select an End Month prompt in this report; the month selected in the
prompt is the end month for the time period. The report retrieves the list of
customers who made a purchase during the end month, represented by the red
circle below.
This report is almost identical to the Customers for Start Month report that
you created above. However, do not copy and edit the Customers for Start
Month report to define this new report. If you do, the final report will not
display two distinct prompts. Create both reports from scratch.
© 2020 MicroStrategy, Inc. Analyze customer attrition using conditional metrics 175
A Workshop: Test Yourself on Your Reporting Knowledge Introduction to Analytics Reporting
The report returns 4911 rows and the first few rows should display as shown
below:
6 Save the report as Customers for End Month in the My Reports folder. Do
not clear the Keep Report Prompted check box.
The customers returned in the results of the reports that you created above are
used as filters (or conditions) in metrics that you will build later. One conditional
metric will represent the number of customers in the start month and the other
the customer count in the end month.
1 Create a filter that uses the Customers for Start Month report as the filter
definition.
2 Save the filter as Customers for Start Month in the My Reports folder.
176 Analyze customer attrition using conditional metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Workshop: Test Yourself on Your Reporting Knowledge A
3 Create another filter that uses the Customers for End Month report as the
filter definition.
4 Save the filter as Customers for End Month in the My Reports folder.
Create a filter that combines the two shortcut-to-a-report filters that you built
above. You will use this filter as the condition in the Count of Customers who
Continue to Buy metric, because this new filter returns the customers in the
intersection between the starting customers and the ending customers,
represented by the purple oval below.
2 Save the filter as Start and End Month Customers (intersection) in the My
Reports folder.
A conditional metric contains its own filter, meaning a filter is applied to a specific
metric on a report while not affecting any other metrics on the report. Creating
conditional metrics, including explanations of their advanced options, is
presented in detail in the 11.414 Designing Metrics for the Intelligent Enterprise
class, but you can create simple conditional metrics following the detailed steps
below.
Each conditional metric that you create counts customers for a specific time: start
month, end month, and both start and end month.
© 2020 MicroStrategy, Inc. Analyze customer attrition using conditional metrics 177
A Workshop: Test Yourself on Your Reporting Knowledge Introduction to Analytics Reporting
This metric will count all the customers in the project. To define this metric to
count only the customers who made purchases in the start month, add the
filter that identifies those customers.
4 In the Select an Object window, select My Reports from the drop-down list.
6 In the Metric Name box, type Count of Customers for Start Month.
178 Analyze customer attrition using conditional metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Workshop: Test Yourself on Your Reporting Knowledge A
8 Create a conditional metric that counts the number of customers who made
purchases in the end month. Follow the steps in Create a conditional metric to
count customers in the start month, page 178, using:
9 Create a conditional metric that counts the number of customers who made
purchases in both the start month and the end month. In the Venn diagram, it
is the intersection, shown in purple, of the starting and ending customers. This
is why the metric uses the Start and End Month Customers (intersection) filter
that you created as the condition.
Follow the steps in Create a conditional metric to count customers in the start
month, page 178, using:
© 2020 MicroStrategy, Inc. Analyze customer attrition using conditional metrics 179
A Workshop: Test Yourself on Your Reporting Knowledge Introduction to Analytics Reporting
180 Analyze customer attrition using conditional metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Workshop: Test Yourself on Your Reporting Knowledge A
Follow the steps in Create a compound metric to count customers who stopped
buying, page 180, using the metrics shown below:
© 2020 MicroStrategy, Inc. Analyze customer attrition using conditional metrics 181
A Workshop: Test Yourself on Your Reporting Knowledge Introduction to Analytics Reporting
2 Add the metrics that you created to the rows of the grid, in the order shown
below:
3 Run the report with the same prompt answers used in the original reports:
182 Analyze customer attrition using conditional metrics © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Workshop: Test Yourself on Your Reporting Knowledge A
The report results should look like the Customer Attrition Analysis Report,
page 173.
© 2020 MicroStrategy, Inc. Analyze customer attrition using conditional metrics 183
A Workshop: Test Yourself on Your Reporting Knowledge Introduction to Analytics Reporting
184 Analyze customer attrition using conditional metrics © 2020 MicroStrategy, Inc.
B
WORKSHOP: SCHEDULE A REPORT
1 Open the Revenue, Costs, and Units Sold by Call Center and Subcategory
report, saved in your My Reports folder.
© 2020 MicroStrategy, Inc. Deliver a report to your History List on a schedule 185
B Workshop: Schedule a Report Introduction to Analytics Reporting
2 From the Report Home menu, point to Subscribe To, and select History List.
3 In the Subscribe to History List window, select any schedule from the
Schedule drop-down list.
We will delete the subscription, so it is not important which schedule that you
choose.
5 In the Recipients Browser window, add MSTR User to the To List, and click OK.
186 Deliver a report to your History List on a schedule © 2020 MicroStrategy, Inc.
Introduction to Analytics Reporting Workshop: Schedule a Report B
6 Click the Run Subscription Immediately check box. This will allow you to
view the History List update.
7 Click OK.
1 Click the arrow next to the MicroStrategy icon in the top left, and
select History List.
If you want to view the report, click the name of the report. You can also click
any of the icons in the Actions column to export the report, create a PDF, view
details, or rename it in the History List.
1 Click arrow next to the MicroStrategy icon in the top left of the page,
and select My Subscriptions. The My Subscriptions page opens.
© 2020 MicroStrategy, Inc. Deliver a report to your History List on a schedule 187
B Workshop: Schedule a Report Introduction to Analytics Reporting
The History List subscription is displayed, as shown below. If you want to view
the report, you can click its name.
2 Select the Unsubscribe check box for the subscription, then click the
Unsubscribe button above it.
188 Deliver a report to your History List on a schedule © 2020 MicroStrategy, Inc.
Copyright Information
All Contents Copyright © 2020 MicroStrategy Incorporated. All Rights Reserved.
Trademark Information
The following are either trademarks or registered trademarks of MicroStrategy Incorporated or its affiliates in the United States
and certain other countries:
MicroStrategy, MicroStrategy 2020, MicroStrategy 2019, MicroStrategy 11, MicroStrategy 10, MicroStrategy 10 Secure
Enterprise, MicroStrategy 9, MicroStrategy 9s, MicroStrategy Analytics, MicroStrategy Analytics Platform, MicroStrategy
Desktop, MicroStrategy Library, MicroStrategy Operations Manager, MicroStrategy Analytics Enterprise, MicroStrategy
Evaluation Edition, MicroStrategy Secure Enterprise, MicroStrategy Web, MicroStrategy Mobile, MicroStrategy Server,
MicroStrategy Parallel Relational In-Memory Engine (MicroStrategy PRIME), MicroStrategy MultiSource, MicroStrategy OLAP
Services, MicroStrategy Intelligence Server, MicroStrategy Distribution Services, MicroStrategy Report Services, MicroStrategy
Transaction Services, MicroStrategy Visual Insight, MicroStrategy Web Reporter, MicroStrategy Web Analyst, MicroStrategy
Office, MicroStrategy Data Mining Services, MicroStrategy Geospatial Services, MicroStrategy Narrowcast Server,
MicroStrategy Analyst, MicroStrategy Developer, MicroStrategy Web Professional, MicroStrategy Architect, MicroStrategy SDK,
MicroStrategy Command Manager, MicroStrategy Enterprise Manager, MicroStrategy Object Manager, MicroStrategy Integrity
Manager, MicroStrategy System Manager, MicroStrategy Analytics App, MicroStrategy Mobile App, MicroStrategy Tech
Support App, MicroStrategy Mobile App Platform, MicroStrategy Cloud, MicroStrategy R Integration, Dossier, Usher,
MicroStrategy Usher, Usher Badge, Usher Security, Usher Security Server, Usher Mobile, Usher Analytics, Usher Network
Manager, Usher Professional, MicroStrategy Identity, MicroStrategy Badge, MicroStrategy Identity Server, MicroStrategy
Identity Analytics, MicroStrategy Identity Manager, MicroStrategy Communicator, MicroStrategy Services, MicroStrategy
Professional Services, MicroStrategy Consulting, MicroStrategy Customer Services, MicroStrategy Education, MicroStrategy
University, MicroStrategy Managed Services, BI QuickStrike, Mobile QuickStrike, Transaction Services QuickStrike Perennial
Education Pass, MicroStrategy Web Based Training (WBT), MicroStrategy World, Best in Business Intelligence, Pixel Perfect,
Global Delivery Center, Direct Connect, Enterprise Grade Security For Every Business, Build Your Own Business Apps,
Code-Free, Intelligent Enterprise, HyperIntelligence, HyperVoice, HyperVision, HyperMobile, HyperWeb, HyperScreen,
Zero-Click Intelligence, Enterprise Semantic Graph, Information Like Water, The World's Most Comprehensive Analytics
Platform, The World's Most Comprehensive Analytics Platform. Period.
Other product and company names mentioned herein may be the trademarks of their respective owners.
Specifications subject to change without notice. MicroStrategy is not responsible for errors or omissions. MicroStrategy makes
no warranties or commitments concerning the availability of future products or versions that may be planned or under
development.
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.