Академический Документы
Профессиональный Документы
Культура Документы
Course Guide
Version: DYNDASH-901-Jan11
Copyright Information
MicroStrategy, MicroStrategy 6, MicroStrategy 7, MicroStrategy 7i, MicroStrategy 7i Evaluation Edition, MicroStrategy 7i Olap Services, MicroStrategy 8, MicroStrategy 9, MicroStrategy Distribution Services, MicroStrategy MultiSource Option, MicroStrategy Command Manager, MicroStrategy Enterprise Manager, MicroStrategy Object Manager, MicroStrategy Reporting Suite, MicroStrategy Power User, MicroStrategy Analyst, MicroStrategy Consumer, MicroStrategy Email Delivery, MicroStrategy BI Author, MicroStrategy BI Modeler, MicroStrategy Evaluation Edition, MicroStrategy Administrator, MicroStrategy Agent, MicroStrategy Architect, MicroStrategy BI Developer Kit, MicroStrategy Broadcast Server, MicroStrategy Broadcaster, MicroStrategy Broadcaster Server, MicroStrategy Business Intelligence Platform, MicroStrategy Consulting, MicroStrategy CRM Applications, MicroStrategy Customer Analyzer, MicroStrategy Desktop, MicroStrategy Desktop Analyst, MicroStrategy Desktop Designer, MicroStrategy eCRM 7, MicroStrategy Education, MicroStrategy eTrainer, MicroStrategy Executive, MicroStrategy Infocenter, MicroStrategy Intelligence Server, MicroStrategy Intelligence Server Universal Edition, MicroStrategy MDX Adapter, MicroStrategy Narrowcast Server, MicroStrategy Objects, MicroStrategy OLAP Provider, MicroStrategy SDK, MicroStrategy Support, MicroStrategy Telecaster, MicroStrategy Transactor, MicroStrategy Web, MicroStrategy Web Business Analyzer, MicroStrategy World, Alarm, Alarm.com, Alert.com, Angel, Angel.com, Application Development and Sophisticated Analysis, Best In Business Intelligence, Centralized Application Management, Changing The Way Government Looks At Information, DSSArchitect, DSS Broadcaster, DSS Broadcaster Server, DSS Office, DSSServer, DSS Subscriber, DSS Telecaster, DSSWeb, eBroadcaster, eCaster, eStrategy, eTelecaster, Information Like Water,
Insight Is Everything, Intelligence Through Every Phone, Your Telephone Just Got Smarter, Intelligence To Every Decision Maker, Intelligent E-Business, IWAPU, Personal Intelligence Network, Personalized Intelligence Portal, Query Tone, Quickstrike, Rapid Application Development, Strategy.com, Telepath, Telepath Intelligence, Telepath Intelligence (and Design), MicroStrategy Intelligent Cubes, The E-Business Intelligence Platform, The Foundation For Intelligent E-Business, The Integrated Business Intelligence Platform Built For The Enterprise, The Intelligence Company, The Platform For Intelligent E-Business, The Power Of Intelligent eBusiness, The Power Of Intelligent E-Business, The Scalable Business Intelligence Platform Built For The Internet, Industrial-Strength Business Intelligence, Office Intelligence, MicroStrategy Office, MicroStrategy Report Services, MicroStrategy Web MMT, MicroStrategy Web Services, Pixel Perfect, MicroStrategy Mobile, MicroStrategy Integrity Manager and MicroStrategy Data Mining Services are all registered trademarks or trademarks of MicroStrategy Incorporated.
All other products are trademarks of their respective holders. Specifications subject to change without notice. MicroStrategy is not responsible for errors or omissions. MicroStrategy makes no warranties or commitments concerning the availability of future products or versions that may be planned or under development.
Patent Information
This product is patented. One or more of the following patents may apply to the product sold herein: U.S. Patent Nos. 6,154,766, 6,173,310, 6,260,050, 6,263,051, 6,269,393, 6,279,033, 6,501,832, 6,567,796, 6,587,547, 6,606,596, 6,658,093, 6,658,432, 6,662,195, 6,671,715, 6,691,100, 6,694,316, 6,697,808, 6,704,723, 6,707,889, 6,741,980, 6,765,997, 6,768,788, 6,772,137, 6,788,768, 6,792,086, 6,798,867, 6,801,910, 6,820,073, 6,829,334, 6,836,537, 6,850,603, 6,859,798, 6,873,693, 6,885,734, 6,888,929, 6,895,084, 6,940,953, 6,964,012, 6,977,992, 6,996,568, 6,996,569, 7,003,512, 7,010,518, 7,016,480, 7,020,251, 7,039,165, 7,082,422, 7,113,993, 7,181,417, 7,127,403, 7,174,349, 7,194,457, 7,197,461, 7,228,303, 7,260,577, 7,266,181, 7,272,212, 7,302,639, 7,324,942, 7,330,847, 7,340,040, 7,356,758, 7,356,840, 7,415,438, 7,428,302, 7,430,562, 7,440,898, 7,457,397, 7,486,780, 7,509,671, 7,516,181, 7,559,048, 7,574,376, 7,617,201 and 7,725,811. Other patent applications are pending.
How to Contact Us MicroStrategy Education Services 1850 Towers Crescent Plaza Vienna, VA 22182 Phone: 877.232.7168 Fax: 703.848.8602 E-mail: education@microstrategy.com http://www.microstrategy.com/education MicroStrategy Incorporated 1850 Towers Crescent Plaza Vienna, VA 22182 Phone: 703.848.8600 Fax: 703.848.8610 E-mail: info@microstrategy.com http://www.microstrategy.com
TABLE OF CONTENTS
Preface Course Description.................................................................... 11 Who Should Take this Course ............................................... 12 Course Prerequisites ............................................................. 12 Follow-Up Courses ................................................................ 12 Related Certifications............................................................. 12 Course Objectives ................................................................. 13 About the Course Materials ......................................................... 14 Content Descriptions ............................................................. 14 Learning Objectives ............................................................... 14 Lessons ................................................................................. 15 Opportunities for Practice ...................................................... 15 Typographical Standards ....................................................... 15 Other MicroStrategy Courses ...................................................... 18 Core Courses......................................................................... 18
1. Introduction to Dashboards
Lesson Description ................................................................... 19 Lesson Objectives ................................................................. 20 What is a Dashboard? ................................................................. 21 What Is a Dashboard? ........................................................... 21 MicroStrategys Dashboard Classifications............................ 24 Interacting with a Dynamic Visualization Dashboard................... 30 Best Practices in Dashboard Design ........................................... 36 General Design Recommendations ....................................... 36 Design Recommendations for Color in Dashboards.............. 42 Exercise: What Is Wrong with This Dashboard? ......................... 46 Lesson Summary......................................................................... 47
Table Of Contents
Lesson Description ................................................................... 51 Lesson Objectives ................................................................. 52 Dashboard Templates ................................................................. 53 Document Display Modes............................................................ 56 Interactive Mode .................................................................... 58 Flash Mode ............................................................................ 58 Full Screen Mode................................................................... 59 Dynamic Dashboard Layering ..................................................... 63 Panels and Panel Stacks ....................................................... 63 Characteristics of Panels and Panel Stacks .......................... 68 Inserting and Defining Panel Stacks ...................................... 70 Formatting Panels and Panel Stacks..................................... 76 Selectors...................................................................................... 79 What Is a Selector? ............................................................... 79 Switching Panels in a Panel Stack......................................... 80 Selecting Attribute Elements in a Graph ................................ 84 Selecting Metrics in a Grid ..................................................... 87 Selecting Attribute Elements in a Dynamic Text Box............. 90 Selector Styles ....................................................................... 91 Alternative Methods for Inserting Selectors ........................... 94 Selector Defaults ................................................................... 96 Automatically Maintaining Targets for Selectors.................. 104 Selectors as Filters .............................................................. 112 Formatting Selectors............................................................ 116 Analytic-Based Selectors ..................................................... 118 Grouping and Selectors ............................................................. 121 Exercises ................................................................................... 123 Layering Grids in a Panel Stack........................................... 123 Selectors .............................................................................. 132 Analytic-Based Selector....................................................... 142 Lesson Summary....................................................................... 147
Lesson Description ................................................................. 149 Lesson Objectives ............................................................... 150 DHTML Versus Flash ................................................................ 151 DHTML Benefits .................................................................. 151 Flash Benefits ...................................................................... 152 Characteristics of Documents in Flash Mode ...................... 154
Table Of Contents
Advanced Visualizations............................................................ 158 Single-Value Widgets .......................................................... 158 Inserting Widgets ................................................................. 161 Time Series Slider................................................................ 163 Interactive Stacked Graph ................................................... 165 Heat Map ............................................................................. 167 Interactive Bubble Graph ..................................................... 173 Widget Rendering in PDF and Microsoft Excel.................... 176 Flash-Specific Formatting .......................................................... 178 Formatting Widgets.............................................................. 178 Rounded Corners ................................................................ 179 Transition Animations .......................................................... 181 Selector-Specific Flash Formatting ...................................... 182 Exercises ................................................................................... 184 Time Series Slider Widget ................................................... 184 Heat Map Widget ................................................................. 189 Interactive Bubble Graph ..................................................... 196 Optional Exercise: Flash Formatting Properties .................. 202 Lesson Summary....................................................................... 204
Lesson Description ................................................................. 207 Lesson Objectives ............................................................... 208 The Multipanel Dashboard......................................................... 209 Consult Your Target Audience............................................. 209 Gather Related Datasets ..................................................... 210 Devise the Investigative Workflow of the Dashboard........... 211 Build the Dashboard ............................................................ 211 Exercise ..................................................................................... 213 Multipanel Flash Dashboard ................................................ 213 Observations........................................................................ 239 Lesson Summary....................................................................... 240
5. Graphs in Documents
Lesson Description ................................................................. 241 Lesson Objectives ............................................................... 242 Design Recommendations for Graphs....................................... 243 Best Uses for Graph Types ....................................................... 245 Component Comparisons .................................................... 246 Item Comparisons................................................................ 248 Time Series Comparisons.................................................... 250 Frequency Distribution Comparisons................................... 252
Table Of Contents
Correlation Comparisons ..................................................... 253 Summary ............................................................................. 254 Graph Formatting....................................................................... 255 Transparency Effect............................................................. 256 Curved Lines........................................................................ 258 Bevel Effects ........................................................................ 260 Data Tooltips on Graphs ...................................................... 262 Quick Switch and Portal Window ......................................... 264 Additional Formatting Features............................................ 265 Exercise ..................................................................................... 271 Graphs in a Dashboard........................................................ 271 Lesson Summary....................................................................... 282
6. Widgets II
Lesson Description ................................................................. 285 Lesson Objectives ............................................................... 286 Widgets as Selectors ................................................................. 287 Using a Time Series Slider Widget as a Selector ................ 288 Using an Interactive Stacked Graph Widget as a Selector .. 292 Bubble Grid Widget.................................................................... 296 Data Requirements for the Bubble Grid Widget................... 298 Formatting a Bubble Grid Widget......................................... 299 Data Cloud Widget..................................................................... 300 Data Requirements for the Data Cloud Widget.................... 301 Formatting a Data Cloud Widget.......................................... 302 Graph Matrix Widget.................................................................. 303 Data Requirements for the Graph Matrix Widget................. 306 Formatting the Graph Matrix Widget.................................... 307 Microcharts Widget .................................................................... 309 Data Requirements for Bar, Sparkline, and Bullet Charts.... 312 Formatting the Microcharts Widget ...................................... 318 Operation Modes for the Microcharts Widget ...................... 320 Media Widget............................................................................. 329 Requirements for the Media Widget .................................... 331 Creating the Media Widget .................................................. 332 Viewing Media Related to a Specific Attribute, Document, or Dataset ................................................................................ 335 Waterfall Widget ........................................................................ 339 Data Requirements for the Waterfall Widget ....................... 340 Formatting the Waterfall Widget .......................................... 343 Fish Eye Selector Widget .......................................................... 345
Table Of Contents
Methods for Creating a Fish Eye Selector Widget ............... 346 Formatting a Fish Eye Selector............................................ 349 Date Selection Widget ............................................................... 351 Formatting a Date Selection Selector Widget ...................... 352 Flash Widgets in Interactive Mode............................................. 354 Exercises ................................................................................... 356 Widgets As Selectors........................................................... 356 Graph Matrix Widget ............................................................ 363 Microcharts Widget .............................................................. 366 Media Widget ....................................................................... 371 Fish Eye and Date Selection Selector Widgets ................... 374 Exercise Answers ...................................................................... 377 Lesson Summary....................................................................... 380
Lesson Description ................................................................. 383 Lesson Objectives ............................................................... 384 Document Execution Flow ......................................................... 385 Execution Flow .................................................................... 386 Document Files for DHTML and Flash Formats .................. 389 Document Performance Optimizations ...................................... 392 Dataset Performance Considerations .................................. 392 Document Preparation Considerations ................................ 393 Document Structure Considerations .................................... 395 Document Output Considerations........................................ 412 Customer Case Studies............................................................. 415 Customer Case Study 1: Too Many Datasets and Grids ..... 415 Customer Case Study 2: Too Much Data ............................ 417 Troubleshooting Document Performance .................................. 419 Troubleshooting ................................................................... 419 Best Practices Summary...................................................... 420 Lesson Summary....................................................................... 422
A. Works Cited
B. Whats New in MicroStrategy Web .................................................................... 428 MicroStrategy 9.0.2 for Understanding the New Express Mode ............................... 428 Document Developers Exporting Flash Files as PDF or MHT ................................. 429 Understanding the New Flash Grid Interactivity................... 430 Understanding the New Features Added to Selectors......... 432
Table Of Contents
Linking from Widgets ........................................................... 437 Understanding Enhancements to the Microchart Widget..... 437 Distribution Services .................................................................. 439 Sending Flash Documents................................................... 439
10
PREFACE
Course Description
This 2-day course provides an in-depth study of how to create Dynamic Enterprise Dashboards using MicroStrategy Report Services in MicroStrategy Web. This course builds on the basic document creation concepts that are covered in the 2-day MicroStrategy Report Services: Document Essentials course. In this course, you will learn several dashboard design best practices. You will also learn how to use dynamic enterprise dashboard features, such as panel stacks, selectors, and dashboard templates. Additionally, you will learn several graph formatting features as well as best uses for certain graph types. The course covers Flash-specific features, such as widgets, transitions, and Flash-specific formatting options. It also covers document performance topics.
11
Preface
Course Prerequisites
Before starting this course, you should know all topics covered in the following courses: MicroStrategy Report Services: Document Essentials
Follow-Up Courses
After taking this course, you might consider taking the following course: MicroStrategy Desktop: Advanced Reporting
Related Certifications
To validate your proficiency in the content of this course, you might consider taking the following certification: Certified Document Developer
Preface
Course Objectives
After completing this course, you will be able to: Explain what a dashboard is, describe various dashboard characteristics, explain how MicroStrategy classifies dashboards, and list several best practices for dashboard design. (Page 20) Use dashboard-optimized templates to quickly create a dashboard, view your dashboards in the MicroStrategy Web display modes, and use panels, panel stacks, and selectors to design a multilayered dashboard. (Page 52) Understand the characteristics of documents that you display in Flash Mode and include advanced visualizations in these documents. (Page 150) Understand the process of creating a multipanel, interactive dashboard. (Page 208) Describe the best graph types for different types of reports and apply graph formatting features to graphs in documents. (Page 242) Use widgets as selectors and include additional widgets in your dynamic enterprise dashboards. (Page 286) Explain how documents with DHTML and Flash output formats run in MicroStrategy Web and understand how to optimize them for better performance. (Page 384)
Course Objectives
13
Preface
Content Descriptions
Each major section of this course begins with a Description heading. The Description introduces you to the content contained in that section.
Learning Objectives
Learning objectives enable you to focus on the key knowledge and skills you should obtain by successfully completing this course. Objectives are provided for you at the following three levels: CourseYou will achieve these overall objectives by successfully completing all the lessons in this course. The Course Objectives heading in this Preface contains the list of course objectives. LessonYou will achieve these main objectives by successfully completing all the topics in the lesson. You can find the primary lesson objectives directly under the Lesson Objectives heading at the beginning of each lesson. Main TopicYou will achieve this secondary objective by successfully completing the main topic. The topic objective is stated at the beginning of the topic text. You can find a list of all the topic objectives in each lesson under the Lesson Objectives heading at the beginning of each lesson.
Preface
Lessons
Each lesson sequentially presents concepts and guides you with step-by-step procedures. Illustrations, screen examples, bulleted text, notes, and definition tables help you to achieve the learning objectives.
Typographical Standards
The following sections explain the font style changes, icons, and different types of notes that you see in this course.
Actions
References to screen elements and keys that are the focus of actions are in bold Arial font style. The following example shows this style: Click Select Warehouse.
15
Preface
Code
References to code, formulas, or calculations within paragraphs are formatted in regular Courier.New font style. The following example shows this style: Sum(sales)/number of months
Data Entry
References to literal data you must type in an exercise or procedure are in bold Arial typeface. References to data you type in that could vary from user to user or system to system is in bold italic Arial font style. The following example shows this style: Type copy c:\filename d:\foldername\filename.
Keyboard Keys
References to a keyboard key or shortcut keys are in uppercase letters in bold Arial font style. The following example shows this style: Press CTRL+B.
New Terms
New terms to note are in regular italic font style. These terms are defined when they are first encountered in the course material. The following example shows this style: The aggregation level is the level of calculation for the metric.
Preface
A warning icon calls your attention to very important information that you should read before continuing
the course.
Heading Icons
The following heading icons are used to indicate specific practice and review sections:
Precedes Exercises
17
Preface
All courses are subject to change. Please visit the MicroStrategy Web site for the latest education offerings.
1
INTRODUCTION TO DASHBOARDS
Lesson Description
This lesson provides an overview of the basic concepts related to dashboards. You will learn the definition of a dashboard and its characteristics. You will also learn MicroStrategys classifications for dashboards. Lastly, you will study some of the best practices for dashboard design, as recommended by visual design experts.
19
Introduction to Dashboards
Lesson Objectives
After completing this lesson, you will be able to: Explain what a dashboard is, describe various dashboard characteristics, explain how MicroStrategy classifies dashboards, and list several best practices for dashboard design.
After completing the topics in this lesson, you will be able to: Define dashboard, list dashboard characteristics, and understand how MicroStrategy classifies different types of dashboards. (Page 21) Describe the many ways you can interact with a dynamic visualization dashboard. (Page 30) Describe various best practices for dashboard design. (Page 36)
20 Lesson Objectives
Introduction to Dashboards
What is a Dashboard?
After completing this topic, you will be able to: Define dashboard, list dashboard characteristics, and understand how MicroStrategy classifies different types of dashboards.
One of the greatest challenges most report designers face is selecting the appropriate data for their target audience and displaying it in the most easy-to-read, digestible format. Dashboards attempt to address this challenge.
What Is a Dashboard?
A dashboard strives to make data consumable for everyone. With its focus on graphical representation and at-a-glance viewing, any type of business user can benefit from retrieving information through a dashboard. By appealing to a broad range of users, dashboards help increase user adoption of a corporate standard reporting environment. Another major benefit that dashboards provide is enterprise-wide transparency. Because you can create a dashboard using data from multiple sources, dashboards offer a unified view of the business to users from different areas within the business. In this way, dashboards also help to align organizations to identify and strive to meet common goals. As you learned in the MicroStrategy Report Services: Document Essentials course, dashboards are highly visual representations of enterprise performance data that integrate a potentially wide variety of data elements into a single graphical display. Dashboards make use of tables, graphs, gauges, dials, and other graphical indicators; conditional formatting; text labels; and borders and background colors. They appeal to technical and non-technical users alike with their easy-to-read.
What is a Dashboard?
21
Introduction to Dashboards
Dashboards have the following key characteristics: Emphasis on graphicsA well-designed graphical representation can often communicate more effectively than text alone. Emphasis on key performance indicators (KPIs) Dashboards highlight metrics, as well as other important data, that help business users make informed decisions. Use of a single screenUsers digest data more efficiently when it is all displayed on a single screen. Emphasis on summary-level data and exception reportingMost dashboards, regardless of their target audience, focus on providing summary-level data and often highlight data that meets certain exceptions. Emphasis on customizationTypically, the most effective dashboards are the ones that target a specific audience and display the types of visual indicators that appeal to the target audience. Because dynamic enterprise dashboards are interactive, users can further customize the dashboard to suit their personal analysis needs and preferences.
What Is a Scorecard?
The term scorecard is often used interchangeably with dashboard. From MicroStrategys perspective, a scorecard is yet another type of document you can create with Report Services that focuses on KPIs. Like dashboards, scorecards also use many graphical indicators to show trends, actuals against targets, or changes in scores. Unlike dashboards, scorecards typically adhere to one of the major scorecard methodologies, such as Six Sigma and the Balanced Scorecard.
22 What is a Dashboard?
Introduction to Dashboards
The scorecard displayed below follows the Balanced Scorecard methodology, displaying KPIs across four main business perspectivesFinancial, Customer, Internal Process, and Learning. It also displays a strategy map that demonstrates the interdependencies of the objectives for each business area:
Balanced Scorecard Example
What is a Dashboard?
23
Introduction to Dashboards
To view this dashboard, log in to the MicroStrategy Tutorial project in MicroStrategy Web. Run the
Enterprise Performance Management Dashboard in the Shared Reports\Enterprise Reporting Documents folder.
24 What is a Dashboard?
Introduction to Dashboards
Metrics Dashboards
These dashboards focus on key metrics and their status as compared to the companys goals. They often emphasize exception reporting by using graphical indicators to show where metrics exceed, meet, or fall below their targets. Metrics dashboards often cater to business analysts or operational managers. The image below shows an example of a metrics dashboard:
Metrics Dashboard
The trend indicators on the top left display in different colors to demonstrate how the business is performing. The thresholds that display the negative metrics in a different color immediately attract the users attention.
To view this dashboard, log in to the MicroStrategy Tutorial project in MicroStrategy Web. Run the
Operational Performance Scorecard in the Shared Reports\Enterprise Reporting Documents folder.
What is a Dashboard?
25
Introduction to Dashboards
The dashboard shown above contains several common dashboard characteristics, such as: KPIs with trend indicators (the color-coded triangles) An interactive graph with a slider for selecting the time frame
26 What is a Dashboard?
Introduction to Dashboards
Navigation tabs on the top right, which enable users to access different views of the business all within the single dashboard Single-page display Specifically designed for online use and interactivity
To view this dashboard, log in to the Human Web. Resources Analysis Module in MicroStrategy
Locate the Human Resources Analysis Dashboard in the Shared Reports\Dashboards and Scorecards folder.
What is a Dashboard?
27
Introduction to Dashboards
These types of dashboards include Flash-specific features such as transitions, interactive widgets, and more sophisticated formatting. The next topic describes this dashboard example in detail.
28 What is a Dashboard?
Introduction to Dashboards
The goal of dynamic content dashboards and dynamic visualization dashboards is to make it possible to view more data through a single dashboard and to interact with that data. By viewing more reports on a single dashboard, you can more readily identify connections between data elements and make better and faster business decisions to keep your business on track. Dynamic content dashboards and dynamic visualization dashboards, which fall under the general category of dynamic enterprise dashboards, are the main focus of this course.
To view this dashboard, log in to the MicroStrategy Tutorial project in MicroStrategy Web. Run the
Corporate Sales Overview Dashboard in the Shared Reports\Dashboards and Scorecards folder.
What is a Dashboard?
29
Introduction to Dashboards
The Corporate Sales Overview dashboard provides a good introduction to dashboard functionality in MicroStrategy Report Services. The following image shows the first panel of the Corporate Sales Overview, which uses a variety of selectors, panel stacks, and Flash features:
Corporate Sales Overview: Corporate Panel
Introduction to Dashboards
This dashboard contains three panelsCorporate, Regional, and Citythat provide different levels of analysis. The dashboard panel selector enables you to choose which panel you view for the document. The current view of the document shows the Corporate dashboard panel. The Corporate dashboard panel has an analytic panel selector that enables you to choose between viewing a gauge graph for Corporate Revenue and a bar graph for Regional Performance Y/Y (Year over Year). It also has selectors on the Regional Performance line graph and Subcategory Analysis grid that enable you to choose the months and subcategories you want to view in the graph and grid, respectively. When you select different months, the line graph dynamically updates to plot the appropriate range of months. The line graph also includes a Flash transition animation feature that displays a gradual change in the line graph after you make a selection. The Category Analysis (YTD) interactive bubble widget plots each product category for its units sold and revenue. The size of each bubble represents the categorys profit margin. The widget contains a Play button that shows category performance over time. Flash features also enable the rounded effect on the panel stacks for each quadrant of this panel and the mirrored gradient used for the dashboard panel and category selectors. Some of these same Flash features (rounded edges and mirrored gradients) are also used on other panels in this dashboard.
31
Introduction to Dashboards
The following image shows the same Corporate dashboard panel with some modifications to the document view using the various selectors:
Corporate Sales Overview: Corporate Panel, Different Selections
The dashboard panel now displays the Regional Performance Y/Y bar graph. The Regional Performance line graph displays a different range of months, and the Subcategory Analysis grid displays different subcategories since a different category is selected.
Introduction to Dashboards
You can select a different dashboard panel to view another layer in the document. The following image shows the Regional dashboard panel:
Corporate Sales Overview: Regional Panel
This panel has a selector that enables you to choose the region for which you want to display data in the two widgets on the panel. The Central Growth Trends uses a Flash Graph Matrix widget. This widget plots the Revenue Growth (Y/Y) metric across months in 2009 for each category in each call center. If you want to view data for the Profit Growth (Y/Y) or Profit Margin metrics, you can select either metric from the metric selector and the Graph Matrix widget automatically updates.
33
Introduction to Dashboards
The Daily Revenue section of the panel uses a Time Series Slider widget to plot Revenue and Revenue Forecast over time. The widget consists of two area graphs, one positioned above the other. The top graph shows a macroview of the data over time, while the bottom graph enables you to focus on a microview of a specific time segment in the graph. The widget enables you to use the slider to choose the time period you want to view in the bottom graph, which lets you to analyze specific date ranges of interest. When you move the slider, the bottom graph dynamically updates to show the selected data range. The following image shows the same Regional dashboard panel with some modifications to the document view using the widget and various selectors:
Corporate Sales Overview: Regional Panel, Different Selections
The dashboard panel now displays data for a different region. The Profit Margin metric displays in the Graph Matrix widget. The Daily Revenue area graphs focus on a different series of dates.
Introduction to Dashboards
You can select the third dashboard panel to view yet another layer in the document. The following image shows the City dashboard panel:
Corporate Sales Overview: City Panel
This panel shows the KPIs for the selected city, with conditional formatting applied to the KPIs that exceed or fall below expectations. The Monthly Revenue line graph contains an analytic-based selector that makes it possible to select a specific month (a data point on the line). When you select a month, the Y/Y Detail Growth grid changes to display the corresponding subcategory data for that month. The panel also contains a Time Series Slider controlled by a Category and metric selector. As you can see, with the variety of panels, selectors, and Flash features, this dashboard provides many different levels of analysis in a single document, gives users flexibility to easily change views, and displays the data in a professional and appealing manner.
35
Introduction to Dashboards
Before you learn about the MicroStrategy features and functionality that make it possible to achieve dynamic enterprise dashboards, it is worthwhile to study some of the best practices for designing dashboards.The topics discussed below are based on recommendations from two top experts on dashboard creation and visual design, Stephen Few and Wayne Eckerson. list of and For a completereadingbibliographic referencestopics, recommended for dashboard design see Works Cited starting on page 425.
Introduction to Dashboards
37
Introduction to Dashboards
Introduction to Dashboards
39
Introduction to Dashboards
Introduction to Dashboards
41
Introduction to Dashboards
Introduction to Dashboards
Use the Same Color for a Single Measure that Displays in Multiple Places on the Dashboard
Imagine a dashboard that shows revenue across three different graphs. By using a consistent color to represent revenue, you can help users quickly identify data that is the same, even if it appears in multiple locations on the dashboard.
43
Introduction to Dashboards
Introduction to Dashboards
45
Introduction to Dashboards
Introduction to Dashboards
Lesson Summary
In this lesson, you learned: Dashboards are highly visual representations of enterprise performance data and integrate a potentially wide variety of data elements into a single graphical display. Dashboards emphasize the use of graphics, KPIs, single-screen display, summary-level data, and exception reporting. They are typically customized for their target audiences. MicroStrategy classifies dashboards into the following categories: Performance Summary Dashboards Metrics Dashboards Dynamic Content Dashboards Dynamic Visualization Dashboards
Lesson Summary
47
Introduction to Dashboards
The following best practices are recommended for general dashboard design: Focus on the data first Design the dashboard with your target audience in mind Keep the data on a single screen Pay attention to object placement Limit the number of metrics Focus on important indicators like trends, variances, or performance states Group like items or comparison items together Use white space or thin grey lines to separate groups of data Keep simple navigation in mind Limit the number of fonts in a dashboard
The following best practices are recommended for the use of color in dashboards: Consider the corporate color scheme Use color intensities versus color hues Use earth-toned, natural colors Use the same color for a single measure that might appear in multiple places on a dashboard Use contrasting colors to enable quick comparisons Use colors to show different levels of alerts Consider the dashboard in hard copy Consider downloading a color finder tool Use sharp contrasts between font and background fill colors Keep your color-blind users in mind when you choose colors for your dashboards
48 Lesson Summary
Introduction to Dashboards
Answers Exercise
The designer made the following mistakes in creating the dashboard:
The dashboard uses too many bright colors. The dashboard uses too many different fonts. The background gradient on the bar chart is overly distracting. The Performance by Store grid should display below the bar chart, since it shows detailed data. The black lines separating groups are unnecessary (the background colors already separate the groups). The gauges should display the metric values. The pie slices should display the metric values. The Suppliers chart would be more effective as a horizontal bar chart.
Exercise Answers
49
Introduction to Dashboards
50 Exercise Answers
2
CREATING DYNAMIC DASHBOARDS
Lesson Description
In this lesson, you will learn about creating dynamic enterprise dashboards using dashboard-optimized templates. You will also review the MicroStrategy Web document display modes, focusing primarily on Interactive Mode and Flash Mode. The rest of this lesson covers how you use panel stacks, panels, and selectors to create multilayered dashboards.
51
Lesson Objectives
After completing this lesson, you will be able to: Use dashboard-optimized templates to quickly create a dashboard, view your dashboards in the MicroStrategy Web display modes, and use panels, panel stacks, and selectors to design a multilayered dashboard.
After completing the topics in this lesson, you will be able to: Use the dashboard-optimized design templates to quickly create dynamic enterprise dashboards. (Page 53) Describe the various display modes for Report Services documents in MicroStrategy Web. (Page 56) Use panels and panel stacks to provide users with multiple views of data within a single document. (Page 63) Use selectors and analytic-based selectors to enable users to interact with dynamic enterprise dashboards. (Page 79) Use grouping to control the output of a selector. (Page 121)
52 Lesson Objectives
Dashboard Templates
After completing this topic, you will be able to: Use the dashboard-optimized design templates to quickly create dynamic enterprise dashboards.
In the Document Essentials course, you learned about dashboard and document templates. In that course, you primarily worked with the Blank Document template, which helped you learn the default behavior of all of the sections in the Document Editor. In this course, you will focus on the dashboard templates. Dashboard templates are designed to help speed the document creation process because they contain predefined zones to which you add document objects. Dashboard templates display immediately before the Document Editor opens, when you begin creating a new document. They have the following default characteristics: Predefined and locked panel stacksDepending on the dashboard template you use, one or more panel stacks form the basis for the predefined zones of the dashboard template. The panel stack displays with a grey background fill color, rounded edges, a drop shadow, and no borders. Its width, height, and position properties are locked. It displays only one panel by default. To add more panels, you must unlock the panel stack (assuming you have the appropriate privileges and permissions to do so). Default display modeThe default display mode is Interactive Mode. Other display modesAdditional available display modes include View Mode, Flash Mode, and Editable Mode. Export formatsAvailable export formats include Excel, PDF, HTML, and Flash.
Dashboard Templates
53
Full Screen ModeWhen you switch from Design Mode to View Mode, Interactive Mode, Editable Mode, or Flash Mode, the document displays in Full Screen Mode by default. Design Mode shows only the Detail HeaderMost dashboards use one section of the Document Editor to show all grids, graphs, text boxes, images, and other document objects. The dashboard templates display the Detail Header section (also called the Body section) by default so that you can easily design a dashboard using the entire screen. If needed, you can display other sections. Grid/graphs match the size of the panel stackObjects that you add to the predefined zones of the dashboard template automatically take up the entire width and the height of the panel stack. That is, the width and height properties of the grid/graph are fixed to match those of the underlying panel stack. When you add shapes and text boxes, they take up the width but not the height. Title bars for grid/graphsTitle bars are enabled by default and display with a grey gradient fill color. Predefined formatting for text boxesDepending on the dashboard template you choose, predefined text boxes for titles have a default font and font size (Tahoma, 24 point). Single layoutDashboard templates have a single layout by default.
Document developers working in MicroStrategy Desktop can create their own custom document templates. They can save existing documents as templates and then format new documents based on the document template. A document template can contain more than just formatting properties, it can also include underlying datasets, text boxes, images, and layout properties. After you create a new document based on the document template, you can further customize the document as you like. more information on templates, For MicroStrategy ReportdocumentDocument refer to the Services: Essentials course or the Report Services Document Creation Guide product manual.
54 Dashboard Templates
1 On the project home page, click Create Document. 2 On the Create Document page, select a dashboard template, such as 01 Blank Dashboard. The Document Editor opens, displaying the Detail Header section by default, which contains a single layout and a single placeholder for document content, as shown below:
01 Blank Dashboard Template
Dashboard Templates
55
The following table reviews the various display modes for documents in MicroStrategy Web:
MicroStrategy Web Display Modes
Display Mode Design Mode Features Intended for document designers Create a new document Edit an existing document Quicker performance since document results are not displayed Add and remove dataset objects Insert controls such as grids/graphs, text boxes, lines, shapes, and panel stacks Edit and format controls Format grid/graph containers only Pivot report objects on grid reports Use Grouping pane Limitations Cannot view the results of the document without switching modes Cannot format all aspects of grid/graphs, including metric values and attribute headers Cannot format widget Flash properties Cannot use selectors to flip through the panels in a panel stack or display different attribute elements or metrics in a grid/graph Cannot use Page-by to group data Cannot sort grid reports Cannot use the Fit to contents/window features Cannot show or hide rulers
Interactive Mode
Intended for document analysts View the results of the document Use selectors to flip through the panels in a panel stack or display different attribute elements or metrics in a grid/graph Format grid/graphs Sort grid reports and pivot report objects on them Add totals Resize rows and columns Create metrics based on report objects already on the grid report Intended for document analysts View the results of the document Use selectors to flip through the panels in a panel stack or display different attribute elements or metrics in a grid/graph Access and interact with features provided by Flash, such as widgets Format widget Flash properties Sort grid reports and pivot report objects on them Intended for document analysts View the results of the document only, as you might in a static PDF file Provides better performance than all other modes, but the document is not interactive
Cannot create a new document Cannot format the layout and positioning of objects or the entire document Cannot format widget Flash properties
Flash Mode
Cannot create a new document Cannot manipulate or format grid/graphs, except to sort and pivot objects on them If a grid/graph uses a graph type that is not supported in Flash, the graph is not displayed Cannot create a new document Cannot edit an existing document Cannot manipulate any objects on the document, as you can in any of the other display modes
View Mode
57
Interactive Mode
Interactive Mode is a DHTML display mode that offers a subset of the features and functionality available in Editable Mode. You can manipulate grids and graphs by pivoting, sorting, adding totals, resizing rows and columns, and creating metrics based on report objects already on the grid report. However, you cannot change the formatting and layout of the entire document. Compared to Editable Mode, Interactive Mode is available to more users and provides slightly better performance. Interactive Mode is optimized for dashboard viewing in particular.
Flash Mode
As its name suggests, Flash Mode is the display mode that enables you to access Flash functionality within your documents, such as widgets. Flash Mode offers support for advanced visualizations and Flash-specific formatting. However, you cannot manipulate or format grids and graphs, except to sort and pivot objects on them (assuming that you have MicroStrategy Web Analyst privileges). If a graph object uses a graph type that is not supported in Flash, the graph does not display. Like all display modes, Flash Mode is only available to users if you, as the document designer, specifically make it available. However, remember that when you use one of the available dashboard document templates to create a dashboard, Flash Mode is available by default.
59
When viewing documents in Full Screen Mode, you still have access to the Standard toolbar and the Grouping pane. The Standard toolbar lets you switch display modes, save, print, export, deliver the document, and more. The Grouping pane, which only displays if you have attributes in the Grouping area of your document, lets you select from different groups of data at a time. In MicroStrategy Web, you can toggle Full Screen Mode on and off. Additionally, you can specify whether a document initially opens in Full Screen Mode.
To enable Full Screen Mode for a document:
1 Open the document in Design or Editable Mode. 2 On the Tools menu, select Document Properties. 3 In the Properties window, under Document Properties, select Document. 4 Under General, select the Always open this document in full screen mode check box, as shown below:
The next time you open this document in MicroStrategy Web, it displays in Full Screen Mode. Web users can switch between Full Screen Mode and normal view by clicking the Restore Normal Screen Mode button in the toolbar (as shown below):
To switch back to Full Screen Mode, they can select Full Screen Mode on the View menu, or click the Full Screen Mode button in the toolbar, or press F12. view document even more, To maximize yourmodeof ayour Web browser as well enable full screen in as the Full Screen Mode in MicroStrategy Web. For example, you can press F11 to enable full screen mode in Internet Explorer, and press F12 to enable it in MicroStrategy Web. Users can control if they want to open all documents in Full Screen Mode across an entire project by setting a user preference in MicroStrategy Web.
To specify Full Screen Mode behavior for all documents in a project:
1 On the MicroStrategy Web toolbar, click Preferences. 2 Under General, under Output Formats, in the Full Screen Mode Behavior for Documents drop-down list, select from the following options: Read from DocumentEnsures that a document opens in Full Screen Mode only if the documents Always open this Document in Full Screen mode check box in the Document Properties window is enabled. Open every Document in Full Screen mode Ensures that all documents in the current project execute in Full Screen Mode by default.
61
Dont open any Document in Full Screen mode Ensures that no documents in the current project execute in Full Screen Mode.
check If you select thissetting box and have the document-level Always open this document in full screen mode in the Document Properties window enabled, the document does not open in Full Screen Mode. The user preference overrides the document-level setting.
63
With dashboard panels, users have immediate access to the reports they need to see and with which they want to interact. Being able to view these reports simultaneously, or in quick succession, makes it easier for users to identify connections among reports. Panels and panel stacks are essential building blocks for interactive dynamic enterprise dashboards. You can layer dashboards in two ways, as shown below: Analytic panel layersLayering grids and graphs on a single panel stack within a larger dashboard Dashboard panel layersUse a large panel stack as the basis for a multilayered dashboard
Methods for Layering Dashboards
In the following image, a single gauge displays on a panel. The name of the panel is Corporate Revenue. In the image below, the user selects the Corporate Revenue panel in a radio button selector:
Analytic Panel Layer Example: Panel 1
When the user selects the Regional Performance Y/Y panel instead, a second panel opens to display a bar graph, as shown below:
Analytic Panel Layer Example: Panel 2
65
Using panels, you can display many independent layers of data within a single panel stack on a dashboard page. Imagine a dashboard that contains many individual panel stacks where each stack lets users toggle between various grids and graphs. Selectors, like the radio buttons, enable users to interact with the dashboard and proactively choose the data they want to view at a given time. In this example, you view graphs that show two different levels of similar data (corporate versus regional), but you could also use grids or graphs that show completely unrelated data.
If you select the Attrition/Hiring Summary tab, you see an entirely different set of data, as shown below:
Dashboard Panel Layer Example - Panel 2
The third tab, Compensation Summary, offers yet another perspective of this human resources-related data. From a design perspective, the entire dashboard is based on one large panel stack that contains three panels. Within each panel, there are many grids, graphs, and even nested panel stacks. From these examples, you can see how panels and panel stacks add flexibility and greater depth to your dashboards. They make it possible to display much more information than a traditional dashboard. They also make it easy for users to interact with the data.
67
Unlike title bars and panels, a selector is not part of a panel stack. It is a different type of object that you add to the document separately. It enables users to switch panels.
When you use panel stacks in a document, the data and formatting elements of each panel in the panel stack are transferred to the Web browser, resulting in a longer initial response time. The performance impact of using multiple panel stacks in a document varies depending on the size of data associated with each panel, the format of each panel, and so on. This behavior is something to keep in mind as you create your dashboards. more information on document performance, see For Document Performance Considerations lesson the starting on page 383.
69
1 Open the document in Design Mode or Editable Mode. 2 If needed, expand the section to which you want to add the panel stack. cannot add a panel stack to the Details section You document. Since objects in the Details section of a repeat for every row in the dataset, the panel stack would also repeat for every row. Because this leads to an undesirable design, panel stacks are prohibited from the Details section. 3 On the Insert menu, select Panel Stack. OR On the Insert toolbar, select Panel Stack:
the mouse to When you move as cross-hairs.the Layout area, the pointer displays 4 Click the desired location of the Layout area. (If you click and drag in the section, you can size the panel stack.) The panel stack displays in the section, with a single panel.
71
By default, the name of the current panel (the panel that is currently in view) displays in the title bar, as shown below. When you switch panels, the name in the title bar changes:
Panel Stack Title Bar Shows Panels Name
If you want the same title to display, regardless of which panel is currently in view, you can change a setting in the panel stack properties. You can assign any name you like to the panel stack and this name displays constantly no matter which panel is in view, as shown below:
Panel Stack Title Bar Shows Panel Stacks Name
1 In the Layout area, right-click the panel stack and select Properties and Formatting. 2 In the Properties and Formatting window, under Properties, select General. 3 Under Panel Stack, select the Show Title Bar text box. 4 By default, the name of the current panel displays in the title bar. To display the title of the panel stack instead, in the Title drop-down list, select Custom Title. 5 The title of the panel stack is blank by default. To change it, in the Custom Title box, type the desired title. 6 Click OK to apply the changes and return to the document. You can adjust the height of the title bar, which by default is .2 inches.
To change the height of the title bar:
1 Right-click the panel stack and select Properties and Formatting. 2 In the Properties and Formatting window, under Properties, select Layout. 3 Under Title Height, in the Fixed at box, enter a value for the height.
73
Display the previous panel. This button is greyed out if the panel stack contains only one panel.
Display the next panel. This button is greyed out if the panel stack contains only one panel.
Insert content into the current panel, such as text boxes, shapes, grids, graphs, panel stacks, and so forth.
You can insert as many additional panels to a panel stack as needed. When you add a new panel, it is placed after the panel that is currently in view. For example, a panel stack contains Panel1, Panel2, and Panel3. Panel2 is currently in view. When you add another panel, the order is Panel1, Panel2, Panel4 (the new panel), and Panel3. You can use the toolbar to change the order at any time. order of the panels panel stack Theorder in which they in adisplayed inalso impacts the are a selector. By default, panels get generic names like Panel1, Panel2, and so forth. You can rename panels to better describe their business purpose. In fact, you should provide more meaningful names for panels, especially since these names display in the selector (from which users select the panel they want to view) and in the title bar. The panel that displays in Design Mode is set as the current panel. If you add a panel to a panel stack, the new panel becomes the current panel. The current panel also displays when you first open the document, although you can use a selector to switch to a different panel. To speed the document design process, you can duplicate panels within a panel stack. For example, if you like the layout of an existing panel, you can duplicate it, make minor changes to the duplicate, and save yourself a lot of time on formatting.
75
If you decide to display the title bar, you can format it by changing the font and background color (including using gradients as backgrounds).
For the individual panels within the panel stack, you can assign different background colors and gradients. For example, in the image below, the panel has a white background fill color instead of the default grey background color. Also, notice how the panel stacks drop shadow still displays, regardless of the background color of the panel:
Panel Stack Formatting - Panel 2
1 Right-click the panel stack and select Properties and Formatting. 2 In the Properties and Formatting window, under Format, select one of the following: Color and LinesEnables you to change the fill color and borders of the panel stacks title or the panel stacks body FontEnables you to specify the font, font style, font size, font color, and special effects EffectsEnables you to specify 3-D borders, drop shadows, and rounded corners (Flash only)
77
1 Right-click the panel stack and select Properties and Formatting. 2 Under Properties, select Layout. 3 Under Position, select the Locked check box. panel stack is padlock When awhen you selectlocked, it displays a or Editable button it in Design Mode Mode, as shown below:
Formatting Tips
The following list offers additional formatting tips: Use the 3-D effect to make a panel stack, and the panels within it, display like a button. Use the drop shadow effect to make a panel stack and the panels within it float above the background. Use gradient colors to give the effect of a color-blended background. Use tooltips to show expanded descriptions for the contents of a panel stack.
Selectors
After completing this topic, you will be able to: Use selectors and analytic-based selectors to enable users to interact with dynamic enterprise dashboards.
What Is a Selector?
Selectors provide dashboards with interactivity, enabling users to select the data they prefer to see. MicroStrategy Web users use selectors in Interactive, Editable, or Flash Mode. With selectors, you can: Switch between panels in a panel stack. Display different metrics or elements of an attribute, custom group, or consolidation in a grid or graph. custom groups are special Consolidations andyou create in Desktop. For application objects more information on these objects, refer to the MicroStrategy Desktop: Advanced Reporting course, the MicroStrategy Advanced Reporting Guide product manual, or the MicroStrategy online help. Display different elements of an attribute, custom group, or consolidation within a dynamic text box on a panel stack.
selector can A grid/graph ortarget only two document object types a a panel stack. If you want a selector to change the contents of a dynamic text box, you must place it on a panel stack and use the panel stack as the selectors target.
Selectors
79
The image below shows a generic example of a dashboard with multiple selectors. The buttons at the top enable you to control the data you see in the various graphs. The check boxes let you specify which elements to view on the pie chart and the slider lets you decide a time frame by which to filter the line graph.
Selectors at a High Level
80 Selectors
Every selector must have an action type and a target. In this example, the selectors action type is to select a panel and the target is the panel stack on which the grids are placed. To create this type of selector, you first insert the selector in the section of the Layout area and then you define its various properties. The document must already contain the panel stack that serves as the selectors target. The next few procedures explain the steps involved in creating this type of selector.
To insert a selector into a document:
1 Open the document in Design Mode or Editable Mode. 2 Select the section to which you want to add a selector. 3 On the Insert menu, select Selector, and select the desired selector style. OR On the Insert toolbar, click the arrow next to Selector Control, and select the desired style.
4 Click within the Layout area section to place the selector in it. If you click and drag within the section, you can size the selector. insert a selector by You can alsoand selecting Createright-clicking the For panel stack Panel Selector. more information on how to insert selectors, see Alternative Methods for Inserting Selectors starting on page 94.
Selectors
81
target is enabled By default, automatic meansmaintenance not have to for this exercise. This that you will select a specific target and that it will be available automatically. You will notice in this exercise that some steps ask you to simply confirm that the automatically selected target is the correct one. 1 After you add a selector to the document, right-click it, and select Properties and Formatting. 2 In the Properties and Formatting window, under Properties, select Selector. 3 Under Selector, in the Action Type drop-down list, select Select Panel. is greyed out because The Source property different action type. you define a source for a 4 Under Targets, in the Panel Stack drop-down list, select a desired panel stack.
You will learn more about the Advanced settings throughout this lesson.
82 Selectors
Notice the Action Type is Select Panel, the Source is unavailable, and the Target is a panel stack. In this example, the panel stack contains the two panels, each with its own distinct grid.
Selectors
83
This type of selector requires an action type, a source, and a target. In the example, the Category attribute on the graph is the source and the graph is the target. The selector also displays the (All) option, which lets you view every category on the line graph simultaneously.
To create a selector that enables you to select the attribute elements to display on a grid/graph:
1 After you add a selector to the document, right-click it, and select Properties and Formatting. 2 In the Properties and Formatting window, under Properties, select Selector. 3 Under Selector, in the Action Type drop-down list, select Select Attribute Element. 4 In the Source drop-down list, select the desired source attribute. Source the attributes Thedatasetslist contains all ofdocument. in all of the included in the
84 Selectors
2011 MicroStrategy, Inc.
5 Under Targets, in the Available list, select the desired grid/graph and move it to the Selected list. target By default, automaticthat youmaintenance isto select enabled. This means will not have a specific target and that it will be available automatically. You will notice in this exercise that some steps ask you to simply confirm that the automatically selected target is the correct one. element can have multiple An attribute can selectselector or multiple targets. You single grid/graphs or panel stacks, or any combination of the two, as targets. 6 If you want the selector to apply to all targets as a filter., select the Apply selections as a filter check box. default, Apply selections as filter check Byselected. theyou want the selectora to apply all box is If targets as a slice, clear the check box. 7 If you want to show a Total option in the list of elements, select the Show option for Total check box. setting, see For moreainformation on thison page 101. Show Totals in Selector starting 8 If you want to show an All option in the list of elements, select the Show option for All check box. 9 If you select the Show option for All check box and you want to use an alias for the default (All) option, type the desired text in the Alias box. 10 Click OK.
Selectors
85
The Action Type is Select Attribute Element, the Source is the Category attribute, and the Selected target is the Line Graph. To enable users to see all of the attribute elements on the graph, the Show option for All check box is selected. However, since there is no custom alias in the Alias box, the selector displays (All) by default.
86 Selectors
1 After you add a selector to the document, right-click it, and select Properties and Formatting. 2 In the Properties and Formatting window, under Properties, select Selector. 3 Under Selector, in the Action Type drop-down list, select Select Metric. Source drop-down list is greyed out because The type of selector does not have a source. this 4 Under Targets, in the Available list, select the desired grid/graph and move it to the Selected list.
Selectors
87
By default, automatic target maintenance is will enabled for this exercise. This means that you
not have to select a specific target and that it will be available automatically. You will notice in this exercise that some steps ask you to simply confirm that the automatically selected target is the correct one. If you would like manual control, under the Targets section, under the Apply selections as filter check box, click the link for This layout is configured to automatically maintain targets. If you would like manual control, click here. can have You A metric selectoror multiplemultiple targets. panel can select single grid/graphs or stacks, or any combination of the two, as targets. 5 If you want to show an All option in the list of metrics, select the Show option for All check box. 6 If you select the Show option for All check box and you want to use an alias for the default (All) option, type the desired text in the Alias box. 7 Click OK.
88 Selectors
The Action Type is set to Select Metric, the Source is unavailable, and the Selected target is the Category Performance Grid. Also, since the Show option for All check box is enabled and All Metrics is defined for the alias, the selector shows the custom alias instead of the default (All) option. When you run the document in Interactive, Editable, or Flash Mode, the selector shows the metrics that are contained in the target grid/graph. If the grid/graph contains calculated expressions (custom metrics defined within dynamic text boxes), these types of metrics are not listed in the selector. However, other types of custom metrics contained in the target grid/graph, like summary metrics and derived metrics, do display in the selector.
Selectors
89
You define the selector as an attribute element selector where the source is Category and the target is the panel stack that contains the dynamic text box. In the example, the selectors properties are defined as follows:
Attribute Element Selector Definition
90 Selectors
The Action Type is Select Attribute Element, the Source is Category, the DHTML style is Drop-down, and the Selected Target is the Text Box Panel Stack.
Selector Styles
When you define a selector, you must choose a style, an action type, a source, and a target. The DHTML styles for selectors are: Button Bar Check Boxes Drop-down Link Bar Listbox Radio Buttons Slider (most often used for time series analysis)
The image below shows the various DHTML styles for selectors:
DHTML Styles for Selectors
Selectors
91
If you selectasslider, radio buttons, check boxes, oryou button bar the DHTML style for your selector,
can control the orientation of the selector. The Orientation option lets you choose between displaying the selector horizontally or vertically. a You can also defineon few Flash styles for selectors. For more information these styles, see Fish Eye Selector Widget starting on page 345. The following table lists the selector styles that require only one selection at a time and those that let you select multiple elements simultaneously:
Selector Styles
One Selection at a Time Drop-down Radio buttons Multiple Selections Button bar Check boxes Link bar Listbox Slider
Check you If you set the DHTML style tothe SelectBoxes, action cannot create a selector with Panel type, since you cannot display multiple panels simultaneously. Select a different DHTML style to display panels. When you insert a selector using the Insert menu option or the Insert toolbar button, you choose the selector style right away. However, you can change the selector style at any time.
To change the selector style for an existing selector:
1 Right-click the selector and select Properties and Formatting. 2 In the Properties and Formatting window, under Properties, select Layout.
92 Selectors
3 Under Selector, in the DHTML Style drop-down list, select the desired style. 4 Depending on the style you choose, you can modify the orientation. In the Orientation drop-down list, select Horizontal or Vertical. all selector You can change the orientation forListbox styles. styles, except the Drop-down and 5 Depending on the style you choose and depending on whether you want users to be able to select multiple items, you can select the Allow multiple selections check box. option is The Allow multiple selectionsexcept for disabled by default for all selector styles, the Check boxes style. 6 If you want the selector to display all elements with the same consistent width no matter how long each element might be (in terms of character length), select the Make all items the same width check box.
For more information on this option, see116. Formatting Selectors starting on page
Selector Components Summary
When you define a selector, you specify the following properties: Selector styleDetermines how the selector displays and whether it enables you to select multiple elements simultaneously Action typeDetermines whether a selector displays elements, metrics, or panels SourceDefined only when the selector displays elements. The source is the attribute, custom group, or consolidation whose elements display in the selector Target(s)Determines which grids, graphs, or panel stacks the selector affects
Selectors
93
A selector can target only twoIfdocument object types: a grid/graph or a panel stack. you want a selector to
change the contents of a dynamic text box, you must place it on a panel stack and use the panel stack as the selectors target.
Besides using the Properties and Formatting window, you can select targets for a selector using another method called target selection mode.
To assign targets for selectors in target selection mode:
1 Right-click the selector and select Select Target. 2 Pressing the CTRL key, select the desired targets, which must be either grid/graphs, panel stacks, or a combination of those object types.
94 Selectors
3 Click the checkmark in the Select Target floating toolbar, shown below:
target By default, automaticthat youmaintenance isto select enabled. This means will not have a specific target and that it will be available automatically. If you try to manually select target you will see a warning message that you will need to manually maintain targets for all selectors in the current layout, shown below:
Selectors
95
Selector Defaults
These next sections describe some of the special properties that control the behavior of certain types of selectors.
96 Selectors
When you select a single region in the Region selector, the Manager selector displays only the managers that belong to that single region, as shown below:
Selector Controls Selector - Single Region
You achieve this type of design by using a dedicated panel stack for the child selector (in this example, the Manager selector) and the grid. The Region selector is located outside of the panel stack, as shown below:
Selector Controls Selector - Design Mode
The Manager selector uses the grid as its target. The Region selector, in turn, uses the panel stack that contains the Manager selector and the grid as its target. both the Manager selector grid Make sure thatwith the panel on the paneland theThe are associated stack. Document Structure pane shows each panel and its associated objects.
Selectors
97
If you wanted to design a similar document but hide the panel stack, you could disable the panel stacks title bar, set the background fill color for the panel to no color, and disable any borders. After you have defined the objects as described above, you can interact with the selectors and observe how the Region selector affects the Manager selectors elements. At times, depending on the combination of elements you choose for both selectors, you may notice an unexpected result. For example, your first selection is the Southwest region, as shown below:
Then you choose a single Southwest manager, William Jackson, as shown below:
If you then try to switch to another region, such as Central, the grid displays the following message:
98 Selectors
The message displays within the grid because it tries to return data that is both Region=Central and Manager=William Jackson (a Southwestern manager). Since no such data exists, the grid cannot return a result set. To resolve this issue and to ensure that the grid automatically displays the first manager in the newly selected region, you must enable the Manager selector to be updated by the Region selector. You make this possible by selecting the Automatically update when there is no data for the current selection check box, as described in the procedure below:
To enable a selector to control another selector:
1 Right-click the selector and select Properties and Formatting. 2 In the Properties and Formatting window, under Properties, select Selector. target By default, automaticthat youmaintenance isto select enabled. This means will not have a specific target and that it will be available automatically. If you would like manual control, under the Targets section, under the Apply selections as filter check box, click the link for This layout is configured to automatically maintain targets. If you would like manual control, click here.
Selectors
99
3 Under Advanced, select the Automatically update when there is no data for the current selection check box, shown below:
4 Click OK. When you enable this option for the Manager selector, and you re-create the scenario described above, the grid retrieves the first manager in the Central region, as shown below:
In summary, for a selector to control another selector, you must: Place the selector that you want controlled by another selector on a panel stack. Define the master selector to use the panel stack as its target.
In some cases, you may also want to specify any grid/graphs on that panel stack as targets too.
100 Selectors
2011 MicroStrategy, Inc.
To avoid no data returned scenarios, enable the Automatically update when there is no data for the current selection check box for the child selector.
Selectors
101
You could also choose to see specific categories and their total, as shown below:
Totals on a Selector - Specific Categories and Total
Notice that the values in the Totals column remain the same as in the previous example. The total is always calculated using all selector items (in this case, categories). The image below shows a category selector that targets a panel stack that contains a dynamic text box. When you choose the Total option, the total revenue of all categories displays:
Totals on a Selector Targeting a Panel Stack with Dynamic Text
102 Selectors
1 In Design or Editable Mode, right-click the selector and select Properties and Formatting.
The Apply button displaysisonly if Automatically user apply selector changes disabled and after the
modifies a selection for a selector.
To clear the Automatically apply selector changes check box for a document:
Selectors
103
2 On the Tools menu, select Document Properties. 3 In the Document Properties window, under Document Properties, select Document. 4 Under General, clear the Automatically apply selector changes check box. 5 Click OK to return to the document.
automatically maintained Targets are notalways manually define the for panel selectors. You targets for panel selectors.
104 Selectors
For example, the document shown below has two panel stacks (Panel Stack A and Panel Stack B). Each panel stack has its own grid/graph and its own selector that lets you choose a region. By default, the selector you create in each panel stack controls the grid contained in the same panel stack, as shown below:
Automatic Target Maintenance Enabled
Selectors
105
If you were to add additional selectors to each panel stack, they too would automatically target the grid/graph in their respective panel stack. To know for sure that a selector automatically targets a grid/graph within its same panel stack, you can right-click the selector, select Properties and Formatting, and view its targets. The image below shows the properties for the selector in Panel Stack A from the example above:
Automatic Target Maintenance Enabled
Notice above how the Available targets and Selected targets lists are grayed out. In the Selected targets list, only GridGraph48 displays. Also, notice the available link (at the very bottom of the image above) that you can click if you want to switch to manual control. When you add a selector to a panel stack or to a document section and automatic target maintenance is enabled, you must still define certain properties for the selector. For example, in an attribute element selector (like the one above), you would need to specify the Source (in this case, Region).
106 Selectors
If you add new panel stacks or grid/graphs to Panel Stack A, the new objects are automatically added as targets to Panel Stack A region selector. For example, in the image below, a new panel stack (Panel Stack C) is added to Panel Stack A, which displays the Region attribute dynamic text field. When you choose a new region in the selector, the same region name displays in the dynamic text field on Panel Stack C:
Automatic Target Maintenance - New Panel Stack
The properties for the region selector in Panel Stack A now display as follows:
Automatic Target Maintenance - Selector Properties
Selectors
107
Automatic target maintenance works for attribute for element selectors and for metric selectors, but not
panel stack selectors. A panel stack selector is a selector that lets you choose the panels in a panel stack. In addition to the examples described above, you can also use an attribute on a grid/graph as a selector. If a user clicks an attribute element on the grid/graph, the target changes to display information only for that element. Automatic target maintenance also applies to these types of selectors.
1 Right-click the selector and select Properties and Formatting. 2 In the Properties and Formatting window, on the left-hand pane under Properties, select Selector. 3 Under the Targets section, under the Apply selections as filter check box, click the link for This layout is configured to automatically maintain targets. If you would like manual control, click here. that A warningtomessage displays indicating if youyou will need manually maintain targets disable automatic target maintenance. 4 Click OK.
108 Selectors
Automatic target maintenance is now disabled for all selectors in the layout for the document (for all panel stacks and all document sections of that layout).
To disable automatic target maintenance for an entire document layout in the Document Properties:
1 Open the document in Design Mode. 2 On the Tools menu, select Document Properties. 3 In the Document Properties window, on the left-hand pane under Layout Properties, select Layout. 4 Under the Layout section, clear the Automatically maintain targets for all selectors in this layout check box. 5 Click OK. When you disable automatic target maintenance, targets that were automatically maintained before are automatically saved and no targets are deleted or changed. You can now define new targets for existing attribute or metric selectors. If you create any new selectors, you must manually select the targets for them.
Selectors
109
Following the previous example, if you disable automatic target maintenance, the original selectors and targets remain the same, but you can now modify them manually, as shown in the Properties and Formatting window:
Automatic Target Maintenance Disabled - Properties
You could select GridGraph49 from Panel Stack B as the target, so that when you choose a region in the Panel Stack A region selector, the same region displays in the grid on Panel Stack B, as shown below:
Automatic Target Maintenance Disabled
110 Selectors
In addition, if you add a new selector to the panel stack (or anywhere in the documents layout), no targets are automatically defined, so you must manually define the targets.
You enable automatic target maintenance by selecting the Automatically maintain targets for all selectors in this layout check box in the Document Properties, as described in the previous procedure. You cannot enable automatic target maintenance while editing an individual selector.
Selectors
111
Selectors as Filters
With a filtering selector, you can filter the data elements before the grid gets generated and displayed. This means that a users selections are considered when displaying any total amounts in the target grid or graph. For example, in the document shown below, the dataset report contains Region, Year, and the Revenue metric. The selector on the left lets you select the Region, using the slicing method. The grid to the right displays Year and Revenue only and is targeted by the Region selector. When you select Central, three rows, one for each year, display in the grid:
Selector as a Slice - Single Selection
If you select Mid-Atlantic as well as Central, six rows display (two for each year) in the grid:
Selector as a Slice - Multiselections
112 Selectors
This occurs because the selector slices the data by region before the user selections are made, and cannot aggregate the slices for multiple regions. If you change the selector to filter rather than slice the data, the yearly revenue is aggregated across the selected regions. The yearly revenue is the total of the Central and Mid-Atlantic values for each year, and only one row for each year displays in the grid, as shown below:
Selector as a Filter
Other important differences between filtering and slicing selectors are described below: With slicing, you can enable the total to be displayed as an item in the selector. This option is called Show option for Total in the selector advanced properties. A filtering selector does not display the total as a selector item. With slicing, you can specify that the selector automatically uses a default selection when other changes in the document cause the selection made by the user to return no data. This option is called Automatically update when there is no data for the current selection in the selector advanced properties. It is not available for filtering selectors.
Selectors
113
When you run documents in MicroStrategy Web, slicing is performed on Intelligence Server in Interactive Mode. This means that when a user chooses different items in a selector, a call is made to the Web server to update the document. In Flash Mode, slicing is performed on the client machine. When you use a slicing selector in Flash Mode, the document can run faster as users change their selections because no separate call to the Web server is required. In contrast, filtering is performed on the Intelligence Server in both Interactive and Flash modes. As compared to slicing, a filtering selector can speed up the initial load time of a document in Flash Mode, since all the slices do not need to be initially downloaded to the client. This is an important performance benefit to consider for your dashboards.
114 Selectors
A specific target is sliced or filtered by a selector, allowing you to filter one target and slice another using the same selector.
This functionality is available in the selector properties in MicroStrategy Desktop, but not
MicroStrategy Web. To learn more about it, refer to the Report Services Document Creation Guide product manual.
To apply selections as filters or slices for a specific selector:
1 Open the document is Design Mode. 2 In the Document Editor, right-click the selector you want to update and select Properties and Formatting. 3 In the Properties and Formatting window, select the Apply selections as a filter check box if you want the selector to apply to all targets as a filter. default, Apply selections as filter check Byselected. theyou want the selectora to apply all box is If targets as a slice, clear the check box. 4 Click OK.
To apply selections as filters or slices at the document level:
1 Open the document in Design Mode. 2 In the Document Editor, in the Tools menu, select Document Properties. 3 In the Document Properties window, select the Apply selections as filter for all new targets check box if you want all selectors to apply to all targets a a filter. applies all This document-level propertydocumenttothatnewnot selectors that you add to the do have a target, expect when the new target is already the target of another selector that uses the same source.
Selectors
115
Formatting Selectors
You can apply various formatting options to selectors. You can control the background color, border, drop shadow, font, gradient color, tooltip, and so on. One formatting property that is specific to selectors is called Make all items the same width. By default, items in a selector are sized so that they are wide enough to display the complete text for the item, with minimal wasted space. In the example below, the selector enables you to choose categories. Each category link bar is sized widely enough to display the complete text of the category. This is the default behavior for selectors, where the Make all items the same width option is disabled, as shown below:
Make all items the same width Check Box Disabled
There might be instances where you want to force the selector to display all items with the same width, particularly when the items have similar lengths (such as a selector that enables you to choose quarters and all the quarter descriptions are the same character length).
116 Selectors
However, in the example above, if you enable the Make all items the same width option, the selector displays as follows:
Make all items the same width Enabled
Notice how the categories with longer names get cut off, such as Electronics. In this scenario, you would want to keep the default behavior and leave the option disabled. you size selector Keep in mind that howthe itemstheit. also impacts the display of in
To specify a selector width as fixed:
1 Open the document in Design Mode or Editable Mode. 2 Right-click the selector and select Properties and Formatting. 3 In the Properties and Formatting window, under Properties, select Layout. 4 Under Selector, select the Make all items the same width check box. 5 Click OK.
Selectors
117
Analytic-Based Selectors
Just as you can use an attribute, consolidation, or custom group as the source for a selector, you can also use a grid or graph. When you use a grid or graph to control another grid/graph, you synchronize data across the grids and graphs, as shown in the diagram below:
Analytic-Based Selectors
Using grids and graphs as selectors adds a new dimension of depth to your dashboards.
118 Selectors
run the To see this dashboard in action, you can located in the Performance Management dashboard MicroStrategy Tutorial project in the Shared Reports\Dashboards and Scorecards folder. This scenario uses one graph targeting another graph. The pie chart does not actually become a selector, but behaves in a similar manner as a selector. You can use the lower panel stack or the Top 5 Suppliers grid/graph as the target for the pie chart.
Selectors
119
assumes you have already This procedureuse as the selector, as well ascreated a grid/graph to the panel stack or grid/graph to use as the target. The selector and target must have an attribute or metric in common. That is, the grid/graph that serves as the selector and the target grid/graph should be based on datasets that have an attribute or metric in common. 1 Open the document in Design Mode or Editable Mode. 2 Select the grid/graph to use as the selector.
120 Selectors
You can use grouping to customize the output of selectors in dynamic dashboards. The item you select in the grouping object controls the elements listed in the selector. The following example uses grouping on the Region attribute and a radio button selector on the Call Center attribute, which controls the output on the grid. When you choose a region (such as Northwest), the selector automatically displays only the call centers that belong to that region:
Grouping and Selectors Example
1 Open the document in Design Mode or Editable Mode. 2 In the Grouping pane, place a higher-level attribute (like Region). 3 Add the grid/graph to the Detail Header (or Body) section.
121
4 Add a selector and define its source as another related, but lower-level attribute (such as Call Center). 5 Specify the selectors target as the grid/graph.
Exercises
Layering Grids in a Panel Stack
Overview
In this exercise, you will create a dashboard that uses a grid and a graph on a multipanel panel stack. The focus of the exercise is to learn how to work with panels and panel stacks. The precise formatting and positioning of the objects is less important. The final output for the panels on your panel stack should resemble the following two images (additional guidelines are provided on the next page):
Country Headcount Panel
Exercises
123
If you want to create the document without following the detailed instructions, you can use the following guidelines: Use the 01 Blank Dashboard template to create the document. Add a panel stack. Use the panel stacks properties to name it Main Panel Stack. Name the default panel, Country Headcount. On the Country Headcount panel, insert the Employee Headcount by Country report located in the Shared Reports\Subject Areas\Human Resources Analysis folder. Switch the Employee Headcount by Country grid to display as a graph. On the Main Panel Stack, add another panel called Region Headcount. On the Region Headcount panel, insert the Employee Headcount by Region report located in the Shared Reports\Subject Areas\Human Resources Analysis folder.
124 Exercises
On the Main Panel Stack, define the title bar to display a custom titleHeadcount Information. The Main Panel Stack should have a drop shadow effect with 5 of 20 distance. The Main Panel Stacks title bar should use a grey-40% fill color and 12-point font. A button bar selector lets you switch between the panels. Apply optional formatting to the graph and grid, as described in steps 52 through 56. Save the document to the My Reports folder, naming it Grid Layers on Panel Stack.
Detailed Instructions
Log in to MicroStrategy Web
1 Depending on the configuration of your training environment, to connect to MicroStrategy Web, do one of the following: From the Start menu on your Windows desktop, point to Programs, point to MicroStrategy, point to Web, and select Web. OR Open your Internet browser and type the URL provided to you by your instructor. 2 On the MicroStrategy Web home page, click the MicroStrategy Tutorial project. 3 On the MicroStrategy Web login page, in the User name box, type the user name provided to you by your instructor. 4 In the Password box, type the password provided to you by your instructor. 5 Click Login.
2011 MicroStrategy, Inc. Exercises
125
6 On the project home page, click the Create Document link. 7 On the Create Document page, click 01 Blank Dashboard. 8 To familiarize yourself with the Blank Dashboard document template, in the Document Editor, on the Tools menu, select Sections. 9 In the Properties window, notice how only the Body section (Detail Header) is selected. Click Cancel to exit this window. 10 In the Layout area, on the placeholder panel stack, click Add Content and select Panel Stack. 11 On the panel stack toolbar, click Rename Panel.
12 In the Rename Panel window, in the Name box, type Country Headcount. 13 Click OK. 14 On the Country Headcount panel, click Add Content and select Report. 15 In the Select Dataset window, browse to the Shared Reports\Subject Areas\Human Resources Analysis folder, select Employee Headcount by Country. 16 Click OK. 17 Right-click the Employee Headcount by Country grid, point to View Mode, and select Graph View.
126 Exercises
18 Hover your cursor over the panel stack until you see the panel stack toolbar and click Add Panel .
19 With the new panel in view, on the panel stack toolbar, click Rename Panel.
20 In the Rename Panel window, in the Name box, type Region Headcount. 21 Click OK. 22 With the Region Headcount panel in view, on the panel stack toolbar, click Insert and select Report.
Exercises
127
23 In the Select Dataset window, in the Shared Reports\Subject Areas\Human Resources Analysis folder, select Employee Headcount by Region. 24 Click OK.
Assign a custom title to the panel stacks title bar
25 Right-click the panel stack (not the grid) and select Properties and Formatting. 26 In the Properties and Formatting window, under General, in the Name box, type Main Panel Stack.
Giving objects descriptive names is importantwhen because you can better identify these objects
you need to select them and modify them later on. Also, as objects become layered on top of one another, you will be able to find them by name in the Document Structure pane and the MicroStrategy Web toolbar in Editable Mode. 27 Under Panel Stack, notice how the Show Title Bar check box is enabled by default. In the Title drop-down list, select Custom Title. Panel Name selected by default. Current bar shows theiscurrent panel name,Typically the title but you want the title bar to show a panel stack name, which displays no matter which panel is currently in view. To ensure the panel stack name displays in the title bar, you choose Custom Title. 28 In the Custom Title box, type Headcount Information. 29 Click Apply.
Add a special effect to the panel stack
30 Under Format, select Effects. 31 Under Drop Shadows, select the Enable Drop Shadows check box. 32 On the Distance slider, drag the needle to 5 of 20. 33 Click Apply.
128 Exercises
2011 MicroStrategy, Inc.
34 Under Format, click Color and Lines. 35 On the right-most top drop-down list, select Title. 36 Under Fill, in the Color drop-down list, select Grey-40%. 37 Under Format, click Font. 38 In the Size list, select 12. 39 Click OK to return to the document.
Save your document
41 Name the document Grid Layers on Panel Stack and save it to your My Reports folder.
You cannot yet switch the panels in the panel stack because you need to include a selector.
43 Switch to Design Mode.
Exercises
129
44 With the Main Panel Stack selected, use the down keyboard arrow key to position the panel stack (and all of its contents) a little lower on the placeholder. You want to leave room at the top for the panel selector, as shown below:
45 Right-click the Main Panel Stack and select Create Panel Selector. 46 Position the panel selector above the Main Panel Stack, on the placeholder. Size it so that it matches the width of the panel stack, as shown below:
always a You shouldthe panelplace the selector inloselocation outside of stack, or else you sight of it when you toggle to a panel that is not the current panel. 47 Right-click the selector and select Properties and Formatting.
130 Exercises
48 In the Properties and Formatting window, under Properties, select Selector. Selector, the Action Type should list Select Under Under Targets, the Panel Stack box should Panel. list Main Panel Stack. 49 Under Properties, select Layout. 50 Under Selector, in the DHTML Style drop-down list, select Button Bar. 51 Click OK.
Test your new panel stack's interactivity
53 Click the buttons in the panel selector to switch between panels. 54 Save your document again.
Optional grid/graph formatting
55 You can switch to Editable Mode and resize the graph so that it displays better on the panel stack.
56 To remove the scroll bars on the grid, right-click the grid and select Properties and Formatting. 57 In the Properties and Formatting window, under Properties, select Layout. 58 Under Grid, in the Grid Overflow (HTML) drop-down list, select Clip. 59 Click OK.
Exercises
131
Selectors
Overview
In this exercise, you will practice creating different types of selectors. When you complete the exercise, the document should resemble the following image:
In this dashboard, you can select a category, which controls the subcategories listed in the check box selector. You can also select one or more metrics to display on the graph. The subcategories you choose also affect the graph. This dashboard behaves very much like the Product Performance dashboard, located in the Shared Reports\Dashboards and Scorecards folder. If you want to create the document without following the detailed instructions, you can use the following guidelines: Use the 02 Title and Content dashboard template to create the document.
132 Exercises
Use the Product - Monthly report, located in the Shared Reports\MicroStrategy Platform Capabilities\MicroStrategy Report Services\Datasets\Product Performance folder, as the dataset. The title of the dashboard is Product Performance. Add a Category static text box as the label for the Category drop-down selector. Add a panel stack on the bottom left of the placeholder and disable its title bar. This small panel stack contains the Subcategory check box selector. Add a grid to the bottom right of the placeholder that contains Quarter on the rows, Subcategory on the columns, and all of the datasets metrics. Set the grid to display in Graph view. The Category drop-down list selector targets the small panel stack that contains the Subcategory check box selector. The metrics radio-button selector targets the grid/graph. The Subcategory check boxes selector targets the grid/graph and lets users choose All Subcategories. It also lets users see the total for all subcategories. The grid/graph uses the Quick Switch feature to enable users to switch from graph view to grid view. Save the document to the My Reports folder, naming it Product Performance.
Exercises
133
Detailed Instructions
Create the document
1 On the MicroStrategy Web toolbar, click Create Document. 2 On the Create Document page, under Dashboard Templates, click 02 Title and Content. 3 In the Document Editor, on the Tools menu, select Dataset Objects to open the Dataset Objects pane (if it is not already open). 4 In the Dataset Objects pane, add the Product - Monthly report, located in the Shared Reports\MicroStrategy Platform Capabilities\MicroStrategy Report Services\Datasets\Product Performance folder, as a dataset.
Add a title
5 In the Layout area, double-click inside the top-most text box and type Product Performance as the title.
134 Exercises
2011 MicroStrategy, Inc.
6 In the Layout area, on the placeholder panel stack, click Add Content and select Text. 7 In the text box, type Category: and resize the text box to accommodate the text, as shown below:
8 On the Insert menu, select Panel Stack. 9 Place the panel stack on the bottom left of the placeholder. 10 Use the Properties and Formatting window to disable the title bar for the panel stack.
Add a grid
Exercises
135
13 In the Dataset Objects pane, under the Product - Monthly dataset, drag Quarter and place it in the rows of the grid. 14 Drag Subcategory and place it in the columns. 15 Pressing the CTRL key, select all of the metrics and drag them to the metrics section of the grid, as shown below:
16 In the grid, right-click the Subcategory header and select Create Selector Control. 17 Place the new Subcategory selector on top of the bottom-left panel stack.
136 Exercises
surround the Look for the yellow lines tothe selector is panel stack, which indicates that associated with that panel stack. 18 Right-click the Subcategory selector and select Properties and Formatting. 19 In the Properties and Formatting window, under Properties, select Layout. 20 Under Selector, in the DHTML Style drop-down list, select Check Boxes. 21 In the Orientation drop-down list, select Vertical. 22 Click Apply. 23 Under Properties, select Selector. Source, and Target should be The Action Type,because you created the selector already defined from the attribute in the grid. If they are not, you may need to add the target for the selector manually. 24 Under Advanced, select the Show option for Total check box. Total The Show option for disablecheckbox is disabled by default. You need to the Apply selections as filter check box first. target By default, automaticthat youmaintenance isto select enabled. This means will not have a specific target and that it will be available automatically. You will notice in this exercise that some steps ask you to simply confirm that the automatically selected target is the correct one.
Exercises
137
26 Click OK. 27 Resize the Subcategory selector so that it takes more of the length of the panel stack.
Save the document
28 Save the document to the My Reports folder, naming it Product Performance. 29 Run the newly saved document and switch to Design Mode.
Add the Category selector
30 With the placeholder panel stack selected, in the Dataset Objects window, right-click the Category attribute and select Add Element Selector. 31 Place the new selector next to the Category label at the top of the placeholder. 32 Right-click the Category selector and select Properties and Formatting.
138 Exercises
33 In the Properties and Formatting window, under Properties, select Selector. 34 Under Advanced, clear the Show option for All check box. 35 Click OK. 36 Right-click the Category selector and select Select Target. 37 Select the bottom-left panel stack (the one that contains the Subcategory selector). 38 In the target selection mode toolbar, click the green check mark, as shown below:
target By default, automaticthat youmaintenance isto select enabled. This means will not have a specific target and that it will be available automatically. If you try to manually select target you will see a warning message that you will need to manually maintain targets for all selectors in the current layout, shown below:
39 In the grid, right-click the Metrics header and select Create Selector Control.
Exercises
139
40 Place the metrics drop-down selector between the Category selector and the panel stack as shown below:
41 Right-click the Metrics selector and select Properties and Formatting. 42 In the Properties and Formatting window, under Properties, select Layout. 43 Under Selector, in the DHTML drop-down list, select Radio Buttons. 44 Click Apply. 45 Under Properties, select Selector. Target are The Action Type andthe selectoralready defined because you created from the Metrics header in the grid. 46 Under Advanced, clear the Show option for All check box. 47 Click OK. 48 Resize the metrics selector so that it takes up the width of the placeholder panel stack.
Switch the grid to Graph view and enable Quick Switch
49 Right-click the grid, point to View Mode, and select Graph View. 50 Right-click the graph and select Properties and Formatting. 51 In the Properties and Formatting window, under Properties, select Layout.
140 Exercises
52 Under Grid, select the Quick Switch check box. 53 Click OK.
Save the document and study it in Interactive Mode
54 Save the document again, replacing the existing document. 55 Run the newly saved document and study it in Interactive Mode. 56 In the Category drop-down selector, select Electronics. 57 In the metrics radio button selector, select Profit. 58 In the Subcategory check box selector, select Cameras and Computers. Your document should resemble image at the beginning of this exercise. 59 Hover your mouse to the top-left of the graph until you see the Quick Switch button (shown below) and click it:
60 In the Subcategory selector, select the Total check box. Total reflects values for all The Cameras and Computers. subcategories, not just
Exercises
141
Analytic-Based Selector
Overview
In this exercise, you will use a graph to control another graph. Imagine this design as just a section of a larger dashboard. When you complete the exercise, your final result should resemble the following image:
If you want to create the document without following the detailed instructions, you can use the following guidelines: Use the 01 Blank Dashboard dashboard template to create the document. Use the Performance by Store report and the Top 5 Suppliers in Category report, located in the Shared Reports\MicroStrategy Platform Capabilities\MicroStrategy Report Services\Datasets\Performance Management folder, as the datasets. Add a grid/graph that contains Category and Revenue from the Performance Management Dataset dataset to the top half of the placeholder panel stack.
142 Exercises
Add the Top 5 Suppliers in Category dataset with formatting to the bottom half of the placeholder panel stack. Use the Category attribute in the top grid to target the bottom graph. Switch the top grid to Graph view, displaying a pie chart. Optionally, apply graph formatting to the pie chart so that the reports name and the legend do not display. Also, change the font on all text to 8-point font. Save the document to the My Reports folder, naming it Analytic-Based Selector Example.
Detailed Instructions
Create the document
1 Create a new document, based on the 01 Blank Dashboard template. 2 In the Shared Reports\MicroStrategy Platform Capabilities\MicroStrategy Report Services\Datasets\Performance Management folder, add the following reports as datasets: Performance by Store Top 5 Suppliers in Category
Add a grid
3 Add a grid to the placeholder panel stack and position it so that it takes up the top half of the placeholder. 4 In the Dataset Objects window, under Performance by Store, drag Category and Revenue to the columns of the grid.
Add a graph
5 Right-click the Top 5 Suppliers by Category dataset and select Add to Section with Formatting.
Exercises
143
6 Position and size the grid/graph object so that it takes up the bottom half of the placeholder.
Set the grid to control the graph
7 Select the top grid. 8 Right-click the Category attribute and select Select Targets. 9 Select the Top 5 Suppliers by Category grid/graph. 10 Click the green check mark on the target selection mode toolbar. target By default, automaticthat youmaintenance isto select enabled. This means will not have a specific target and that it will be available automatically. If you try to manually select target you will see a warning message that you will need to manually maintain targets for all selectors in the current layout, shown below:
11 Right-click the grid, point to View Mode, and select Graph View. 12 Click the Graph menu to view the toolbar. 13 On the Graph toolbar, change the graph type to Pie. 14 Use the grids Properties and Formatting window to disable the title bar. 15 Disable the title bar on the bottom graph as well. 16 Save the dashboard to the My Reports folder, naming it Analytic-Based Selector Example.
144 Exercises
17 Run the newly saved document and study it in Interactive Mode. Your results should resemble the following image:
18 Switch to Editable Mode. 19 Click Restore Normal Screen Mode, as shown below:
20 Click the Graph menu to view the toolbar. 21 Select the pie graph.
Hide the graphs legend
22 On the Graph toolbar, click Legend to hide the legend, as shown below:
Exercises
145
23 On the Format menu, select Graph. 24 In the Format: Graph window, under Format, with Format and All Text listed in the top two drop-down lists, change the font size to 8 point. 25 Click Apply.
Hide the reports title
26 In the Format: Graph window, under Format, in the Format drop-down list, select Titles. 27 In the All Titles drop-down list, select Title. 28 Clear the Show check box. 29 Click Apply.
Display the category labels for the pie slices
30 In the Titles drop-down list, select Series Labels. 31 In the Title drop-down list, select Pie Labels for Books Revenue. 32 Select the Show check box. 33 Click Apply. 34 Repeat steps 31 - 33 for every pie label (series 2 through 4). 35 Click OK.
Study the document in Interactive Mode
36 Switch to Interactive Mode and test the interactivity by clicking any section of the pie chart and studying how your selection impacts the bar graph. 37 Save your document, replacing the existing document.
146 Exercises
Lesson Summary
In this lesson, you learned: The dashboard document templates enable you to create dashboards quickly, because you can place objects in predefined placeholders. MicroStrategy Web has five document display modes: View Mode, Interactive Mode, Editable Mode, Design Mode, and Flash Mode. In addition, you can choose to view documents in Full Screen Mode. A panel stack is a container for one or more panels. A panel on a panel stack can contain any content, such as grids, graphs, text boxes, images, and so forth. A panel stack can display a title bar that shows either a custom title or the names of the individual panels within the stack. The current panel is the panel in view. You can insert as many panels as you want within a panel stack. You can rename panels, change their order, and format their individual background colors. You can change the borders of a panel stack. You can format the font and background color of the title bar. Selectors enable users to interact with a dashboard by letting them choose which elements, metrics, or panels they want to view at a given time. A selector has the following components: style, action type, source, and target.
Lesson Summary
147
Depending on whether you enable or disable them, the following options impact the behavior of selectors: Allow multiple selections Automatically update when there is no data for the current selection Show option for Total Show option for All Automatically apply selector changes
You can format selectors like you can format other objects by changing their fonts, background colors, gradients, tooltips, borders, and so on. You can also format a selector so that the items listed within it display with the same width. Analytic-based selectors are grids/graphs that control other grids/graphs. These objects should be based on datasets that have at least one attribute in common.
3
FLASH MODE AND WIDGETS
Lesson Description
In this lesson, you will explore Flash Mode and all of the functionality that this document display mode offers.
149
Lesson Objectives
After completing this lesson, you will be able to: Understand the characteristics of documents that you display in Flash Mode and include advanced visualizations in these documents.
After completing the topics in this lesson, you will be able to: Explain the benefits of DHTML and Flash output formats and understand certain characteristics of Flash in particular. (Page 151) Use MicroStrategys out-of-the-box Advanced Visualization Library to include data widgets in your documents. (Page 158) Use Flash-specific formatting features to enhance documents that display in Flash Mode. (Page 178)
DHTML Benefits
All of the features and functionality that you have learned up to this point in the course focus on pure DHTML (also called AJAX) functionality. Each of the MicroStrategy Web document display modesView Mode, Interactive Mode, and Editable Mode are DHTML modes. Documents that display in DHTML offer the following benefits: Shorter initial load timeWhen you view a document in DHTML, you do not download all of the content for a document all at once. Instead, you download content on demand from the Web server. This behavior helps shorten the documents initial load time. Incremental fetch of dataWith DHTML as your document format, you can enable incremental fetch, which makes it possible to download slices of data from the Web server in increments. This feature helps minimize the documents initial load time even further. For documents that contain a large amount of data, DHTML might perform better than Flash. True zero footprint on the clientWhen you view a document in DHTML, you do not need additional applications installed on your client machine. A standard Internet browser is the only required application. Minimal security issuesBecause documents in DHTML do not require the use of special plugins (like Flash), they enable corporations to maintain strict security policies prohibiting users from downloading such plugins.
151
Smaller output filesDepending on the amount of data in the document, documents in DHTML format typically produce smaller output files than those in Flash. Best mode for PDF display, printing and archivingDocuments that you view in DHTML also display well in PDF. When converted to PDF, they print easily and produce the smallest-sized files for archiving.
Flash Benefits
While DHTML has its benefits, you might want documents that offer a greater level of interactivity. To address this need, MicroStrategy Web offers a Flash Mode, which displays Adobe Flash technology within documents. Flash Mode offers the following benefits: Immediate interactive responseDocuments that display in Flash Mode automatically download all data to the client machines browser, which means that all manipulations and interactivity happen locally, without requiring trips back and forth to the Web server. This behavior typically results in much faster response to user interactions. Also, if documents contain attributes in the Grouping pane, grouping occurs locally within the Flash dashboard on the client browser as well. Advanced visualizations and animationsMicroStrategy offers an out-of-the-box library of advanced Flash visualizations (or data widgets) that go beyond standard graphs. Examples of widgets are time series sliders, gauges, and heat maps. These sophisticated graphs make it possible for users to view and interact with the graphical data, much like they are accustomed to interacting with grids. Disconnected operationYou can export a document saved in Flash Mode to an MHT file. This type of file enables you to view the document, with all of its Flash functionality, without being connected to the MicroStrategy environment. In addition, using MicroStrategy Office, you can run documents saved in Flash Mode in Microsoft Word, Powerpoint, Excel, and Outlook and retain all the Flash functionality.
Unlimited visualization extensibilityMicroStrategy offers native integration with Adobe FlexBuilder 3 IDE (the application that enables you to create Flash widgets). You can create any visualization, and simply plug it into MicroStrategy. You can also import third-party visualizations. on For more informationreferextending the visualization library, to the MicroStrategy Developer Library (MSDL) provided with MicroStrategy SDK.
Because Flash is a native part of MicroStrategys architecture, any documents you design in the Editable Mode are also available in Flash Mode. In other words, with Report Services, you can design a document once and then decide if you want to view it in any of the DHTML modes or Flash Mode, or all modes. Although it is possible to toggle between DHTML and Flash Modes, in most reporting environments, users would analyze a document in one mode. They might toggle modes when they want to view a document that displays by default in Flash Mode in one of the DHTML modes instead, possibly because they do not have a Flash player installed on their client machine. Switching from Flash Mode to any of the DHTML modes is as easy as selecting a new display mode on the View menu (or selecting the appropriate view button in the toolbar). want view Flash Besides toggling, ifinusersof the to alwaysmodes, they Mode documents one DHTML can disable the Enable Flash Mode option in their Report Services User Preferences in MicroStrategy Web. When this setting is disabled, documents that open by default in Flash Mode will open in Interactive Mode instead (assuming that Interactive Mode is enabled).
153
As you know, MicroStrategy offers many out-of-the-box graph types. Unfortunately, not all graphs that are available in DHTML modes are available in Flash Mode. MicroStrategy uses the Adobe Flex 3 Framework to generate Flash graphs and Adobe Flex Charts only supports a subset of the charts in MicroStrategy's graph library. The following table lists the graph types supported in Flash Mode:
Graph Types Supported in Flash Mode
Graph Type (graph subtype) Area Vertical (percent, stacked, absolute) Area Horizontal (absolute) Bar Horizontal (clustered, absolute, percent, stacked, clustered dual axis) Bar Vertical (clustered, absolute, percent, stacked, clustered dual axis) Pie (pie, ring pie) Line Horizontal (absolute, dual axis absolute) Line Vertical (absolute, dual axis absolute) Scatter (X-Y scatter, X-Y scatter dual axis) Hi-Low (Hi-Low Open Close) Bubble
uses a graph If a graph object in a documentthe graph doestype that is not supported by Flash, not display in Flash Mode. In its place, the user sees a message stating The selected graph type is not currently supported in Flash. Like documents in DHTML format, documents that display in Flash Mode automatically inherit all of the security and scalability features that come with the MicroStrategy platform. When you print a document from Flash Mode, the printed version of the dashboard resembles the default DHTML view of the dashboard. Some objects may not print due to their interactivity requirements (like macrographs in a time slider series widget).
155
You can export a document in Flash Mode to MHT format and analyze it offline. Like documents that you view in the DHTML modes, you can run documents saved in Flash Mode using MicroStrategy Office in Microsoft Word, PowerPoint, Excel, and Outlook. You can work offline with these documents and take advantage of their Flash functionality. In addition, with MicroStrategy Distribution Services, you can subscribe to receive documents saved in Flash Mode by e-mail. All of the documents Flash features display in the e-mail body or attachment. more on MicroStrategy Office, For Officeinformation product manual. For see the User Guide information on MicroStrategy Distribution Services, see the System Administration Guide product manual.
You must use Microsoft Internet Explorer to open .mht files. Other browsers do not currently support
opening .mht files, unless you use special plugins.
1 Open the desired document in MicroStrategy Web. 2 On the toolbar, click Flash:
toolbar, are Flash buttons. To On the to MHT, therewanttwoclick the right-most export you to button, as shown above. 3 In the MicroStrategy Web warning window, which states that you need to save the exported file locally before opening it, click OK. 4 In the File Download window, click Save. 5 Save the file to a desired location. 6 In the Download Complete window, click Close. 7 Close the Export page. 8 Browse to the location where you saved the file and open it. file The.mhtwill have the same name as the document, plus the extension.
157
Advanced Visualizations
After completing this topic, you will be able to: Use MicroStrategys out-of-the-box Advanced Visualization Library to include data widgets in your documents.
Widgets are interactive, Flash-only graphs that dynamically update when you select a new set of data to view. MicroStrategy offers several widgets that you can use in Flash dashboards. Each of these widgets typically serve a specific business purpose and have strict data requirements. In Desktop, you define widgets in Design Mode. In MicroStrategy Web, you define widgets in Design Mode or Editable Mode. To interact with widgets, you must view the document in Flash Mode.
Single-Value Widgets
To represent a single value in a visual manner, dashboard designers often use gauges, thermometers, or cylinders. A Gauge widget is much like a cars speedometer. It displays a needle that moves within a range of numbers shown on the gauge, as shown below:
Gauge Widget
The needle within the gauge is a visual representation of the single metric value (in the previous example, the Profit Margin metric). of a gauge To see an examplePerformancewidget in a document, run the Regional Management Dashboard in the Shared Reports\Dashboards and Scorecards folder. The Cylinder widget displays a vertical cylinder with fluid in it. The level of the fluid represents the metrics value, as shown below for Revenue Risk:
Cylinder Widget
of a cylinder widget To see an exampleCustomer Scorecard in a document, run the Predictive document in the Shared Reports\Dashboards and Scorecards folder.
Advanced Visualizations
159
A Thermometer widget shows the level of the temperature to represent a metrics value, as shown below for Percent Growth:
Thermometer Widget
are particularly Thermometerstoward a specificuseful if you want to track progress goal. Each of these widgets share the same data requirements, namely: The source dataset must contain one attribute in the rows and one metric in the columns. You must include a selector if you want users to interact with the widget.
The image below shows the widget template in Design Mode for the Gauge widget in the previous example:
Gauge Widget Template
best practices Keep in mind the dashboard designand cylinders. when using gauges, thermometers, Unless you have unlimited screen space for your dashboard, you might save valuable space by listing a single value metric as text. If you need the visual impact of a Flash widget, a thermometer or cylinder uses less space than a gauge.
Inserting Widgets
The process by which you insert a widget into a document is the same, no matter which widget you choose.
To include a widget in a document:
the You must haveWebWeb Document Design privilege (a MicroStrategy Professional privilege) to add a widget or modify its properties. 1 Select the panel, or section in the Layout area to which you want to insert a widget. 2 Do one of the following:
Advanced Visualizations
161
On the Insert menu, select Widgets, and select the appropriate widget. OR On the Insert toolbar, in the Widget drop-down list, select the appropriate widget, as shown below:
3 Drag the widget to the panel or section. A grid-like object represents the widget. You can right-click this object to modify any of its properties. 4 Define the widget by placing report objects, such as attributes and metrics, on the widget grid.
1 Right-click the grid/graph that you want to display as a widget and select Properties and Formatting.
meet the The grid/graph mustthe widgetwidgets data in requirements or else will not render Flash Mode and you will receive an error message. 2 In the Properties and Formatting window, under Properties, select Flash. 3 Under Widget, in the Selected Widget drop-down list, select the desired widget. 4 Click OK.
of the Time Series Slider widget, To see an exampleStatements document in the Shared run the Financial Reports\Dashboards and Scorecards folder.
Advanced Visualizations
163
The Time Series Slider widget has the following data requirements: The source report must contain one attribute along the rows. This attribute is normally time-based, but does not have to be time-based. The attribute displays on the X-axis of the chart. should contain many values (like The attributeor months). In the example, the days, weeks, X-axis represents the Day attribute. The source report must contain one or more metrics along the columns. The metrics display on the Y-axis of the chart. In the example, the Close Price metric displays on the Y-axis. along If the source report has more than one metricarea the columns, the graphs display as a stacked chart. To see an example of a Time Series Slider with multiple metrics, run the Corporate Sales Overview dashboard in the Shared Reports\Dashboards and Scorecards folder of the MicroStrategy Tutorial project and click the Regional tab. No separate selector is required for interactivity.
The image below shows the widget template for the Time Series Slider widget:
Time Series Slider Widget Template
As you select regions, more series display in the area chart. When all of the series display, the chart represents the total of all the series. If you want to view how a single series contributes to the total, simply click a single region. If you want to view how multiple series contribute to the total, use the CTRL key to multiselect several regions (highlighted in the image below). This type of widget enables you to quickly analyze how the individual parts make up the whole, which is useful when analyzing percent-to-total contributions. To use an interactive stacked graph, you must meet the following requirements: The source report must contain two attributes: One attribute must display along the rows (for the graphs X-axis). In the previous example, the Month attribute
Advanced Visualizations
165
displays along the X-axis. Another attribute must display along the columns (for the check box selector). In the example, the Region attribute acts as the check box selector. The source report must contain one metric along the columns (for the graphs Y-axis). In the example, the Revenue metric is measured along the Y-axis. Interactive Stacked Graph Since theits own built-in selector, youwidget need contains do not to create a separate selector to make the widget interactive. The image below shows the widget template for an Interactive Stacked Graph widget:
Interactive Stacked Graph Widget Template
another example of an To see widget, run the SupportInteractive Stacked in Graph Center Dashboard the Shared Reports\Dashboards and Scorecards folder.
Heat Map
Heat maps (also called treemaps) display a combination of colored rectangles, each representing an attribute element. Heat maps enable you to quickly grasp the state and impact of a large number of variables at once. Heat maps are often used in the financial services industry to review the status of a portfolio. The size of each rectangle represents its relative weight. The color represents the relative change in the value of a rectangle. The smaller rectangles represent individual elements that form the larger rectangle. For example, in the image below, the heat map displays several rectangles. Each rectangle represents individual subcategories. The large rectangles represent the categories to which those subcategories belong. The size of each subcategory rectangle represents its relative weight in terms of revenue. The color represents the state of the individual subcategories in terms of positive or negative revenue growth. The darkest rectangles have the lowest percent of revenue growth while the lightest rectangles have the highest percent of revenue growth. When you place your cursor over the darkest rectangle, a tooltip displays to show the Computers subcategory, the Revenue value, and the Percent Growth value.
Heat Map Widget
Advanced Visualizations
167
To use the Heat Map widget, you must meet the following requirements: One or more attributes along the rowsIf you use one attribute only, this attribute represents the large rectangles whose names display in the widget. If you add another attribute, it represents the smaller rectangles that fall within the larger ones. can This widgetwith ause any number of attributes. Attributes parent-child relationship work best, because they are nested within one another on the Heat Map. Two metrics along the columns The first metric determines the relative size of each of the smaller rectangles within the larger rectangle. Items with lower values display as smaller rectangles. The second metric (value between -1 and 1) determines a rectangles color. on the widget If you include more than two metricsthe drop-down template, they display as options in list in the interactive pane. A separate selector for interactivity the document In the example on the previous page, based on the contains a separate element selector Month attribute. The widgets source dataset also contains the Month attribute.
The image below shows the widget template for a Heat Map widget:
Heat Map Widget Template
Advanced Visualizations
169
With the interactive pane, you can choose which metrics control the size of the rectangles and the color of the rectangles. As you can see in the image above, the Percent Growth metric currently controls the color.
You can also filter the number of elements you see in the widget using two metric filter sliders. One slider filters data elements based on the metric that defines the size of each rectangle. The other slider filters data based on the metric that controls the color of each rectangle. When you move the thumbs of the sliders, any regions that are excluded on the Heat Map display as shaded while those still in view are highlighted. By selecting the Filter check box, you can remove from view the rectangles that are excluded. This makes it easier to focus on the elements of interest. The interactive pane also makes it possible to perform the following actions: Pivot or completely remove attributes from the widget template Use the Search to quickly navigate to a specific element Zoom to view a specific element Move, resize, minimize, dock, or close the interactive pane Format colors to use blending or banding Refresh the Heat Map to return to its original state View a list of deleted items, which displays the names of all the rectangles that you have removed from view
1 With the document open in Flash Mode, right-click the widget, and select Interactive. 2 Perform manipulations to the Heat Map as desired.
Advanced Visualizations
171
The following image shows the Heat Map when the interactive pane is docked; the Revenue metric controls the color; the Category and Subcategory attributes are pivoted; and the color bands are red and green instead of black and white:
Heat Map - Modified
For more information on the interactive pane, see the MicroStrategy Web online help.
Advanced Visualizations
173
The image below shows an Interactive Bubble Graph. You can click the arrow Play button (on the top left) to view the trend over time. You can double-click individual bubbles to drill to more detailed data. You can select multiple bubbles by holding the CTRL key, and you can also make a selection of bubbles using Marquee Selector. Drawing a marquee is initiated automatically when you click and drag the pointer. The zoom button appears inside the selection when the mouse pointer is inside the box.
Interactive Bubble Graph Widget
The bubbles represent different call centers for each year. Their positions reflect their performance for Revenue per Employee and Profit per Employee. Their size reflects the number of units sold. The Interactive Bubble Graph widget has the following data requirements:
At the very least, one attribute and three metrics are required. Depending on whether you want color coding, animation, or drilling, you should include additional attributes, as specified below: One attribute along the rows for the series (bubble) Optional additional attribute to the left of attribute along rows for series animation and drilling One attribute along columns (for color coding) Three metrics along columns (X-axis position, Y-axis position, and size of bubble)
For time animation, one extra unit is required on the time axis. If you enable time animation, the left-most attribute on the row axis represents time and groups the data for animation. For drilling, the data that drives the X and Y axis should be non-summing functions, like Average and Standard Deviation. This makes the range (scale) of values for the parent bubbles and child bubbles similar. In addition, for drilling, the source report requires specific formatting, which you can achieve by using a custom group or advanced subtotals in MicroStrategy Desktop. When using a custom group, you must set the display options so that the individual child elements display under the total for the custom group element. learn more about the advanced subtotals You willin an exercise at the end of this lesson. For method additional information on the requirements for the Interactive Bubble Graph widget, refer to the MicroStrategy Report Services Document Creation Guide product manual.
Advanced Visualizations
175
The image below shows the widget template for an Interactive Bubble Graph widget:
Interactive Bubble Graph Widget Template
1 Right-click the widget and select Properties and Formatting. 2 Under Properties, select Flash. 3 Under Widget, in the PDF & Excel drop-down list, choose one of the following options: To display the underlying grid/graph instead of the widget in PDF and Microsoft Excel, select Show Grid or Graph.
To display an empty placeholder instead of the widget in PDF and Microsoft Excel, select Show Placeholder. The container of the grid/graph object displays, with the border and background formatting. The following message displays within the container: "Flash Widgets cannot be rendered in this display." This message displays in View and Interactive Mode only. To display nothing instead of the widget in PDF and Microsoft Excel, select Hide Grid or Graph.
4 Click OK.
Advanced Visualizations
177
Flash-Specific Formatting
After completing this topic, you will be able to: Use Flash-specific formatting features to enhance documents that display in Flash Mode.
There are certain types of formatting that you can display only in Flash Mode.
Formatting Widgets
You can format a variety of aspects of widgets, including fonts, colors, and data markers. Each widget has its own specific set of formatting features. For example, you can format the type of cylinder that displays in a Cylinder widget or the color of the bubbles in an Interactive Bubble Graph widget. You access the formatting options by right-clicking the widget and selecting Properties. of the You will explore someperformwidget formattingthis properties when you the exercises for lesson. For more detailed information on specific widget formatting properties, refer to the MicroStrategy Web online help. Many of the widgets, such as the gauge, thermometer, and cylinder widgets, can inherit formatting defined within the widget template. For example, when you define specific number formatting for the metric values of a cylinder within the Cylinder widget template (for instance, a percentage with 0 decimal points), the same number formatting displays when you view the widget in Flash Mode. Generally, you should define as many formatting options as possible within the widget template and enable the widget to inherit that formatting when it displays in Flash Mode. This typically improves the time it takes to render the widget.
Rounded Corners
Documents that display in Flash Mode can display panel stacks and rectangles with a more customized, rounded effect. that Rememberin theyou can always use roundedto rectangles DHTML modes. However, customize the rounded effect of these shapes, you use the rounded corners option in Flash Mode. Rounded panel stacks are only available in Flash Mode. The image below shows the rounded, glossy look of the Corporate Performance panel stack in Flash Mode as compared to the traditional square corners of the Regional Performance panel stack:
Rounded Effect in a Flash-mode Panel Stack
To control how rounded corners display for rounded panel stacks or rectangles in Flash Mode, you can specify the radius, which sets how round the corners are. A larger radius produces a more rounded corner. You can also specify whether to round all corners or just the top corners.
To apply a rounded effect on a panel stack in Flash Mode:
1 Open the document in either Design or Editable Mode. 2 Right-click the panel stack (or rectangle) to which you want to apply the rounded corners and select Properties and Formatting.
Flash-Specific Formatting
179
3 In the Properties and Formatting window, under Format, select Effects. 4 Under Corners (Flash Only), select the Use Rounded Corners check box, as shown below:
5 Use the Rounded Corner Radius slider to determine the extent to which a clear rounded corner is displayed in Flash Mode. To emphasize the rounded corners, move the slider further to the right. 6 If you want to display rounded corners for the top corners only, select the Top Corners Only check box. 7 Click OK.
Transition Animations
You may notice that when objects such as grids and graphs and panel stacks first display in Flash Mode, they fade or blur as they appear on the document. These visual animations are transitions that you can enable in grid/graph objects and panel stacks. For example, a graph may fade slowly onto the screen when you select an item from a selector in the document. Transitions can take effect when you first open a document in Flash Mode or when you choose a new element from a selector. animations in action, run the To see transitionOverview dashboard located in the Corporate Sales Shared Reports\Dashboards and Scorecards folder. Notice how the Regional Performance line graph slowly fades onto the screen. Also, on the City panel, when you click a specific city, the Monthly Revenue line graph displays a transition.
To enable a transition animation for an object in Flash Mode:
1 Open the document in either Design Mode or Editable Mode. 2 Right-click the object for which you want to enable a transition animation and select Properties and Formatting. 3 In the Properties and Formatting window, under Properties, select Flash. 4 Under Transition, in the Selected Transition drop-down list, select the desired transition. transitions that the The types oflist depend on thedisplay inThe list of drop-down object. transition types for graphs is different than the list for grids and panel stacks. 5 In the Speed drop-down list, select the desired speed. 6 Click OK.
Flash-Specific Formatting
181
7 Switch to Flash Mode. 8 Select items from a selector to see the transition take effect.
1 Open the document in either Design Mode or Editable Mode. 2 Right-click the selector and select Properties and Formatting. 3 In the Properties and Formatting window, under Properties, select Layout.
4 Under Selector, select the Change Selection on Mouse Over check box, as shown below:
5 Click OK. 6 Switch to Flash Mode. 7 Mouse over the selector and observe the previews.
Flash-Specific Formatting
183
Exercises
Time Series Slider Widget
Overview
In this exercise, you will create a dashboard that will ultimately display three different types of widgets. The first type of widget you create is the Time Series Slider. When you have completed this exercise, your dashboard should resemble the following image:
184 Exercises
Detailed Instructions
Create the dataset
1 In MicroStrategy Web, create a report that contains the following: Category (from the Products folder) Day (from the Time folder) Units Sold (from the Metrics\Sales Metrics folder)
To locate the Units Sold metric, you need to click 2 or, in tree view, click Next 30 items to see
additional metrics in the Sales metrics folder contents. The report should display as follows in Design Mode:
2 Save the report to the My Reports folder, naming it Daily Category Units Sold.
Create the document
3 Create a new document, using the 01 Blank Dashboard template. 4 Add the Daily Category Units Sold report as a dataset to your document. 5 In the Layout area, click Add Content and select Panel Stack. 6 Using the panel stack toolbar, rename the current panel, calling it Daily Category Units Sold. 7 Using the panel stack toolbar, add a new panel to the panel stack and name it Panel X.
Exercises
185
9 With the panel stack selected, right-click and select Create Panel Selector. 10 Place the panel selector immediately above the panel stack (outside of it) and size it to take up the width of the panel stack, as shown below:
11 Using the selectors properties, change the DHTML Style to Button Bar.
Create a Time Series Widget
12 On the panel stack toolbar, click the arrow button to view the Daily Category Units Sold panel. (You can ensure that you are viewing the correct panel by looking at the title bar.) 13 On the panel stack, click Add Content, select Widgets, and select Time Series Slider.
Alternatively, on the panel stack toolbar, you can click the Insert button, select Widgets, and select
Time Series Slider.
186 Exercises
The widget displays as a grid with a special icon on the bottom right to indicate that it is a widget, as shown below:
on your computers Depending entire section in the screen resolution, to view the Layout area, you might want to change the zoom factor to 75%. 14 From the Daily Category Units Sold dataset, drag the Day attribute onto the row axis and the Units Sold metric onto the column axis of the widget grid. Your template should resemble the following image:
15 On the Tools menu, select Document Properties. 16 In the Document Properties window, under Document Properties, select Document.
Exercises
187
17 Under Run Modes, in the Run by default as drop-down list, select Flash. 18 Click OK. 19 Save the document in your My Reports folder and name it Flash Widgets Dashboard. 20 Run the newly saved document and view it in Flash Mode. 21 Mouse over the arrow buttons (located in the upper left-hand corner of the dashboard) to view the macrograph of the time series. Move the slider and the slider's endpoints to change the range of data that displays on the main graph. 22 Right-click the main graph and select Properties. 23 Notice the various formatting properties available for the Time Series Slider widget. Change any of these properties as you like.
188 Exercises
Detailed Instructions
Create the dataset
189
Category (from the Products folder) Subcategory (from the Products folder)
2 Add the following metrics to the columns: Revenue (from the Metrics\Sales Metrics folder) Percent Growth (from the Metrics\Sales Metrics folder)
3 Include a filter for year 2009. In Design Mode, the report should display as follows:
4 Save the report to the My Reports folder, naming it Subcategory Revenue Analysis.
Edit your existing document
5 Open the Flash Widgets Dashboard you created in the previous exercise in Design Mode. 6 Add the Subcategory Revenue Analysis report as a new dataset. 7 Using the arrows on the panel stack toolbar, switch from the Daily Category Units Sold panel to Panel X. 8 Rename Panel X, Product Growth Analysis. 9 Insert a Heat Map widget and position the widget within the Product Growth Analysis panel.
190 Exercises
10 From the Subcategory Revenue Analysis dataset, drag Category and Subcategory to the rows of the widget grid. 11 Drag Revenue and Percent Growth to the columns of the grid. Your widget grid should resemble the following:
12 Resize the grid to leave room at the top of the panel for a new selector.
Create a Selector
target is enabled By default, automatic meansmaintenance not have to for this exercise. This that you will select a specific target and that it will be available automatically. You will notice in this exercise that some steps ask you to simply confirm that the automatically selected target is the correct one. 13 Add a drop-down selector to the current panel, positioning it above the widget grid, as shown below:
Exercises
191
Show option Disabled for All Target Heat Map widget grid (Grid/Graph#, where the # is the highest of the two grid/graphs)
15 Save the document (overwriting the existing document) and run the newly saved document in Flash Mode. 16 Change the month in the selector to Mar 2009. Notice the difference in size between the Electronics category and the other categories. The Electronics subcategories use larger rectangles because their revenue is greater. Also notice the difference in color between the Electronics - Miscellaneous subcategory and the Cameras subcategory in the Electronics area. Electronics Miscellaneous is green because it had over 40% revenue growth and Cameras is red because it had only a little over 10% revenue growth. The colors change depending on the percent growth metric. 17 Right-click the Heat Map and select Properties. Flash In thesettingsproperties, you can modify certain basic such as header, border and background colors, metric scale boundaries, and more. 18 On the Format tab, change the Header Color as you like and observe the changes in your document.
Use the Heat Map Interactive Pane
192 Exercises
20 Under Attributes, in the Grouping list, pivot the Subcategory attribute above the Category attribute (look for the blue line for exact placement) and observe the changes in the widget. 21 Pivot Subcategory back to its original position. 22 Under Controls, in the Size drop-down list, select Percent Growth. 23 In the Color drop-down list, select Revenue and observe the changes. Notice how the rectangles are more similar in size now that they are sized by the Percent Growth metric. Which subcategory in Electronics has the lowest revenue? 24 Under Metric Filters, under Color: Revenue, move the right-most thumb so that it rests at approximately the $60,000 mark. Notice how the Electronics subcategories become shaded, since they do not fall within this revenue range. 25 Under Metric Filters, select the Filter check box. This action removes the Electronics subcategories from view. 26 Under HeatMap Colors, select Band Colors. 27 Pressing the CTRL key, click inside the red band to add a new thumb. 28 Position the new thumb at approximately the $15,000 mark. 29 Position the right-most thumb at approximately the $30,000 mark.
Exercises
193
30 Double-click the middle range and change the color from red to any blue hue. The interactive pane should display as follows:
194 Exercises
Notice how only the subcategories with the lowest revenue now display in red. Your Heat Map should display as follows:
Exercises
195
Detailed Instructions
Create the dataset
1 Create a report that contains the following objects on the rows: Month of Year (from the Time folder)
196 Exercises
Region (from the Geography folder) Call Center (from the Geography folder)
2 Add the following objects to the columns: Year (from the Time folder) Revenue per Employee (from the Metrics\Sales Metrics folder) Profit per Employee (from the Metrics\Sales Metrics folder) Units Sold (from the Metrics\Sales Metrics folder)
In the All Objects click Next 30 items (inpane,view) 2to(in List view) orSold Tree find the Units metric. 3 Add a report filter for the Central and South regions. Your template should resemble the following:
4 Run the report. 5 On the Data menu, select Edit Totals. 6 In the Subtotals Editor, click the Advanced tab. 7 Below the Total drop-down list, select Across Level.
Exercises
197
8 Clear the Month of Year check box and select the Call Center check box, as shown below:
9 Click the Display tab. 10 Under Subtotals position by row, select Top of each level. 11 Click OK to exit the Subtotals Editor. The report results should resemble the following image:
13 Open the Flash Widgets Dashboard in Design Mode. 14 Using the arrows on the panel stack toolbar, switch from the Product Growth Analysis panel to Panel Y. 15 Rename Panel Y, Employee Performance.
198 Exercises
16 On the panel stack toolbar, click Insert and select Report. 17 In the Select Dataset window, in the My Reports folder, select the Employee Performance report. 18 With the Add with formatting check box selected (by default), click OK. report the Your original metric already hasto becorrect attribute and placement converted into an interactive bubble graph widget. Your grid should resemble the following:
19 Right-click the grid and select Properties and Formatting. 20 In the Properties and Formatting window, under Properties, select Flash. 21 Under Widget, in the Selected Widget drop-down list, select Interactive Bubble Graph. 22 Click OK.
Save and run the document
23 Save the document (overwriting the existing document) and run the newly saved document in Flash Mode. 24 To modify the look of the interactive bubble graph, right-click the bubble graph and select Properties. 25 On the General tab, select the Display legend outside of graph check box.
Exercises
199
26 Click the Time Analysis tab. Notice the Enable time series analysis option is enabled by default. Also, notice how you can use the Time Animation Control properties to customize the look of the Play button. 27 On the Drilling tab, select the Enable drilling check box. 28 Click OK to exit the Properties window. The Employee Performance Analysis panel of your dashboard should display as follows:
29 Browse over the bubbles and notice how they represent the Central and South regions for different years. 30 Double-click the January 2009 South bubble (the second top-right bubble). You should see the two new bubbles display that show the individual call centers within that region (Memphis and New Orleans for 2009). The parent bubble that you clicked represents the total for those two call centers.
200 Exercises
enable drilling on Interactive You could alsowidget by includingthecustom group Bubble Graph a in your dataset. Custom groups are MicroStrategy application objects that are made up of individual custom group elements. Each custom group element has its own distinct filtering criteria. For more information on custom groups, refer to the MicroStrategy Desktop: Advanced Reporting course or the MicroStrategy Advanced Reporting product manual. 31 To test the time animation, move your mouse to the top left corner of the bubble graph until you see the Play button. 32 Click Play to observe the time animation as it moves from month to month.
33 Did the South region maintain good performance through the years? You can spot this type of information quickly when viewing it through an animated bubble graph widget, instead of searching through a grid of metric values. 34 Save the document, replacing the existing version.
Exercises
201
Detailed Instructions
Apply a custom rounded effect
1 With the Flash Widgets Dashboard open in Design Mode, right-click the panel stack and select Properties and Formatting. 2 In the Properties and Formatting window, under Format, select Effects. 3 Under Corners (Flash Only), notice the Use Rounded Corners check box is already enabled. Use the Rounded Corner Radius slider to change the radius to 7 of 20. 4 Select the Top Corners Only check box. 5 Click OK.
Enable the Change Selection on Mouse Over option
6 Right-click the panel selector at the top of the dashboard and select Properties and Formatting. 7 In the Properties and Formatting window, under Properties, select Layout. 8 Under Selector, select the Change Selection on Mouse Over (Flash Only) check box. 9 Click OK. 10 Save the dashboard (overwriting the existing document) and run the newly saved document.
202 Exercises
11 Observe the formatting changes to the document: Notice that when you place your mouse over the dashboard panels, you automatically see a preview of the panel that you mouse over. Notice the rounded top corners of the panel stack.
Exercises
203
Lesson Summary
In this lesson, you learned: The View, Editable, and Interactive document display modes use DHTML functionality. Running Report Services documents in the DHTML modes has the following benefits: Shorter initial load time Incremental fetch Zero footprint on the client Minimal security issues Smaller output files Best mode for printing, PDF viewing, and archiving Flash Mode uses Adobe Flash technology to provide the following benefits: Immediate interactive response Advanced visualization animations Disconnected operation Unlimited visualization extensibility
204 Exercises
The following are characteristics of documents in Flash Mode: To view documents, you must have a Flash player installed on your computer. In Flash Mode, you can perform basic grid/graph manipulations. Objects such as panel stacks and selectors have a sharper, richer display in Flash Mode, although their function is the same as in the DHTML modes. Not all graphs that are available in the DHTML modes are available in Flash Mode. When you print a document from Flash Mode, some objects may not print due to their interactivity requirements (like Time Series Slider macrographs). You can export a document saved in Flash Mode to MHT format and retain all of its Flash functionality. With MicroStrategy Office, you can render Flash Mode documents in standalone Microsoft Word, Excel, and PowerPoint files. With MicroStrategy Distribution Services, you can subscribe to receive documents that display in Flash Mode by e-mail.
Using MicroStrategys out-of-the-box visualizations, you can include the following types of widgets in your documents: Gauges, Thermometers, and Cylinders for single-value visualizations Time Series Slider Interactive Stacked Graph Heat Map Interactive Bubble Graph
Exercises
205
The following are Flash-specific formatting features: Widget formatting Transition animations Change Selection on Mouse Over (for Selectors)
206 Exercises
4
DESIGNING MULTIPANEL DASHBOARDS
Lesson Description
This lesson describes the process for designing a multipanel dashboard and provides a hands-on exercise for creating this type of dashboard from scratch.
207
Lesson Objectives
After completing this lesson, you will be able to: Understand the process of creating a multipanel, interactive dashboard.
After completing the topics in this lesson, you will be able to: Create a multipanel dashboard, including choosing the appropriate datasets, designing the layout, and building the dashboard. (Page 209)
Designing any type of dashboard requires some forethought. However, a multipanel dashboard, with its additional objects and interactivity, requires even more planning. The following topics offer suggestions for creating a multipanel dashboard efficiently.
209
In gathering requirements for the dashboard, determine if the dashboard needs to be printable in PDF (in other words, determine the desired output formats). Also, determine if the dashboard needs to be available offline. If so, it needs to be convertible to Flash. When polling the target audience, identify what portion of the data needs to be represented. For example, do users need to see year-to-date information, current quarter information, preceding 6 months data, or some other time frame?
211
When you need to select and modify certain objects in the document, use the Document Structure pane. This pane provides a tree-style view of the document contents and makes it easier to see the objects that are associated with each layer of the document. Consider delivering draft versions to your target audience as you continually build the dashboard. You can make adjustments along the way and leave most of the detailed formatting as the last step in the dashboard creation process.
Exercise
Multipanel Flash Dashboard
This exercise is loosely modeled after the Human Resources Analysis Dashboard located in the Human Resources Analysis Module project in the Shared Reports\Dashboards and Scorecards folder. When you complete the exercise, your dashboard should resemble the following images:
Headcount Summary Panel
Exercise
213
214 Exercise
The exercise walks you through the following tasks: Identify the datasets to include in the dashboard Devise an investigative workflow Build the dashboard including panels and panel stacks, selectors, grids/graphs, and so on
Exercise
215
The dashboard should display three distinct panels that offer different views of the human resources-related data, including the following: Headcount Attrition/Hiring Compensation
You have identified the following reports, which already exist in your MicroStrategy project: Headcount - KPIs (Primary) Headcount vs. Planned - Monthly Trend Headcount by Department Headcount by Region Attrition - Quarterly Trends Hiring - Quarterly Trends Hires by Recruiting Sources - Quarter Compensation - Quarterly Trends Compensation by Department Compensation by Department - Quarterly Trends
you valuable and to To saveon dashboard exercise timedatasetsfocus your efforts creation, the are prebuilt and available to you through the Human Resources Analysis Module project. Even though you are not tasked with creating the datasets, you should study their contents to better understand the source data for the dashboard you create in this exercise.
216 Exercise
Exercise
217
The following is a rough sketch of the layout and functionality of the dashboard, according to the three panels:
Headcount Panel
218 Exercise
Attrition/Hiring Panel
Compensation Panel
Exercise
219
From these images, you can try creating the dashboard to match the requirements without additional guidance. If you prefer to follow specific instructions, you can build the dashboard with the steps outlined in the next section.
1 On the MicroStrategy Web home page, click the Human Resources Analysis Module project. 2 Log in using the login name and password provided to you by your instructor. 3 Create a new document, using the 01 Blank Dashboard template. 4 In the Shared Reports\Dashboards and Scorecards\Datasets\Human Resources Analysis Dashboard folder, add the Headcount - KPIs report as a dataset. 5 Add a text box on the top left corner of the placeholder panel stack and type Human Resources Analysis as the title of the dashboard. Format, size, and position the text box as follows:
Title Text Box Properties
Property Font Left Definition Tahoma, 14-point, bold, black 0
220 Exercise
6 On the placeholder panel stack, add a new panel stack that covers the entire placeholder and has the following properties:
Main Panel Stack Properties
Property Name Left Top Definition Main Panel Stack 0 0.25
It is recommended that you assign document objects, such as panel stacks, grid/graphs, and
even text boxes, meaningful names so that you can locate them by name after the document contains many similar objects. Also, the width and height of the panel stack should size automatically to fit the space under the title text box within the placeholder panel stack. 7 Use the Main Panel Stacks toolbar to rename the current panel for this panel stack as Headcount Summary. 8 Save the document to the My Reports folder, naming it HR Analysis. to save frequently Rememberdashboard. as you continue to design the 9 Run the newly saved document and switch to Design Mode.
Exercise
221
10 Add the following static text boxes to the upper left area of the Headcount Summary panel to form the KPIs section: KPIs title text box (in boldface type) Headcount label text box Part-time label text box Full-time label text box Planned Headcount label text box #s label text box (in boldface type)
11 Add dynamic text boxes for the following numbers: Headcount={[Employees - current]} Part-time={[Part-time Employees - current]} Full-time={[Full-time Employees - current]} Planned Headcount={[Planned Headcount current]}
the alignment and Use format this section duplicate features to helpif you quickly and easily. Also, you lose track of a text box along the way, use the Document Structure pane to locate it and make sure that it displays under the correct panel stack.
222 Exercise
2011 MicroStrategy, Inc.
13 Save the document, replacing the existing version, and open it again in Design Mode.
Add another dataset and a widget to the document
14 With the Main Panel Stack selected, on the Insert menu, insert a new report. 15 Use the cross-hairs cursor to place the report to the right of the text boxes on the Headcount Summary panel of the Main Panel Stack. yellow lines to Look for theSummary panelsurround thePanel Headcount in the Main Stack. These lines show that the grid/graph is now associated with this panel. 16 In the Select Dataset window, in the Shared Reports\Dashboards and Scorecards\Datasets\Human Resources Analysis Dashboard folder, select the Headcount vs. Planned - Monthly Trend report and click OK. should automatically be the The reportwith formatting, becauseadded towith document the Add formatting check box is selected by default in the Select Dataset window. 17 Name the new grid TSS widget. 18 Size and position it to take up the right portion of the panel, or to match these specifications:
Headcount vs. Planned Graph Properties
Property Left Top Width Height Definition 2 .125 7.4 2.4
19 Use the graphs properties to have it display as a Time Series Slider widget in Flash Mode.
Exercise
223
20 On the Tools menu, use Document Properties to define Flash as the default display mode for the document. 21 Save the document, replacing the existing version, and run the newly saved document. When you select the entire time frame in the controller for the Time Series Slider widget, the document should display in Flash Mode as follows:
22 Switch to Design Mode. 23 Using the Main Panel Stacks toolbar, insert a panel stack that covers the bottom portion of the Headcount Summary panel:
Nested Panel Stack Properties
Property Name Left Top Definition Nested Panel Stack 0 2.875
224 Exercise
width and should automatically Theplaceholderheight stack. Your width andsize to fit the panel properties may vary slightly from those listed above. 24 Rename the current panel for this panel stack Department Breakdown. 25 In the Department Breakdown panel, click Add Content and select Report. 26 In the Select Dataset window, in the Shared Reports\Dashboards and Scorecards\Datasets\Human Resources Analysis Dashboard folder, select the Headcount by Department report and click OK. 27 In the Headcount by Department grid, right-click various metrics and select Remove from Grid, removing them so that only the following objects display in the grid:
28 Right-click the Headcount by Department grid, point to View Mode, and select Graph View.
Exercise
225
29 With the Nested Panel Stack selected, add a new panel and name this panel Regional Breakdown. 30 In the Regional Breakdown panel, click Add Content and select Report. 31 In the Select Dataset window, in the Shared Reports\Dashboards and Scorecards\Datasets\Human Resources Analysis Dashboard folder, select the Headcount by Region report and click OK. 32 In the Headcount by Region grid, right-click various metrics and select Remove from Grid, removing them so that only the following objects display in the grid:
226 Exercise
33 Right-click the Headcount by Region grid, point to View Mode, and select Graph View. 34 On the Nested Panel Stack, disable the title bar.
Add a panel selector for the Nested Panel Stack
target is enabled By default, automatic meansmaintenance not have to for this exercise. This that you will select a specific target and that it will be available automatically. You will notice in this exercise that some steps ask you to simply confirm that the automatically selected target is the correct one. 35 With the Main Panel Stack selected, on the Insert menu, insert a radio button style selector immediately above the Nested Panel Stack and define it with the following properties: Action Type: Select Panel Target: Nested Panel Stack
Exercise
227
36 Save the document and view it in Flash Mode. Your dashboard should now resemble the following image:
37 Switch to Design Mode. 38 Using the Main Panel Stacks toolbar, add a new panel and name it Attrition/Hiring Summary. 39 Use the Insert menu to create a new link bar style selector, which serves as the tabs on the top right of the dashboard.
228 Exercise
40 Place the link bar selector on the placeholder, above the Main Panel Stack and next to the title text box. The selector should have the following properties:
Link Bar Selector Properties
Property Name Action Type Target Left Top Width Height Definition Link Bar Selector Select Panel Main Panel Stack 2.7396 0 6.75 .25 (keep as Fit to contents)
41 Format the selector so that is uses a Grey-25% fill color. 42 To achieve the tab look, right-click the selector, point to Order, and select Send Backward. This action hides the lower borders of the selector so that the options look more like individual tabs. The document should resemble the following image:
43 On the Attrition/Hiring Summary panel, click Add Content and select Panel Stack. 44 Define the new panel stack with the following properties:
Combo Graph Panel Stack Properties
Property Name Top Height Definition Combo Graph Panel Stack 0.3 2.85
Exercise
229
45 Rename the current panel of this panel stack as Attrition. 46 On the Attrition panel, click Add Content and select Report. 47 In the Add Dataset window, in the same folder location, select the Attrition - Quarterly Trends report and click OK. In Design Mode, the document should display as follows:
48 Using the Combo Graph Panel Stacks toolbar, add a new panel and name it Hiring. 49 On the Hiring panel, click Add Content and select Report. 50 In the Select Dataset window, in the same folder location, select the Hiring - Quarterly Trends report and click OK.
Add a selector for the Combo Graph Panel Stack
51 With the Attrition or Hiring panel selected, using the Insert menu, add a radio buttons style selector.
230 Exercise
52 Place it immediately above the Combo Graph Panel Stack (with the Hiring panel in view) and define it with the following properties:
Radio Buttons Selector Properties
Property Name Action Type Target Left Top Width Height Definition Combo Graph Panel Stack Selector Select Panel Combo Graph Panel Stack 0 0 2.5 .25 (keep as Fit to contents)
53 Disable the Combo Graph Panel Stacks title bar. 54 Save the document and run it in Flash Mode. The Attrition/Hiring Summary panel of your dashboard should resemble the following image:
Exercise
231
55 Switch to Design Mode. 56 In the Dataset Objects pane, add the Hires by Recruiting Sources - Quarter dataset to the document. 57 With the Main Panel Stack selected, on the bottom half of the Attrition/Hiring Summary panel, add the Hires by Recruiting Sources - Quarter graph without formatting. 58 Pivot the Recruiting Source attribute to the columns of the grid so that it displays as follows:
59 Using the grids properties, define the grid to display as an Interactive Stacked Graph widget.
232 Exercise
60 Save the document and view it in Flash Mode. It should resemble the following image:
The image above shows the document with 100% zoom factor.
Create the top portion of the Compensation Summary panel
61 Switch to Design Mode. 62 Use the Main Panel Stacks toolbar (the Attrition/Hiring Summary should be in view) to add a new panel and name it Compensation Summary. 63 On the Compensation Summary panel, click Add Content and select Report. 64 In the Select Dataset window, in the same folder location, select the Compensation - Quarterly Trends report.
Exercise
233
65 The graph should take up only the top half of the Compensation Summary panel, with the following sizing and positioning properties:
Compensation - Quarterly Trends Graph Properties
Property Left Top Width Height Definition 0 0 9.461 2.67
66 Using the Main Panel Stacks toolbar, insert a check boxes style selector immediately below the Compensation - Quarterly Trends graph, defined with the following properties:
Check Boxes Selector Properties
Property Action Type Source Target Definition Select Attribute Element Compensation Item Compensation - Quarterly Trends graph (this should be the grid/graph with the highest number in its name)
As an optional formatting step, apply a gradient fill color to the selector wherehorizontal Color 1 is white and Color 2 is a Grey-40%.
234 Exercise
67 Save the document and view it in Flash Mode. It should resemble the following image:
the (ALL) check box to Selecton the graph, as shown display all compensation items above.
Create the bottom portion of the Compensation Summary panel
68 Switch to Design Mode. 69 Add the following datasets to the document: Compensation by Department Compensation by Department - Quarterly Trends
70 With the Main Panel Stack (Compensation Summary panel) selected, add the Compensation by Department grid with formatting to the bottom-left side of the Compensation Summary panel. yellow Look for thethe gridlines surrounding the panel to ensure that is associated with the Compensation Summary panel.
Exercise
235
71 Add the Compensation by Department - Quarterly Trends graph with formatting to the bottom right of the Compensation Summary panel. In Design Mode, the document should display as follows:
72 The Department attribute in the Compensation by Department grid will control the output of the Compensation by Department - Quarterly Trends graph. To accomplish this, select the Compensation by Department grid. 73 Right-click the Department attribute and select Select Targets. 74 In target selection mode, select the Compensation by Department - Quarterly Trends graph and click the green check mark button.
236 Exercise
target By default, automaticthat youmaintenance isto select enabled. This means will not have a specific target and that it will be available automatically. If you try to manually select target you will see a warning message that you will need to manually maintain targets for all selectors in the current layout, shown below:
77 Select the Compensation by Department grid. 78 Use the Grid toolbar to change the autostyle from (Custom) to Small Type. Small Type autostyle toward of Thelist. Hover your mouseisover eachthe bottom to the autostyle see its name. 79 In the Compensation by Department grid, right-click the following metrics and select Remove from Grid: Percent to Grand Total (Compensation Cost) Avg. Salary
Exercise
237
81 Save the document and run the newly saved document in Flash Mode. It should resemble the following image:
82 On the Headcount Summary panel, use the Time Series Slider controller to change the time frame for the widget. 83 Use the radio button selector to switch from Department Breakdown to Regional Breakdown. 84 On the Attrition/Hiring Summary panel, use the radio button selector to toggle the attrition and hiring combination graphs. 85 On the Interactive Stacked Graph widget, pressing the CTRL key, under the Recruiting Source column, select each recruiting source element one-by-one to see how it plots on the area chart and compares to the total for all recruiting sources. 86 On the Compensation Summary panel, use the check boxes element selector to plot as many compensation items on the stacked bar chart as you like.
238 Exercise
87 On the Compensation by Department grid, click any single department and study the results on the Compensation by Department - Quarterly Trends graph.
Observations
In this exercise, you learned: How to design a multipanel dashboard How to use different types of selectors How to embed panel stacks within larger panel stacks to provide more levels of interactivity How to include widgets in a multipanel dashboard
You could format the dashboard further by changing the graph colors to follow the same theme, increasing the text size of the graph labels, adding legends to the graphs, and so on. To help users distinguish the different sections of each panel and to help them identify the selectors that control each grid/graph or panel stack, early in the document creation process, you could also apply rectangles to show colored backdrops for these sections.
Exercise
239
Lesson Summary
In this lesson, you learned: The process of creating a multipanel dashboard involves the following steps: Consulting your target audience Gathering related datasets Devising the investigative workflow Building the dashboard
5
GRAPHS IN DOCUMENTS
Lesson Description
This lesson focuses on teaching you about the graph types that work best for certain types of reports. It also presents several graph formatting properties that help you display sophisticated graphs within your Report Services documents.
241
Graphs in Documents
Lesson Objectives
After completing this lesson, you will be able to: Describe the best graph types for different types of reports and apply graph formatting features to graphs in documents.
After completing the topics in this lesson, you will be able to: Design the most effective graphs for documents. (Page 243) Use the best possible graph styles for different types of reports. (Page 245) Describe the formatting properties for graphs within Report Services documents and some additional formatting features. (Page 255)
Graphs in Documents
Selecting the best graph type to visually represent report data is easier said than done. Document designers often choose graph types that do not represent the data in a clear, concise manner. Besides using the wrong graph types, they might also include too few labels, distracting background visuals, and overly precise numbers. The following suggestions should help guide you in designing effective graphs, particularly for dashboards: based on the The recommendations listed below are of Information ideas put forth by Stephen Few, author Dashboard Design: The Effective Visual Communication of Data. For more information on this publication, see Works Cited starting on page 425. Use pie charts sparingly (only 5% of the time)Despite its popularity, a pie chart can be difficult to interpret, particularly if its sections are not well labeled. Pie charts are most effective when representing data that shows parts of a whole. But, users often employ them to depict other types of data, which renders them even less effective. As a general rule, unless you are specifically analyzing the parts of a whole, use bar charts instead of pie charts. When screen space is precious, use thermometers instead of gauges and dialsThermometers convey the message just as clearly as gauges and dials but take up less space. Round numbers on graph labelsWhen you include values on graphs, avoid displaying too many decimals. The longer the value, the longer it takes for users to interpret it.
243
Graphs in Documents
Use caution with 3-D effects and distracting backgrounds on graphsDepending on the data, using a 3-D effect within a graph (particularly on 3-D bar graphs), can sometimes block the users view of the additional bars of data. When bars are shorter, they are easily obscured by taller bars. Also, keep the graph background as simple as possible. Using background images or colorful gradients distracts the eye and detracts from the graphs effectiveness. Downplay the non-data visuals and emphasize the most important dataFor non-data visuals, like grid lines, scales, and so forth, either use light grey lines or disable them completely so that they do not distract the user from interpreting the actual data. Also, consider using color intensities or hues to emphasize the most important row, bar, or column of data, while minimizing attention to the other data elements and non-data elements. Stick with a graph style that worksResist the temptation to use a wide variety of graph types on a dashboard just for the sake of showing variety. Your message is most effective when you use the correct graph type and employ it repeatedly so that users can interpret the data quickly. Using many different graph types on a single dashboard only causes your users to work harder at deciphering the data. The harder they have to work to understand the dashboard, the less likely they are to adopt it. Label scales and graph sections for context and use tooltips when you need to provide more detailLabels give the right amount of context and they make it easier for users to understand the data. Tooltips, which display when you hover your mouse over a particular object, show the numbers that each section in a graph represents. Tooltips provide valuable information without taking up any screen space.
Graphs in Documents
Choosing the right graph to go with your reports can be challenging. However, if you want to get the message across as clearly as possible to your users, selecting the correct graph type is key. Picking the right graphical representation often depends not only on what type of data you have on your report but also how much data you need to display within the graph. The subtopics in this section explain the different classifications of business reports and the graph types that best represent their data. this section are based on Say The topics inExecutives Guide to Visual It With Charts: The Communication by Gene Zelazny. For more information on this publication, see Works Cited starting on page 425. the graph in To view examples ofcan run anystyles availablestored in MicroStrategy, you of the reports the Public Objects\Reports\MicroStrategy Platform Capabilities\Graph Styles folder of the MicroStrategy Tutorial project.
245
Graphs in Documents
Component Comparisons
Component comparisons are reports that show percent-to-total comparisons. These types of reports focus on the size of each part as compared to the total. Pie charts can be effective for displaying this type of data. However, as mentioned previously, use pie charts sparingly and be sure to label the individual pie sections well so that users can quickly discern the different sizes of the sections. Also, you should keep the number of components to six or fewer, so as not to confuse your users with too many sections. The image below shows a pie with only four, well-labeled slices:
Pie Chart that Displays the Parts of a Whole
When you want to compare components of more than one total, rather than employing multiple pie charts, use a vertical bar chart (also called a column chart). Unlike pie sections, which can be easily misinterpreted if the pie slices are roughly equal in size, vertical bars are much easier to distinguish in terms of the numeric values they represent. Given this, vertical bars require less labeling and are quicker to interpret and compare.
Graphs in Documents
The vertical bar chart below displays each categorys contribution to all revenue as well as its contribution to all units sold:
Vertical Bar Chart for Components of More Than One Total
At quick glance, you can see how the Electronics category contributes the most to all revenue and yet, in terms of units sold, it falls below the other categories.
247
Graphs in Documents
Compare the vertical bar chart with the same data displayed in multiple pie charts, as shown below:
Multiple Pie Charts for Components of More Than One Total
Notice with the pie chart that you must list the values for each pie slice. Otherwise, it is difficult to discern how much each category contributes to all revenue and units sold. In the previous example, because the bars line up against the easy-to-read axis, users can interpret the bar values and compare them to each other at a glance.
Item Comparisons
Item comparisons are reports that show ranking of individual items compared to one another. For ranks, the best graph type is the horizontal bar chart (also called a horizontal column chart). The individual bars highlight the ranked items so that users can differentiate them quickly and easily. You can use shading to emphasize the most important item, if there is one item that deserves more attention than the rest. You can also use sorting so that the highest item in the rank displays first or last (depending on your sort order).
Graphs in Documents
You can also add numbers to the scale on the side of the chart, or show values at the ends of the bars. However, you should avoid showing both sets of figures (on scales and at the ends of the bars) because the final display might seem too cluttered. When including values, remember to round out your decimals to make it easier for users to quickly understand the figures. The horizontal bar chart below displays the top 5 suppliers for the Books category:
Horizontal Bar Chart for Ranking Top Suppliers
Notice how the bars are sorted to show the top ranked supplier first. Also notice how the graph shows the values for each bar.
249
Graphs in Documents
Graphs in Documents
However, when you need to compare more than eight points in time (for example, all the months of the year), you should use a line chart, as shown below:
Line Chart for Multiple Time Series Comparisons
rule, when you have more As a general bar charts to line charts. data to show, switch from
251
Graphs in Documents
You can also use surface area charts for time series comparisons, but limit the segments to five or less and place the most important segment against the straight base line, as shown below:
Surface Area Chart for Time Series Comparisons
Graphs in Documents
In the example below, the histogram shows the order size as compared to the number of customers. You can see how the bars take on the approximate shape of the bell curve.
Histogram: Orders Placed by Customers
display the curve is to An alternative to(histograph) bell-shapedthe curved use a line chart and enable lines option, which you will learn about later in this lesson.
Correlation Comparisons
Correlation comparisons show whether the relationship between two variables follows or fails to follow the pattern you would normally expect. These reports are best displayed with dot charts (also called scatter plots) or bubble charts, because the various dots or bubbles represent each of the different data points. In addition, bubble charts enable you to use the bubbles size to show one metrics value and its position on the chart to show another metrics value.
253
Graphs in Documents
In the example shown below, the bubble chart plots each customers position with respect to their overall satisfaction and revenue. The size of the bubble indicates the customers income.
Bubble Chart - Revenue vs. Satisfaction and Income
Summary
No matter which graph type you choose, you should be consistent when using graphs in documents. A document that displays too many different types of graphs can confuse users, or at a minimum, can require more effort on their part to understand what each graph means. Also, when possible, include a meaningful title for your graph. Rather than using a generic description, such as Sales by Region, choose a focus for the graph and announce it in the graphs title. If you want people to notice that sales are best in the West region, name the graph West excels in Sales. This way, you are sure to get the right message across to your users in an instant.
Graphs in Documents
Graph Formatting
After completing this topic, you will be able to: Describe the formatting properties for graphs within Report Services documents and some additional formatting features.
When you create graphs in documents, you can take advantage of the following formatting features: Transparency effect Curved lines Bevel effects Data tooltips
Graph Formatting
255
Graphs in Documents
Transparency Effect
You can adjust the transparency on a graph to make bars in a bar chart, pie slices in a pie chart, or areas in an absolute area chart appear more translucent. The transparency property applies to graph series and graph legends. In the image shown below, the areas of the area chart are easy to distinguish since you can see right through them. In fact, without the transparency effect, the order of the areas might cause one to be hidden by the other:
Transparency in a Graph Series
1 With the document open in Editable Mode, select the graph to which you want to apply the transparency effect.
The graph must display in Graph View or Grid and Graph View.
2 On the Format menu, select Graph. 3 In the Format: Graph window, click the Format tab. 4 In the Format drop-down list, select Series Colors.
Graphs in Documents
5 In the next drop-down list, select the specific series to format. 6 Under Fill, in the Color drop-down list, specify the background color for the selected graph series. 7 Under Transparency, slide the needle on the bar to the desired transparency setting, as shown below:
As you slide the needle, the percentage of transparency displays in a tooltip. When you set the transparency to a low percentage, the colors of the object display brighter and more solid. When you set the transparency to a high percentage, the colors seem more faded. 8 Click OK.
Graph Formatting
257
Graphs in Documents
Curved Lines
When you format a graph that contains lines, such as a Line, Area, Polar, or Radar graph, you can specify whether the lines in the graph are straight (default) or curved. In many cases, curved lines provide these line and area graphs with a more attractive look and feel, as shown below:
Curved Line Graph Example
lines most effective when densely Curved data. arethere are too few datagraphingthe packed If points, curved line might show trends in a misleading manner.
To apply curved lines to a graph in a document:
1 With the document open in Editable Mode, select the graph to which you want to apply the curved line effect.
The graph must display in Graph View or Grid and Graph View.
2 On the Format menu, select Graph. 3 In the Format: Graph window, click the General tab.
Graphs in Documents
5 Click OK.
Graph Formatting
259
Graphs in Documents
Bevel Effects
Documents that display in the DHTML modes (Editable Mode, Interactive Mode, and View Mode) can show graphs with a bevel effect. In the image below, the graph on the left shows the chiseled edge bevel effect while the graph on the right has no bevel effect:
Bevel Effect in a Graph
1 With the document open in Editable Mode, select the graph to which you want to apply the bevel effect.
The graph must display in Graph View or Grid and Graph View.
2 On the Format menu, select Graph. 3 In the Format: Graph window, click the Format tab. 4 In the Format drop-down list, select Series Colors. 5 In the next drop-down list, select the specific series to format.
Graphs in Documents
6 Under Fill, in the Color drop-down list, specify the background color for the selected graph series. 7 In the Effects drop-down list, select the desired bevel effect, as shown below:
apply the Donut and Sphere effects You can (a Pie graph, for example), polygonalto(aall circular Radar graph, for example), or rectangular (a Bar graph, for example) types of graphs. However, you cannot apply the Smooth and Chiseled Edge effects to any circular types of graphs. 8 Click OK.
Graph Formatting
261
Graphs in Documents
Graphs in Documents
1 With the document open in Editable Mode, select the graph to which you want to enable tooltips.
The graph must display in Graph View or Grid and Graph View.
2 On the Format menu, select Graph. 3 In the Format: Graph window, click the Format tab. 4 In the Format drop-down list, select Series Values. 5 In the next drop-down list, select All Data Values or select the specific series for which you want to enable tooltips. 6 Select the Tooltips check box, as shown below:
the Tooltips check box is WhenValues, tooltips display forselected for All on Data all data values the graph. 7 Click OK.
Graph Formatting
263
Graphs in Documents
Quick Switch
Quick Switch enables users to instantly switch a grid/graph from Grid view to Graph view and vice versa. When you enable this feature on a grid/graph in a document and you run the document in Interactive, Editable, or Flash Mode, the Quick Switch button displays on the grid/graph, as shown below:
Quick Switch Example
Graphs in Documents
Portal Window
The Portal Window feature enables users to maximize or minimize a grid/graph on a document by selecting the appropriate buttons on the grid/graphs title bar. In the example shown below, the Financial Analysis dashboard contains several graphs, all of which have the portal window option enabled. By selecting the minimize or maximize buttons on the upper right-hand corner of each graph, you can hide or show the individual graphs on the page:
Graphs with the Portal Window Feature Enabled
Graph Formatting
265
Graphs in Documents
Gradients
Gradients enable you to blend two colors to show a gradual color change in the background of a graph. You can apply gradients to the following document objects: Grid/graphs Text boxes Rectangles Sections Panel stacks Selectors
When using a gradient, you can choose a shading style, which determines the direction for the color blend (top to bottom, left to right, and so forth). The graph below has a background gradient with a vertical shading style:
Gradient Variant Example
Notice how the background blends gradually from a lighter grey at the top to a darker grey at the bottom. that display in Flash Documentsdirectional display. Mode can use a three-way
Graphs in Documents
1 With the document open in Editable Mode, select the graph to which you want to apply a gradient.
The graph must display in Graph View or Grid and Graph View.
2 On the Format menu, select Graph. 3 In the Format: Graph window, click the Format tab. 4 With Format selected in the first drop-down list, In the next drop-down list, select Background. 5 Under Fill, in the Color drop-down list, select Gradients. 6 In the Gradients window, under Colors, select colors for Colors 1 and 2. 7 Under Shading Styles, select the desired shading direction. 8 Click OK.
Drop Shadows
Drop shadows help make objects seem as if they are floating above their background, or they can make objects seem deeper. You can apply drop shadows to the following document objects: Grid/graphs Images Lines Rectangles and rounded rectangles Text boxes
Graph Formatting
267
Graphs in Documents
Notice above how the graph casts a darker grey shadow against the lighter grey background.
To apply a drop shadow to a grid/graph in a document:
1 Open the document in Design Mode. 2 Select the graph or grid to which you want to apply the drop shadow. 3 Right-click the grid/graph and select Properties and Formatting. 4 In the Properties and Formatting window, under Format, select Effects. 5 Select the Enable Drop Shadows check box.
Graphs in Documents
6 Under Distance, use the slider to adjust the thickness of the drop shadow, as shown below:
3D Borders
The 3D borders option is also available in the Effects section of the Properties and Formatting window (as shown above). When you apply a 3D border, you give the object the effect of being raised or sunken (like a button). You also assign a weight to the 3D border to specify how raised or sunken the object should display. In the example below, the Manager Performance text box has a 3D border with the raised effect and a weight of 4:
You can apply a 3D border to the following document objects: Grid/graphs Images Rectangles and rounded rectangles Panel stacks
Graph Formatting
269
Graphs in Documents
Graphs in Documents
Exercise
Graphs in a Dashboard
Overview
This exercise is designed to give you hands-on practice with several graph formatting properties. It also gives you more practice with formatting panels and selectors. After you complete the exercise, your final document should resemble the following:
In this dashboard, you can select a category, which controls the three graphs. You can also select a month of year to display on the line graph. If you want to create the document without following the detailed instructions, you can use the following guidelines:
2011 MicroStrategy, Inc. Exercise
271
Graphs in Documents
Use the 02 Title and Content dashboard template to create the document. In the Shared Reports\MicroStrategy Platform Capabilities\MicroStrategy Report Services\Datasets\Sales Review folder, use the following reports as datasets: Revenue by Day Revenue by Region Top 4 Suppliers by Revenue
The title of the dashboard is Sales Review. Add the Revenue by Day dataset with formatting to the bottom half of the placeholder panel stack. Add the Top 4 Suppliers by Revenue dataset with formatting to the top left of the placeholder. Add the Revenue by Region with formatting to the top right of the placeholder. Add a button bar Category element selector that targets all three graphs. The selector should enable users to select the total. The selector uses a 3-D border effect.
Add a drop-down list Month of Year element selector that targets the Revenue by Day graph. The selector does not display the (All) option.
Apply a vertical gradient to the placeholder panel stack. Apply the following formatting changes to the Revenue by Day line graph: Apply the curved lines effect. Set the categories to 31 to show all of the days of each month on the graph.
272 Exercise
Graphs in Documents
Apply the following formatting changes to the Revenue by Region horizontal bar graph: Apply the chiseled edge effect to the bar series. Apply 20% transparency to the bar series.
Change the font size for all of the graphs to 8 point. Save the document to the My Reports folder, naming it Sales Review.
Detailed Instructions
Create the document
1 Create a new document, using the 02 Title and Content dashboard template. 2 Add the following datasets, located in the Shared Reports\MicroStrategy Platform Capabilities\MicroStrategy Report Services\Datasets\Sales Review folder:
2011 MicroStrategy, Inc.
Revenue by Day
Exercise
273
Graphs in Documents
you can In the Select Dataset window, datasets press the CTRL key and multiselect the to add them to the document simultaneously.
Add a title
3 In the Layout area, double-click the top-most text box and type Sales Review as the title.
Add the datasets with formatting to the placeholder panel stack
4 In the Layout area, on the placeholder panel stack, add each of the datasets with formatting and position them as shown below:
The Top 4 Suppliers by Revenue dataset is the top left pie chart, the Revenue by Region dataset is the top right horizontal bar chart, and the Revenue by Day line graph is the bottom graph.
274 Exercise
Graphs in Documents
on computers screen resolution, Dependingwantyourchange the Zoom factor to 75% you might to to see the entire Layout area as you add the graphs. Make sure to leave space at the top of the placeholder and between the top and bottom graphs for the selectors. You can multiselect the graphs, right-click, and use the alignment and sizing options to position and size the graphs quickly.
Add the Category element selector
target By default, automaticthat youmaintenance isto select enabled. This means will not have a specific target and that it will be available automatically. If you try to manually select target you will see a warning message that you will need to manually maintain targets for all selectors in the current layout, shown below:
5 Click any white space in the Layout area. 6 In the Dataset Objects window, under the Revenue by Day dataset, right-click Category and select Add Element Selector. 7 Place the selector at the top of the placeholder, above the two top graphs and size it to take up the width of the placeholder panel stack. 8 Use the selectors Properties and Formatting window to define the following:
Exercise
275
Graphs in Documents
Property Targets Show option for Total Show option for All
Definition Revenue by Day, Revenue by Region, Top 5 Suppliers by Revenue Enabled Disabled
checkbox, The enable Show option for Totalas a filter you need to disable Apply selections checkbox first. 9 Save the document to the My Reports folder, naming it Sales Review. 10 Run the newly saved document, which should display in Interactive Mode as follows:
276 Exercise
Graphs in Documents
12 Click any white space in the Layout area. 13 In the Dataset Objects window, under the Revenue by Day dataset, right-click Month of Year and select Add Element Selector. 14 Place the selector above the line graph and size it to take up about half of the width of the pie graph above it, as shown below:
15 Define the Month of Year drop-down selector so that it targets the Revenue by Day graph and it does not show the (All) option.
Apply a gradient to the panel stack in Editable Mode
16 Switch to Editable Mode. 17 Right-click the placeholder panel stack and select Properties and Formatting. 18 In the Properties and Formatting window, under Format, select Colors and Lines. 19 Under Fill, in the Color drop-down list, select Gradients.
Exercise
277
Graphs in Documents
20 In the Gradients window, in the Color 1 drop-down list, select Grey-40%. 21 Under Shading Styles, select Vertical. 22 Click OK to exit the Gradients window. 23 Click OK to exit the Properties and Formatting window.
Apply 3-D border effect to the Category element selector
25 On the Tools menu, select Document Structure. 26 In the Document Structure pane, expand PanelStack1 and select Selector47 (the button bar selector). Category element Your abutton bar number. Generally,selector may have different you should always rename your document objects so that they are easier to identify when you want to select and modify them. 27 In the Layout area, right-click the selector and select Properties and Formatting. 28 In the Properties and Formatting window, under Format, select Effects. 29 Under 3D Borders, select the Enable 3D Borders check box. 30 Keep the Effect as Raised and the Weight as 2 and click OK. 31 Save the document again, replacing the existing version. 32 Run the newly saved document and switch to Editable Mode.
278 Exercise
Graphs in Documents
33 Right-click the Revenue by Day line graph and select Format. 34 In the Format: Graph window, on the General tab, under Maximum, in the Categories box, type 31. 35 Select the Use curved lines check box. 36 Click Apply. 37 On the Format tab, with Format and All Text listed in the top two drop-down boxes, in the Size list, select 8. 38 Click OK.
Increase the text font size for the top two graphs
39 Follow the steps described above (step 33 and 37) to change the font for all text in the top two graphs to 8 point. 40 Save the document, replacing the existing document.
Exercise
279
Graphs in Documents
41 Run the newly saved document, which should display in Interactive Mode as follows:
42 Switch to Editable Mode. 43 Right-click the Revenue by Region horizontal bar graph and select Format. 44 On the Format tab, in the Format drop-down list, select Series Colors. 45 Under Fill, in the Effect drop-down list, select Chiseled Edge. 46 Use the Transparency slider to set transparency to 20%. 47 Click OK.
280 Exercise
Graphs in Documents
48 Save the document again, replacing the existing document. 49 Run the newly saved document and study it in Interactive Mode. 50 Select different categories and different months in the selectors to see the effect on the graphs. 51 Select the Total on the Category selector and observe how the values on the axes change.
Exercise
281
Graphs in Documents
Lesson Summary
In this lesson, you learned: The following design best practices are recommended for graphs: Use pie charts sparingly To save screen space, use thermometers instead of gauges and dials Round numbers for data values Use 3-D effects carefully Minimize the emphasis on non-data elements (like scales, grid lines, and so forth) Use a single graph type if it works well for multiple graphs on your document Label scales and graph sections for context and use graph tooltips Pie charts and bar charts are best for showing item comparisons. Vertical bar charts or line charts are good for showing time series comparisons. Step column charts (histograms) and line charts (histographs) are best for frequency distribution comparisons. Dot charts (scatter plots) and bubble charts are best for correlation comparisons. When using a graph in a document, include a non-generic, meaningful title that describes the main idea for the graph.
Graphs in Documents
You can apply the following formatting features to graphs: Transparency effect Curved lines Bevel effects Data tooltips
You can apply the following formatting features to graphs as well as other document objects: Gradients Drop shadow effects 3D borders
Lesson Summary
283
Graphs in Documents
6
WIDGETS II
Lesson Description
This lesson expands the discussion on Flash widgets. It covers additional widgets available out of the box with Report Services. It also covers how to use certain widgets as selectors to control other document objects.
285
Widgets II
Lesson Objectives
After completing this lesson, you will be able to: Use widgets as selectors and include additional widgets in your dynamic enterprise dashboards.
After completing the topics in this lesson, you will be able to: Use widgets as selectors to control the output of grid/graphs or panel stacks. (Page 287) Use a Bubble Grid widget in a document to display correlations. (Page 296) Create a Data Cloud widget and understand its purpose. (Page 300) Create a Graph Matrix Widget and understand its purpose. (Page 303) Create a Microcharts widget and understand its purpose. (Page 309) Use a Media widget to display either video, audio, images, or Web site content within a document. (Page 329) Create the Waterfall widget and understand its purpose. (Page 339) Use the Fish Eye Selector widget to display a selector in a custom format. (Page 345) Use a Date Selection Widget in documents that display in Flash Mode. (Page 351) List the widgets that can be displayed in both Flash Mode and Interactive Mode. (Page 354)
Widgets II
Widgets as Selectors
After completing this topic, you will be able to: Use widgets as selectors to control the output of grid/graphs or panel stacks.
You are already familiar with some of the Flash widgets that are available in Report Services. These widgets highlight patterns and trends in datasets and provide a new level of interactivity with graphs. Some of the out-of-the-box widgets can act like selectors that control other document objects. When you configure a widget to act as a selector in a document, users can interact with the widget and also have the widget control the data that displays in other grid/graphs or panel stacks within the same document. The widget itself is not a selector but the attributes, custom groups, or consolidations within the widget template are the selectors. You can create selectors from the following widgets:
Widgets That Can Act As Selectors
Widget Bubble Grid Data Cloud Graph Matrix Heat Map Interactive Bubble Graph Interactive Stacked Graph Microcharts Time Series Slider Waterfall Weighted List
Widgets as Selectors
287
Widgets II
Widgets II
In the example below, the document contains a Time Series Slider widget that displays all quarters for three years (2007-2009) in Flash Mode. The user selects the Q1 2009 data point from the widgets graph and the data point acts as a selector to show the same quarter on the grid report below the widget.
Time Series Slider Widget as Selector - Q1 2009
If you click the data point for Q1 2008, the grid report displays the profit data related to that particular quarter instead, as shown below:
Time Series Slider Widget as Selector - Q1 2008
While the widget in this example targets a single grid, it could target multiple grid/graphs and one or more panel stacks.
Widgets as Selectors
289
Widgets II
As mentioned previously, to use a widget as a selector, you must define one of the widgets objects (in this case, the Quarter attribute) as the selector. You specify the target for the selector and then switch to Flash Mode to interact with it. For the previous example, the Quarter attribute is configured as a selector in the Configure Selector window, as shown below:
Configure Selector Window for Quarter Attribute
When you switch to Flash Mode, you can select individual data points from the widgets graph and view the effect on the target grid. The procedure below lists the general process for defining a widget as a selector.
To use a widget as a selector:
This procedure assumes: You have already created a widget that contains the report objects to use as selectors. The widget is one of the types that can act as a selector.
Widgets II
You have created the panel stack or grid/graph to use as the target. The selector and target must have an attribute in common.
1 Open the document in either Design or Editable Mode. 2 Do one of the following: Right-click the attribute, custom group, or consolidation header (not an element) in the widget template to use as the selector, and select Use as Selector. OR Right-click the Metrics column in the widget template, and select Edit Selector. 3 In the Configure Selector window, select the target grid/graph or panel stack in the list of available objects on the right, and click the > button to add it to the list of selected targets. to right-click and select Edit You needdisplay the Configure SelectorSelector in order to window. select You cancustommultipleortargets. The attribute, metric, group, consolidation you selected is the source, and the selected grid/graph is the target. The Action Type of the selector is set to Select Element. 4 (Optional) To ensure that you can select more than one element in the widget, select the Show option for All check box. 5 (Optional) To ensure that the element displayed in the selector changes if an element is chosen in another selector, select the Automatically update when there is no data for the current selection check box.
You need to disabletoApply selections as a filter check box in order select the Automatically
update when there is no data for the current selection check box.
Widgets as Selectors
291
Widgets II
Widgets II
The Interactive Stacked Graph widget template contains the following objects:
Interactive Stacked Graph Widget Template Definition
The Region attribute in the widget template is defined to act as a selector for the grid below the widget. That is, the Region attribute uses the grid as a target, as shown below:
Configure Selector Window for Region Attribute
If you want only the legend to behave as a selector, you do not need to perform any additional steps beyond those described above. By default, the widget permits the legend to act as a selector.
Widgets as Selectors
293
Widgets II
However, if you want the widgets graph to behave as a selector, you must also define the Month attribute on the widget template so that it uses the grid as its target. Then, you must switch to Flash Mode to make a modification to the widgets Flash properties, as described in the procedure below:
To determine which part of an Interactive Stacked Graph widget is enabled as a selector:
1 Open the document in Flash Mode. 2 Right-click the widget and select Properties. 3 In the Properties window, in the Selectable Area drop-down list, select Graph (or Legend), as shown below:
Flash Properties for Interactive Stacked Graph
Widgets II
The document below shows how you can click a data point on the graph to control the data that displays on the grid below the widget:
Interactive Stacked Graph Widget as Selector - Graph
the data point represents the Becausemonth and a region, the targetintersection of a specific grid displays data for the same month and region. In summary, after you enable one or more objects on the widget template as a selector, switch to Flash Mode to specify the remaining properties (particularly if you want the graph to behave as a selector). In Flash Mode, you can specify which of the following is enabled as a selector in the widget: Attribute elements in the legend on the leftThis is the default. You can use the attribute elements in the checklist as selectors if one or more of the attributes on the columns of the widget template are enabled as selectors. A user can choose only one attribute element from the list to update target panel stacks and grid/graphs. make from the If yourelated multiple selections you selectlist, only data to the last element displays in target panel stacks and grid/graphs. Area graphsYou can use the area graphs as selectors if the attribute used to generate the graph series is enabled as a selector. You can select only one data point at a time.
Widgets as Selectors
295
Widgets II
The Bubble Grid widget shows trends or anomalies in data, relative to the total contribution of accompanying data. In the widget, metric values are plotted as bubbles of different sizes and colors. The sizes and colors are controlled by two distinct metrics on the widget template. Each bubble is plotted at the intersection of two different attribute elements. For example, in the document shown below, a single bubble represents the Customer Count and Average Revenue per Customer metrics for the South region in July 2009:
Bubble Grid Example
Widgets II
To view more examples of the Bubble Grid widget, in the MicroStrategy Tutorial project, run the
Operational Performance Dashboard, the Support Center Dashboard, and the Top 10 Airports document in the Shared Reports\Dashboards and Scorecards folder. The Bubble Grid widget is most beneficial when it is used to perform analysis involving key business ratios, such as the number of customers in a region vs. the revenue generated per customer (as shown on the previous page). For example, the widget can help analysts investigate questions such as "Does the number of customers that purchase from a certain region correlate to the amount of money each customer spends?" Analysts can use the widget to answer these types of questions in the context of business attributes, such as different regions and times of the year. Positive correlations in the data would show that regions with a large number of customers generate a large amount of revenue, and negative correlations would show the opposite. When an analyst detects a negative correlation for regions, he or she can investigate reasons for the issue and recommend changes such as adding more sales personnel to the region. For example, in the Bubble Grid image, despite the fact that the Web region's bubbles are the largest (showing a higher number of customers than any other region), the darker color of the bubbles indicates that the Average Revenue per Customer is lower than that of most of the other regions, which display lighter bubbles even though their bubbles are smaller.
297
Widgets II
The Bubble Grid widget does not require a separate selector to enable the user to interact with it. However, you can use a Bubble Grid widget as a selector. The following is an example of a valid arrangement of report objects on a Bubble Grid widget template:
Bubble Grid Widget Template
When the widget displays in Flash Mode, different months plot along the X-axis and the regions plot along the Y-axis. A different bubble displays for every region and month. The color of each bubble represents the average revenue amounts and the size of each bubble represents the number of customers that purchased from the region. With a time-based attribute, such as Month, on the X-axis of the widget an analyst can trace the trend of two different metrics relative to time.
Widgets II
299
Widgets II
A Data Cloud widget displays attribute elements in various sizes to depict the differences in metric values between the elements. The widget consists of a list of attribute elements. The font size of each attribute element represents a metric value for that element. These metric values represent the values of the first metric on the widget's template. In the widget below, the size of each attribute element from the Customer Region attribute represents the amount of revenue generated by each region. The Count of Customers metric does not affect the size of the elements in the widget, although it does display in the data tooltips, as shown below for the Central region:
Data Cloud Example
image above, the widget's template In the the widget to show the exact metric is provided below values for the attribute elements displayed in the widget.
Widgets II
The Data Cloud widget does not require a separate selector to enable the user to interact with it. However, you can use a Data Cloud widget as a selector. The following is an example of a valid arrangement of report objects on a Data Cloud widget template:
Data Cloud Widget Template
301
Widgets II
Widgets II
The Graph Matrix widget displays multiple series of data in a combined graph and line chart. This type of display is intended to highlight actual vs. forecast figures, but it can be used for other datasets as well. The overall dataset is sliced into a matrix of graphs to facilitate quick comparisons across multiple dimensions. With this visualization, you can answer questions such as How are sales comparing to the predicted sales forecast, by time and region? With the Graph Matrix widget, one graph displays for every combination of elements from the attributes on the widget templates rows and columns. For example, in the widget below, the Category attribute is on the widget templates columns and the Customer Region attribute is on the widget templates rows:
Graph Matrix Widget Example
303
Widgets II
There is a separate area graph for each combination of customer region and product category (28 graphs in all). For example, there is an area graph that focuses solely on electronics product figures in the Northeast customer region. Values in that graph are plotted across a time-related attribute Quarter (on the X-axis) and the Revenue metric (on the Y-axis). The line graph at the top of the area graph represents Revenue Forecast metric values. Each area graph in the Graph Matrix widget has the following characteristics: The X-axis provides the time scale. For example, the X-axis may represent weeks, quarters, or years. The Y-axis provides the metric values. For example, the Y-axis might represent revenue, profit, or units sold. The area graph shows the actual values, enabling you to see how values changed over time. The area graph represents the values of the first metric on the widget template. The line graph above the area graph shows the predicted, or forecast, values. The line graph represents the values of any additional metrics on the widget template. The black reference line in the area graph shows the average for only the specific graph which you are viewing. The red reference line in the area graph shows the average metric value for all of the graphs in the same row of the Graph Matrix widget. This enables you to easily compare one graph in the widget to another.
black and red reference lines, If you prefer to hide the the widgets Flash properties. you can disable them in
Widgets II
The image below shows an individual area graph (for Northeast, Electronics) that is maximized. When you hover your cursor over any of the areas or lines on the graph, tooltips display with information about the graph. In the image below, tooltips display for the line that shows the average revenue for all graphs along the row:
Graph Matrix with Single Graph Expanded
305
Widgets II
The Graph Matrix widget does not require a separate selector to enable the user to interact with it. However, you can use a Graph Matrix widget as a selector. The following is an example of a valid arrangement of report objects on a Graph Matrix widget template:
Graph Matrix Widget Template
Widgets II
The same template produces the Graph Matrix widget shown at the beginning of this topic. Matrix widget, To view more examples of the Graphrun the Region in the MicroStrategy Tutorial project, Category Analysis document, the Music Sales Dashboard, or the Sales by Customer State document in the Shared Reports\Dashboards and Scorecards folder.
Select or clear the Axis Labels check box. Select or clear the Zoom View Graph Legend check box.
In the Background Opacity drop-down list, select a level of opacity. The higher the percentage, the less transparent the background will be.
307
Widgets II
Widgets II
Microcharts Widget
After completing this topic, you will be able to: Create a Microcharts widget and understand its purpose.
The Microcharts widget consists of one or more microcharts, which are compact charts integrated into a grid of data that enables analysts to quickly identify trends. Microcharts convey information in such a way that the user can, at a glance, determine the trend of a metric over time or how a metric is performing compared to forecasted figures. The Microcharts widget is useful for this purpose because individual microcharts can display attribute and metric data in a small graph that would otherwise be displayed as a single value in a grid report cell. One, two, or three microcharts can be used in the Microcharts widget, depending on the number of metrics you include on the widget template. In the document shown below, all three microcharts display within a single Microcharts widget. That is, the widget template contains the requisite number of metrics to display all three types of microcharts and they are all enabled for display. The bar and sparkline microcharts convey the trend of a metric over time, from left to right in the widget below. On the right, a bullet reveals the percentage of cases that were closed, in correlation with the goal for that region, which is represented by the vertical line.
Microcharts Widget (Sparkline, Bar, and Bullet)
Microcharts Widget
309
Widgets II
includes widget-specific formatting such This examplethe bar, sparkline, and bullet microcharts. as labels for To learn more about formatting a Microcharts widget, see Formatting Options for Microcharts Widget starting on page 318. The number of rows in the widget represents the number of elements from the first attribute on the widget templates rows. For example, there are five rows of region data because the Region attribute on the widget templates rows has five different elements, or regions. In the example, you see each of the three types of microcharts that are available within the Microcharts widget. Each of the following microcharts provides a unique way to visualize your data, as described below:
Microcharts Display Types
Microcharts Type Bar chart Description Bar microcharts plot a metric with respect to time using a single bar, displaying a metrics current value and historical data to visualize the shape of the trend.
Widgets II
311
Widgets II
Any changes you make to the column position or sort order of the widget are saved when you save the document.
Widgets II
The data requirements for a bar or sparkline microcharts include the following:
Data Requirements for Bar or Sparkline Microcharts
Rows At least two attributes: The first attribute on the rows, and the second, third, fourth, and so on, determine the total number of rows displayed in the widget. The elements from those attributes become individual rows in the widget. The last (right-most) attribute determines the X-axis values in the bar and sparkline microcharts in the widget. Columns At least two metrics: The first (left-most) metric on the columns determines the size of the bars (the series) in a bar and the fluctuations in the line graphs in the sparkline. The second metric creates the horizontal reference lines that display in the sparkline. If you place a third, fourth, fifth, and sixth metric on the columns, the metrics display as individual columns in the widget. These columns display after the bar or sparkline. If you place a seventh metric on the columns, you can produce a bullet. See the next section for more information on bullet microcharts.
Using the same example mentioned previously, the following image shows a valid arrangement of report objects on a Microcharts widget template designed to display a sparkline and/or a bar:
Microcharts Widget Template - Sparkline and/or Bar
Microcharts Widget
313
Widgets II
The same template produces the following display in Flash Mode, with the default sparkline display:
Microcharts Widget in Flash Mode - Sparkline Only
If you analyze the sparkline, note the first (left-most) Open Cases (TM) metric represents the fluctuations in the sparkline. The second metric, Avg. Open Cases (T12 M) represents the horizontal reference line.
Widgets II
Displaying a Bullet
The requirements listed below produce bullet microcharts in the widget. They also automatically produce bar and sparkline microcharts. As mentioned earlier, the bar microcharts are hidden and the sparkline and bullet microcharts display on the dashboard, by default. You can disable the sparklines display using the Flash Mode properties so that the widget shows only the bullet.
Data Requirements for Bullet Microcharts
Rows At least two attributes: The first attribute on the rows, and the second, third, fourth, and so on, determine the total number of rows displayed in the widget. The elements from those attributes become individual rows in the widget. The last (right-most) attribute determines the X-axis values in the bar and sparkline microcharts in the widget. Columns At least seven metrics: The first (left-most) metric on the columns determines the size of the bars (the series) in the bar microcharts and the fluctuations in the line graphs in the sparkline microcharts. This applies even if you want to display only bullet microcharts. The second metric creates the horizontal reference lines that are displayed in the sparkline microcharts.This applies even if you want to display only bullet microcharts. The third metric determines the length of the performance measure bar in the bullet microcharts. The bar represents the actual metric value. The fourth metric determines the maximum possible values in the bullet microcharts. The fifth metric determines the right-most boundary of the first color band, Band 1, in the bullet microcharts. The sixth metric determines the right-most boundary of the second color band, Band 2, in the bullet microcharts. The seventh metric determines the value of the vertical reference line in the bullet microcharts, which is typically the target value for the metric. Any additional metrics (eighth metric and beyond) display in the columns of the widget, after the microcharts and their associated metrics.
Microcharts Widget
315
Widgets II
The following is an example of a valid arrangement of report objects on a Microcharts widget template designed to display a bullet:
Microcharts Widget Template - Bullet
The same template produces the following display in Flash Mode: using the widget The bar and sparkline are disabledHowever, the templates Flash Mode properties. metrics that define the bar and sparkline are still required components in the widget template. That is, you need a minimum of seven metrics to display the bullet.
Microcharts Widget in Flash Mode - Bullet Only
If you analyze the bullet, note the third metric, Closed Cases (TM), determines the length of the performance measure bar (the darkest horizontal bar). The fourth metric, Max (Closed Cases), represents the maximum possible value, Band 3, in the bullet. The fifth metric, Low (Closed Cases), determines the right-most boundary of the first color band, Band 1, in the bullet. The sixth metric, Med (Closed Cases), determines the right-most boundary of the second color band, Band 2. Finally, the seventh metric, Target Closed Cases, determines the value of the vertical reference line, which represents the target value for the metric.
Widgets II
As you can see, bullet microcharts are particularly effective because they help you visualize the output of five different metrics in a simple, very compact display. The horizontal performance bar shows the status of the metrics performance against the vertical target line. The three color bands show how the performance bar falls within poor, average, and good (or low, medium, and high) thresholds. An analyst can see, at a glance, the regions that are performing well and exceeding targets versus the regions that need improvement.
Microcharts Widget
317
Widgets II
Show or hide the minimum and maximum values for the bar microcharts Adjust the color of the bars (series) in the bar microcharts
Widgets II
Show or hide the metric column and values associated with the sparkline microcharts Adjust the color of the fluctuating line (series) in the sparkline microcharts
Microcharts Widget
319
Widgets II
Add descriptive names to the legend that describes the different reference band colors
You control the operation mode by specifying the desired mode in the Microcharts widgets Flash properties.
320 Microcharts Widget
2011 MicroStrategy, Inc.
Widgets II
Grid Mode
This is the default mode for the Microcharts widget. In this mode, all the rows of microcharts are displayed at the same time, from top to bottom.
1 Open the document in Flash Mode. 2 Right-click the Microcharts widget and select Properties. 3 In the Microcharts Widget Properties window, in the drop-down list at the top left, select Mode. 4 In the Operation mode drop-down list, select Vertical Scroll. 5 On the Vertical Scroll tab, you can choose to manually scroll from one row to the next. To do this, select the Previous/Next buttons check box. 6 In the Motion drop-down list, determine the speed of the vertical scrolling by selecting an option. 7 Click OK to apply the changes to the widget.
Microcharts Widget
321
Widgets II
Ticker Mode
In Ticker mode, you can view microcharts and supplemental text in a scrolling ticker that moves from right to left. You can add text next to each microchart to provide background information or highlight a trend displayed in the microchart. This text is displayed alongside the microcharts as they scroll horizontally, as shown below:
Microcharts Widget - Ticker Mode
A ticker is a combination of text and variables. The text is static and it displays exactly as you specify in the Properties window in Flash Mode. The variables are dynamic and the values of the variables display at run time. For example, you might want the variable to alert you appropriately when profits are either above or below a specified target. You can define two tickers in the Properties window. The ticker that is displayed in the widget depends on the following: Ticker 1 displays when the third metric on the widget template (the performance metric) is less than the target value, which is represented by the seventh metric. Consider this when defining the text that you want to display for this ticker. Ticker 2 displays when the third metric on the widget template (the performance metric) is equal to or greater than the target value, which is represented by the seventh metric. Consider this when defining the text that you want to display for this ticker.
The following is an example of using variables to define text that appears in Ticker 1. Recall that Ticker 1 displays when the third metrics (the performance metric) values are less than the target values represented by the seventh metric. {&sparkline} The {Region} region did NOT reach its closed cases target of {[Target Closed Cases]} {&bullet}
322 Microcharts Widget
2011 MicroStrategy, Inc.
Widgets II
The text in brackets are variables for a microchart, attribute, or metric. The remaining text is the message you want to include for analysts.
The resulting ticker displays as shown below. When you click the text, a larger version of the ticker displays:
Microcharts Widget - Ticker Mode
1 Open the document in Flash Mode. 2 Right-click the Microcharts widget and select Properties. 3 In the Microcharts Widget Properties window, in the drop-down list at the top left, select Mode. 4 In the Operation mode drop-down list, select Ticker. 5 Click the Ticker tab. 6 On the Ticker tab, in the Title box, type a name for the ticker. This name displays above the ticker. 7 You can choose to manually scroll the ticker across the screen. To do this, select the Previous/Next buttons check box. 8 Select or clear the Enable detail view check box to display or hide a detailed view of each row.
Microcharts Widget
323
Widgets II
The detailed view displays a larger version of the corresponding row when you click the text within the scrolling row. This view is similar to the view in Grid operation mode. 9 In the Motion drop-down list, determine the speed of the scrolling ticker by selecting an option.
Define the text that will appear in the tickers
Ticker 1 displays when the third metrics (the performance metric) values are less than the target values represented by the seventh metric. Ticker 2 displays when the third metrics values are equal to or greater than the target values represented by the seventh metric. 10 To define the text that displays in the tickers, in the Ticker 1(M3 < M7) and Ticker 2(M3>=M7) boxes, type values for the tickers. You can use the following variables to define the text for tickers: MicrochartsEnter one of the following to display specific types of dynamic microcharts at run time:
{&bullet} {&bar} {&sparkline} For example, if you enter {&sparkline}, at run time, &sparkline is replaced by the corresponding sparkline microchart. Using & to prefix macros for the microcharts such as in {&bullet} or {&sparkline} ensures that the variables refer to dynamic data values in the widget. Attributes and MetricsEnter attributes and metrics in brackets to display dynamic attributes and metrics at run time. For example, if you enter {name of attribute or metric}, the corresponding values of the attribute or metric display at run time.
To specify attributes or metrics that are composed of more than one word, include brackets as shown in the following example: {[Revenue Forecast]}.
Widgets II
11 In the Ticker 1 color and Ticker 2 color drop-down lists, select a font color for Ticker 1 and Ticker 2, respectively. 12 Click OK to apply the changes to the widget.
To see this example, run the Operational Performance Dashboard in the Shared Reports\Dashboards and
Scorecards folder.
2011 MicroStrategy, Inc. Microcharts Widget
325
Widgets II
The example above is possible because there are many metrics on the widget template that represent each KPI in the rows of the Microcharts widget. For example, if you want to display a bullet for each KPI, you need to include the requisite seven metrics. Multiply this requirement against the number of KPIs and you see that the widget template requires many metrics. When you enable KPI List mode in the Flash properties of the Microcharts widget, you must also specify the number of metrics on the widget template that should be used to generate each KPI row. For example, the following widget template produces a simplified Microcharts widget in KPI List mode, which displays only sparklines:
Microcharts Widget Template for Sparklines in KPI List Mode
In the widgets Flash properties, you specify that each KPI row should be comprised of two metrics. The first two metrics make up the Revenue row, the next two metrics make up the Profit row, and so on. With only two metrics, you can display a bar or sparkline (including their horizontal reference lines), but not the bullet. To display a bullet, you would need to have the minimum seven required metrics per KPI row.
Widgets II
assumes you have already created This procedurewidget andthat widget template contains a Microcharts the only one attribute in the rows. 1 Open the document in Flash Mode. 2 Right-click the Microcharts widget and select Properties. 3 In the Microcharts Widget Properties window, in the drop-down list at the top left, select Mode. 4 In the Operation mode drop-down list, select Grid or Vertical Scroll. widget template contains only Since thein the rows, the KPI List Mode one box attribute check is selected by default. 5 In the Metrics per KPI box, type the number of metrics on the widget template to use to generate the row of microcharts for each KPI. If you specify only one metric, you can show only the sparkline or bar microcharts, but without the horizontal reference line. If you specify two metrics, you can show only the sparkline or bar microcharts, including the horizontal reference line. If you specify three to six metrics, you can show the sparkline or bar microcharts with additional metrics shown to the right of the sparkline or bar. If you specify seven or more metrics, you can show the sparkline, bar, and bullet microcharts. Any additional metrics are shown to the right of the bullet.
Microcharts Widget
327
Widgets II
6 If you want to specify a name to the associated metric for the sparkline or bar chart, in the drop-down list, select Labels. 7 For the Sparkline or Bar tab, in the Associated metric box, type the name of the metric. associated metric displays the Thelast data point in the sparkline same value as the or bar chart.
Widgets II
Media Widget
After completing this topic, you will be able to: Use a Media widget to display either video, audio, images, or Web site content within a document.
The Media widget enables you to present a variety of media content, such as audio, video, images, or Web site content on your documents that display in Flash Mode. By including such content, you can provide dashboard users with additional information about the documents data or information on how to use the document most effectively. You can also use the Media widget to enhance the documents appearance. One of the most common uses of the Media widget is to offer users supplemental information about the documents contents. For example, a sales manager can record a video that describes the sales trends depicted in a dashboard and provides expectations for next quarters sales. Dashboard recipients can then study the dashboards contents in the context of the sales managers commentary. The Media widget is also a useful tool to help analysts understand the layout and interactivity of a dashboard. For example, a dashboard designer can include an audio or video file that introduces analysts to the dashboard and guides them on how to use its selectors most effectively. As mentioned above, the Media widget can also display HTML content from a Web site. This type of content can enhance the dashboards effectiveness by relating it to data beyond the business intelligence environment. For example, you can display a section of your internal corporate Web site that contains a business presentation related to the contents of the dashboard. Media widget supports only certain The information, see the Report ServicesHTML tags. For Document Creation Guide product manual.
Media Widget
329
Widgets II
The following dashboard in Flash Mode includes a Media widget. Notice the Play Dashboard Demo button encircled at the top center of the dashboard. When a user clicks the button, a video file plays a recorded demonstration on how to use the dashboard.
Media Widget Dashboard Demo
By default, the video plays automatically when the document opens. However, the document designer can change this behavior when they define the properties for the Media widget (as explained later in this topic). At any time, the dashboard analyst can pause, rewind, stop, or replay the video in the Media widget.
Widgets II
The dashboard below shows another example where the Media widget plays a video message from the CEO:
Media Widget Dashboard - CEO Message
Media Widget
331
Widgets II
The following types of files are acceptable for use in the Media widget: VideoThe Media widget can play only video in an .swf or .flv format AudioThe Media widget can play only audio in an .mp3 format ImagesThe Media widget can play only images in a .png, .jpg, .gif, or .svg format
Unlike other types of widgets, the Media widget does not require attributes or metrics on its widget template. The widget template is empty, but its Flash properties contain the information for the media file. You can configure the Media widget to play a media file based on the attribute element you select in a dashboard. For example, you can select a Quarter attribute element, such as Q1 2006, to display a CEOs video about the sales performance for that quarter. Similarly, you can choose a Region attribute element, such as Southwest, to play an audio clip about the performance of stores in that specific region. If you want to tie the Media widget to a specific attribute, you must then include the attribute in the Media widgets widget template. You can also play media files related to a document or dataset. For more information about playing a media file when you select a specific attribute element, document, or dataset, see Viewing Media Related to a Specific Attribute, Document, or Dataset starting on page 335.
Widgets II
The following procedure describes how to create a Media widget at a high level:
To create a Media widget:
1 On the Insert menu, point to Widgets, and select the Media Widget to add it to your document in MicroStrategy Web. 2 Click the location in your document in which to place the widget. The widget template displays as an empty standard grid container. Unless you want to configure the widget to play a media file based on the selection of a specific attribute element, leave the widget template empty. 3 Switch to Flash Mode. 4 Right-click the widget and select Properties. 5 In the Media Widget window, click the General tab. 6 In the Content Type drop-down list, choose the type of media to present by selecting Video, Audio, Web Content, or Image. 7 In the Default Feed box, type the location of the content: For a Flash video file stored on the network, you can use a folder location such as:
http://www.mycompany.com/Marketing/Sales Videos/SouthRegionSales.swf
http://www.mycompany.com/videos/SouthRegionSales.swf
Media Widget
333
Widgets II
9 If desired, in the Tooltip Text box, type text to display as a tooltip when the user hovers their cursor over the Play button. 10 If desired, format the background color of the Play button. 11 If desired, select the Popup content when clicked check box, which displays a small preview of the content when a user clicks the Play button. 12 In the Display Content drop-down list, select either Inline or New Window.
If you have selected New Window and you have trouble seeing the Media widget content after
clicking the Play button, your pop-up blocker might be preventing the new window from opening. Try switching this setting to Inline to see if you get better results. 13 In the Button Text box, type the text for the Play button. 14 Click the Play Frequency tab. 15 To display the Play button in the widget, select the Show Play Button Control check box. button does If the Playcontrolled bynot display, then media cannot be the user. It displays according to the play options selected in the Properties window. 16 To play the media file automatically when the dashboard opens, select the Auto Play on Start check box. 17 In the drop-down list, select Continuous Play to play the video continuously in the loop or select Play Once to play the video only once. 18 Click OK to apply the changes.
Widgets II
Media Widget
335
Widgets II
The Region attribute in the grid is defined as a selector with the Media widget as its target. The Media widgets Default Feed Flash property uses the dynamic {[Region]}.swf reference in the URL.
Widgets II
The following procedure describes how to view media related to a specific attribute in the dashboard in more detail.
To view media related to a specific attribute in the dashboard:
procedure assumes that you have ThisMedia widget to the document. already added the
Place report objects on the widget template
1 From the Dataset Objects pane, place the attributes that will determine the type of content the Media widget plays on the widget template. For example, if you want the Media widget to play content specific to a particular region when a user selects a region from a grid or graph, add the Region attribute to the widget template. 2 Do one of the following to set the Media widget as the target of the attribute or selector on the document: If the attribute is on a grid/graph, right-click the attribute on the grid/graph and select Use as Selector. Set the Media widget as the target of the selector. If the attribute is part of a selector, right-click the selector and select Select Target. Set the Media widget as the target of the selector.
3 Switch to Flash Mode. 4 Right-click the widget and select Properties. 5 In the Properties window, click the General tab. 6 In the Content Type drop-down list, choose the type of media to present by selecting Video, Audio, Web Content, or Image.
Media Widget
337
Widgets II
7 In the Default Feed box, specify the location of the content: To display media stored on the network, use the following format:
http://www.mycompany.com/videos/{[Region]}.swf, where Region is the name of the attribute element for which a unique media file plays. 8 Click the Play Frequency tab and proceed to define the appropriate properties for how you want the media content to play. 9 Click OK to apply the changes. 10 Click a corresponding attribute element in the dashboard to play media related to it.
Widgets II
Waterfall Widget
After completing this topic, you will be able to: Create the Waterfall widget and understand its purpose.
A Waterfall widget highlights the increments and decrements of the values of metrics over time. Analysts can use the widget to identify the aspects of the business that are contributing to the fluctuations in the values. The widget can also be used to perform "what if" analysis. The widget consists of a group of clustered bars displayed from left to right. The X-axis contains either attribute elements or metrics, depending on where the attributes and metrics are placed on the widget's template in Design Mode or Editable Mode. The Y-axis displays a range of values based on the metrics on the widget's template.
Waterfall Widget Example
Waterfall Widget
339
Widgets II
In the widget example, metrics are displayed along the X-axis. The first bar (in grey) represents the amount of sales revenue generated in 2005. The remaining bars in the widget represent the remaining metrics on the X-axis, including the Depreciation and Tax Expense metrics. These bars depict the business factors that diminished revenue and one factor (the Other Gains and Losses metric) that increased revenue. As a group, these bars highlight the contributions of various aspects of the business on total revenue from sales. This final value is represented by the last bar on the right, which represents Net Income for 2005.
The Waterfall widget does not require a separate selector to enable the user to interact with it. However, you can use it as a selector.
Widgets II
The following is an example of a valid arrangement of report objects on a Waterfall widget template where the rows contain only metrics and the metric values produce the increment and decrement bars. This is the widget template for the previous example:
Waterfall Widget Template - All Metrics on Rows
If you use this type of object arrangement in the Waterfall widget template, the order of the metrics on the rows controls the order of the increment and decrement bars on the widget. To render the widget properly, in the Flash properties, you must select the Increments/Decrements Provided check box. Another possible arrangement for a Waterfall widget template is the following, where the combination of the FD Account attribute and the Amount Item metric produces the values for the increment and decrement bars:
Waterfall Widget Template - Attributes and Metrics
In this scenario, the widget automatically determines how to display the increment and decrement bars based on the values for each FD Account. To render the widget properly, in the Flash properties, you must clear the Increments/Decrements Provided check box.
Waterfall Widget
341
Widgets II
Widgets II
Increments/Decrements Provided
Waterfall Widget
343
Widgets II
Widgets II
The Fish Eye is an interactive, Flash-only selector widget. Selector widgets look like standard selectors in Editable, Interactive, and View Modes, but are formatted differently in Flash Mode and become interactive when a user hovers the cursor over them. The Fish Eye selector addresses the challenge of scrolling through a long list of elements and selecting items from the list. With the Fish Eye selector, you can view the entire list of elements on the screen and scale up or down a few elements at a time. The elements you mouse over or select automatically become magnified, while the remaining elements are minimized and displayed in the background of the selector. The example below shows a list of states in a traditional Listbox (on the left) as compared to the same Listbox with the Fish Eye Flash display option enabled (on the right):
Traditional Listbox Selector vs. Fish Eye Selector Widget
345
Widgets II
Notice how the traditional Listbox requires a scroll bar for viewing the entire contents of the selector. The Fish Eye selector, on the other hand, lets you view the entire list of states and automatically enlarges a particular state as you mouse over it. When you select a state, the Fish Eye selector displays it in a different color and with a drop shadow effect. The following image shows another example of a Fish Eye Selector in a dashboard:
Fish Eye Selector in Sales by Customer State Dashboard
example, run the Sales by Customer State To see thisin the Shared Reports\Dashboards and document Scorecards folder.
Widgets II
1 Open the document in Design Mode or Editable Mode. 2 Insert a new selector by doing one of the following: On the Insert menu, point to Selector, and select Fish Eye. OR On the Insert toolbar, click the Selector button drop-down list and select Fish Eye. OR If you already have a selector on the document, right-click the selector and select Properties and Formatting. 3 In the Properties and Formatting window, under Properties, select Layout. 4 Under Selector, in the Flash Style drop-down list, select Fish Eye. 5 Switch to Flash Mode to view the Fish Eye selector. You can define the Fish Eye selector widget to display in any of the DHTML document display modes (View Mode, Interactive Mode, and Editable Mode) with the Listbox style, the Button Bar style, the Link Bar style, and so on. The Fish Eye selector permits you to make a single selection from the list of elements. However, you can press the CTRL key to multiselect elements. Also, if you have the All option enabled for the selector, you can select the All element to view all elements simultaneously in the target.
347
Widgets II
When you view the same document in Flash Mode, it displays as follows:
Fish Eye Widget Template in Flash Mode
Widgets II
Default scale
Max scale
Scale radius
349
Widgets II
Animation speed
Widgets II
The Date Selection widget is a calendar selector. It shows you all of the dates for each month and makes it easier to browse across months. In the example shown below, the Date Selection widget shows the dates for December 2009 and it controls the contents of the grid on the right:
Date Selection Widget
Like the Fish Eye selector widget, you can create the Date Selection widget from a selector or from a grid/graph. Depending on which method you choose, the Date Selection widgets look will vary when you switch to any of the DHTML document display modes.
351
Widgets II
assumes that you already have This procedurethe document which you want toadefine grid/graph on as a Date Selection selector widget and that the Day attribute on the grid/graph targets another grid/graph or panel stack. 1 Open the document in Design Mode or Editable Mode. 2 Right-click the grid/graph which you want to define as the Date Selection selector and select Properties and Formatting. 3 In the Properties and Formatting window, under Properties, select Flash. 4 Under Widget, in the Selected Widget drop-down list, select Date Selection. 5 Click OK. 6 Switch to Flash Mode to view the Date Selection selector widget.
Widgets II
353
Widgets II
You can view the following widgets in Interactive Mode as well as Flash Mode:
Flash Widgets Available in Interactive Mode and Flash Mode
Widget Bubble Grid Data Cloud Date Selection Fish Eye Selector Funnel Gauge Graph Matrix Heat Map Interactive Bubble Graph Media Microcharts RSS Reader Waterfall
Widgets II
1 Open the document in Design Mode or Editable Mode. 2 Right-click the widget template and select Properties and Formatting. 3 In the Properties and Formatting window, under Properties, select Flash. 4 Under Widget, in the DHTML rendering drop-down list, select Same as Widget. 5 Click OK. 6 Switch to Interactive Mode to view the widget.
355
Widgets II
Exercises
Widgets As Selectors
Overview
This exercise is designed to give you hands-on practice with using an Interactive Stacked Graph widget as a selector to control the output of a grid on the same document. After you complete the exercise, your document should resemble the following image:
356 Exercises
Widgets II
If you do not want to follow the detailed step-by-step instructions to perform the exercise, use the following high-level steps instead: 1 Create a report called ISG_Dataset that contains the following: Month in the rows Region and Revenue in the columns Report filter for 2009
2 Create a report called ISG_Target that contains the following: Month in the rows Region, Call Center, and Units Sold in the columns Report filter for 2009
3 Convert the ISG_Dataset into a document. 4 The document should contain the following components: Interactive Stacked Graph widget, based on the dataset you created in step 1. A grid, based on the dataset you created in step 2.
Exercises
357
Widgets II
10 Define the Month attribute on the widget template so that it too controls the target grid.
Enable the Show option for All check box for the Month.
11 Switch to Flash Mode and select any data point from the bottom area graph (as shown in the image at the beginning of this exercise). Does the grid change at all? 12 Change the widgets Flash properties so that the widget graph, not the legend, is the selectable area. 13 Click any data point on the bottom area graph again. Does the grid change? 14 To display data for all months on the grid, skip to step 40 in the Detailed Instructions.
Detailed Instructions
Create the dataset
Widgets II
5 Run the report and study the results. 6 Save the report to the My Reports folder, naming it ISG_Target.
Convert the ISG_Dataset into a Document
7 On the My Reports page, right-click the ISG_Dataset and select Convert to Document. 8 In the Document Editor, in the Detail Header section, right-click the grid and select Properties and Formatting. 9 In the Properties and Formatting window, under Properties, select Flash. 10 In the Selected Widgets drop-down list, select Interactive Stacked Graph.
Exercises
359
Widgets II
11 Click OK. on the Insert menu or the Insert Alternatively,can select the appropriate widget to toolbar, you insert it into the document. After the blank widget template displays in the Layout area, you can add the attributes and metrics from the dataset to define the widget template. 12 Add the ISG_Target as a dataset to the document. 13 With the Detail Header selected, right-click the ISG_Target and select Add to Section with Formatting. 14 Size and position this grid below the Interactive Stacked Graph widget, as shown below:
15 On the Tools menu, select Document Properties. 16 In the Document Properties window, under Document Properties, select Document. 17 Under Run Modes, in the Run by default as drop-down list, select Flash. 18 Click OK. 19 Switch to Flash Mode.
360 Exercises
Widgets II
20 Click the Mid-Atlantic element in the legend. Does your Mid-Atlantic selection have any impact on the grid below the widget? 21 Click any data point on the bottom portion of the widgets graph. Does your selection have any impact on the grid?
Define the widgets Region attribute as a Selector
22 Switch back to Design Mode. 23 In the columns of the widget template, right-click the Region attribute and select Use as Selector. 24 Switch to Flash Mode. 25 Click the Northeast element in the legend and observe the results. 26 Click any data point on the bottom portion of the widgets graph. Does your selection have any impact on the grid?
Define the widgets Month attribute as a Selector
27 Switch back to Design Mode. 28 In the rows of the widget template, right-click the Month attribute and select Use as Selector. 29 In the rows of the widget template, right-click the Month attribute and select Edit Selector. 30 In the Configure Selector window, select the Show option for All check box. 31 Click OK. 32 Switch to Flash Mode. 33 Click any data point on the bottom portion of the widgets graph. Does your selection have any impact on the grid? 34 To be able to use the graph as a selector, you must enable a Flash property. In Flash Mode, right-click the widget and select Properties.
Exercises
361
Widgets II
35 In the Interactive Stacked Graph window, under Selectors, in the Selectable Area drop-down list, select Graph. 36 Click OK. 37 Click any data point on the bottom portion of the graph and notice how the graph now controls the grid below the widget. 38 To display all months, click any portion of the plotted area graph that is not a specific data point, as shown below:
362 Exercises
Widgets II
Exercises
363
Widgets II
Detailed Instructions
Create the Dataset
The Revenue Forecast metric is located in the Sales Metrics\Forecast Metrics folder.
2 Run the report and study the results. 3 Save the report to the My Reports folder, naming it Graph Matrix Dataset.
Convert the Graph Matrix Dataset into a Document
4 In the My Reports folder, right-click the Graph Matrix Dataset and select Convert to Document. 5 In the Document Editor, In the Detail Header section, right-click the grid, select View Mode, and select Graph View. 6 Right-click the graph and select Properties and Formatting. 7 In the Properties and Formatting window, under Properties, select Flash. 8 Under Widgets, in the Selected Widget drop-down list, select Graph Matrix.
364 Exercises
2011 MicroStrategy, Inc.
Widgets II
9 Click OK. 10 Use the Document Properties window to enable Flash as the default display mode.
Analyze the Graph Matrix
11 Switch to Flash Mode. 12 Double-click the Northeast, Books graph to maximize it. 13 As you study the results, answer the following questions: Which attribute represents the X-axis of the graph? Which metric represents the line graph? Which metric represents the colored series in the area graph? What does the black horizontal line represent? What does the red horizontal line represent?
14 Close the Northeast, Books graph and study it compared to the other graphs along the same row. For the Northeast region, how did the Books category perform as compared to the Movies and Music categories, particularly when you compare the values on the Y-axis?
15 As you study all of the graphs in the Graph Matrix, can you identify the best performing category overall? 16 Right-click the widget and select Properties. 17 In the Graph Matrix window, clear the Reference line check box. 18 Click OK to apply the formatting change and study the results. Which reference line disappears? The black horizontal line, the red horizontal line, or both?
19 Right-click the widget again, select Properties, and select the Uniform axis check box.
Exercises
365
Widgets II
20 Click OK to apply the formatting change and study the results: When you use a uniform axis for all of the graphs, what analysis can you perform at a glance?
21 Using the Flash formatting properties, disable the uniform axis once again and click OK. 22 Save the document to the My Reports folder, naming it Graph Matrix Practice.
Microcharts Widget
Overview
This exercise is designed to give you hands-on practice with creating a Microcharts widget. First, you learn how to define the Microcharts widget to display a sparkline. Then, you will edit the display properties to include a bar. Finally, you will add more metrics to the widget template to display all three microcharts: the sparkline, the bar, and the bullet. At the end of the exercise, your document should resemble the following image:
366 Exercises
Widgets II
Detailed Instructions
Create the document
1 On the MicroStrategy Web toolbar, click the Create Document link. 2 On the Create Document page, click 01 Blank Dashboard. 3 Add the Regional Case Summary report, located in the Shared Reports\MicroStrategy Platform Capabilities\MicroStrategy Report Services\Datasets\Customer Support Dashboard folder, as a dataset. 4 In the Layout area, click Add Content, select Widgets, and select Microcharts. 5 Add the following attributes from the dataset to the rows of the widget template: Region Month
6 Add the following metrics from the dataset to the columns of the widget template: Open Cases Open Cases (LY)
7 Switch to Flash Mode. 8 As you study the results, answer the following questions: Which metric represents the fluctuations in the sparkline? Which metric represents the horizontal reference line? How are the months represented in Flash Mode?
9 Change the following Flash properties for the Sparkline: Enable the All points check box.
Exercises
367
Widgets II
Clear the Associated metric check box. Change the label header to 12 Month Trend (Open Cases). Set the background opacity to 60%.
10 Click OK to apply all of the formatting changes and study the results. Your results should resemble the following image:
the column sizes in Flash Mode by You can adjustcursor to locate the sizing handles hovering your for each column.
Enable the bar microcharts display
11 After reviewing the changes to the sparkline, use the Flash formatting properties to include the following formatting changes for the bar: Select the Show bar graph check box. Select the Reference line check box. Change the bar label header to 12 Month Trend Min/Max. Change the bar colors so that the positive value is blue. Change the reference line color to green.
368 Exercises
Widgets II
At this point, you have created a document that displays both a sparkline and a bar. You could potentially leave the dashboard as is. However, if you want to include a bullet, you need to add more metrics to the widget template. This next portion of the exercise teaches you how to define the bullet.
Add metrics to the widget template for the bullet
13 Back in Design Mode, using the Document Properties, enable Flash Mode as the default display mode for the dashboard. 14 Add the following metrics to the right of the existing metrics on the widget template, in this order: Cases Closed Max Cases Closed Low Cases Closed Med Cases Closed Target Cases Closed
15 Switch to Flash Mode. 16 As you study the results, answer the following questions: Which metric represents the vertical reference line in the bullet? Which metric represents the right-most boundary for Band1 (the darkest band)? Which metric represents the right-most boundary for Band2 (the middle band)? Which metric represents the maximum possible value in the bullet? Which metric represents the length of the performance bar (the dark blue bar) in the bullet? Which region exceeded its target? Which region fell farthest below its target?
Exercises
369
Widgets II
17 Edit the Flash formatting properties as follows: Change the bullet label to % to Goal (Closed Cases). Change the bullet colors so that the performance bar (Positive values) is dark grey (or any color you like). In the Microcharts window, in the bullet options, notice that the associated metric is enabled by default. Leave this option as is.
19 Back in Design Mode, add the New Cases metric as the last metric in the columns of the widget template. 20 Switch to Flash Mode. Did the New Cases metric impact the sparkline, bar, or bullet microcharts? Why or why not? 21 Optional: Test out the various operation modes for the Microcharts widget. 22 Save the document. You will use it again for the next exercise.
370 Exercises
Widgets II
Media Widget
Overview
This exercise is designed to give you hands-on practice with creating a Media widget. You will add the widget to the Microcharts Practice dashboard from the previous exercise. At the end of the exercise, your document should resemble the following image:
Exercises
371
Widgets II
Detailed Instructions
1 Open the Microcharts Practice document in Design Mode. 2 In the Layout area, select the Microcharts widget template and resize it, leaving space at the top of the placeholder panel stack for another widget template. 3 On the Insert menu, select Widgets, and select Media. 4 Place the Media widget template on the top middle portion of the placeholder, as shown below:
5 Switch to Flash Mode. 6 When the Please enter the URL window displays, click OK. 7 Right-click the Media widget and select Properties. 8 In the Media window, on the General tab, define the following properties: Content Type: Video Default Feed: http://localhost/demo4.swf
classroom computer should Yourserves as the media source forstore the .swf file that this exercise. However, if you are using a central Web server, replace localhost with the IP address provided by your instructor. Use Proxy: Disabled Tooltip Text: Click to view a dashboard demo Popup content when clicked: Enabled
372 Exercises
Widgets II
9 Click OK to exit the window. 10 Click the Play Dashboard Demo button to play the demo. 11 Maximize the demo window to view the entire dashboard. the audio portion of the To hear unmute your computer. demo file, you might need to 12 After watching some of the demo, close the demo window. 13 Save the document, naming it Media Widget Practice.
Exercises
373
Widgets II
Detailed Instructions
1 Create a new document, based on the 01 Blank Dashboard dashboard template. 2 Add the Daily Regional Category Data report, located in the Shared Reports\MicroStrategy Platform Capabilities\MicroStrategy Report Services\Datasets\Corporate Sales Overview folder, as a dataset. 3 With the placeholder panel stack selected, on the Insert menu, select Selector, and select Date Selection.
374 Exercises
Widgets II
4 Position the Date Selection selector widget in the top left corner of the placeholder (as shown in the image below). 5 Using the Insert menu, add a Fish Eye selector widget to the placeholder and position it in the bottom left corner. 6 Add a Gauge widget to the top right corner of the placeholder, which contains the Call Center attribute on the rows and the Profit metric on the columns of the widget template. 7 Add another Gauge widget to the bottom right corner of the placeholder, which contains the Call Center attribute on the rows and the Profit Margin metric on the columns. The document in Design Mode should display as follows:
8 Using the properties, define the Date Selection selector widget as follows: Source: Day Target: Both grid/graphs Show option for All: Disabled
9 Using the properties, define the Fish Eye selector widget as follows: Source: Call Center
Exercises
375
Widgets II
10 Change the default display mode to Flash Mode. 11 Save the document to My Reports, naming it Fish Eye and Date Selection Selectors. 12 Run the document in Flash Mode. 13 Test the interactivity of the selectors with the gauges.
376 Exercises
Widgets II
Answers Exercise
Graph Matrix Exercise
13) As you study the results, answer the following questions: Which attribute represents the X-axis of the graphs? Month Which metric represents the line graph? Revenue Forecast Which metric represents the colored series in the area graph? Revenue What does the black horizontal line represent? The average for that specific graph What does the red horizontal line represent? The average for all of the graphs on that row
14) Close the Northeast, Books graph and study it compared to the other graphs along the same row. For the Northeast region, how did the Books category perform as compared to the Movies and Music categories, particularly when you compare the values on the Y-axis? It performed worse than the other two.
15) As you study all of the graphs in the Graph Matrix, can you identify the best performing category overall? Movies 18) Click OK to apply the formatting change and study the results. Which reference line disappears? The black horizontal line, the red horizontal line, or both? Both
20) Click OK to apply the formatting change and study the results:
Exercise Answers
377
Widgets II
When you use a uniform axis for all of the graphs, what analysis can you perform at a glance? You can analyze the category that outperformed the others across the same row (within the same region). You can also see which region might stand out as outperforming all other regions for all categories (like Northeast).
Microcharts Exercise
8) As you study the results, answer the following questions: Which metric represents the fluctuations in the sparkline? Open Cases Which metric represents the horizontal reference line? Open Cases (LY) How are the months represented in Flash Mode? They control the X-axis.
16) As you study the results, answer the following questions: Which metric represents the vertical reference line in the bullet? Target Cases Closed Which metric represents the right-most boundary for Band1 (the darkest band)? Low Cases Closed Which metric represents the right-most boundary for Band2 (the middle band)? Med Cases Closed Which metric represents the maximum possible value in the bullet? Max Closed Cases Which metric represents the length of the performance bar (the dark blue bar) in the bullet? Cases Closed Which region exceeded its target? Northeast Which region fell farthest below its target? Mid-Atlantic
Widgets II
20) Switch to Flash Mode. Did the New Cases metric impact the sparkline, bar, or bullet microcharts? Why or why not? No, because it is the eighth metric on the widget template so it displays as a regular metric to the right of the bullet.
Exercise Answers
379
Widgets II
Lesson Summary
In this lesson, you learned: You can use report objects on a widget template to make the widget behave like a selector for the several types of widgets. If you define the Time Series Slider widget to act as a selector, the primary graph at the bottom of the widget is the portion that controls other panel stacks or grid/graphs on the document. If you define the Interactive Stacked Graph widget to act as a selector, you can specify either the legend or the graph as the portion that controls other panel stacks or grid/graphs on the document. The Bubble Grid widget shows trends or anomalies in data, relative to the total contribution of accompanying data. The Data Cloud widget displays attribute elements in various sizes to depict the differences in metric values between the elements. The Graph Matrix widget displays multiple series of data in a combined graph and line chart. One graph displays for every combination of elements from the attributes on the widget templates rows and columns. The Microcharts widget consists of one or more microcharts, which are compact charts integrated into a grid of data that enable analysts to quickly identify trends. Depending on how you define the widget template, the Microcharts widget can display a bar, a sparkline, and/or a bullet. The Media widget enables dashboard users to view a variety of media content, such as audio, video, images, or Web site content on a Flash dashboard. The Waterfall widget highlights the increments and decrements of the values of metrics over time.
2011 MicroStrategy, Inc.
Widgets II
The Fish Eye selector widget enables you to view the entire list of elements on the screen and scale up or down a few elements at a time. The Date Selection selector widget is a calendar widget that shows you all of the dates for each month and makes it easier to browse across months. You can enable certain widgets to display effectively in Interactive Mode, while others can display only in Flash Mode.
Lesson Summary
381
Widgets II
7
DOCUMENT PERFORMANCE CONSIDERATIONS
Lesson Description
In this lesson, you will learn how documents with DHTML and Flash output formats run in MicroStrategy Web and how to optimize them for better performance.
383
Lesson Objectives
After completing this lesson, you will be able to: Explain how documents with DHTML and Flash output formats run in MicroStrategy Web and understand how to optimize them for better performance.
After completing the topics in this lesson, you will be able to: Describe the process by which documents in DHTML and Flash formats are generated in MicroStrategy Web. (Page 385) Describe the impact of dataset performance, document data preparation, and various document objects on overall document performance. (Page 392) Describe solutions to several document performance challenges. (Page 415) Understand a methodology for troubleshooting document performance issues and apply many optimization techniques to improve the performance of your documents. (Page 419)
When evaluating a documents performance, you must consider all of these factors together.
385
Execution Flow
The MicroStrategy Report Services: Document Essentials course introduced you to the following diagram, which illustrates the document execution process at a high level:
Document Execution Flow - High Level
To understand the process at a deeper level, it helps to break the execution flow down into steps:
Document Execution Flow - Detailed Steps
2 3 4
387
6 7
8 9
10
On the client browser, documents that display in the DHTML modes require extra steps for rendering, as described below:
Document Rendering in DHTML on Web Browser
Step 11 Process Resources are loaded and JavaScript actions take place to render the document in DHTML.
Documents that display in Flash Mode require the following additional steps on the client browser:
Document Rendering for Flash Mode on Web Browser
Step 11 12 13 Process The Flash instance creates a document instance. Flash loads the DashboardViewer.swf file. Flash renders the document.
document rendering For more information on theto the MicroStrategy process in Flash Mode, refer Knowledge Base.
MicroStrategy Web combines these files with the following additional files for final rendering on the client browser: Image files (if required on the document) Widget files (if required on the document) DashboardViewer.swf
389
Data File
The Data file for a document in Flash Mode contains the data necessary to render the document. Its size depends largely on how much data is associated with each document object. Therefore, the number of grid/graphs, selectors, and grouping objects, as well as the size and number of datasets directly impact the size of the Data file. This file typically contributes 95% of the total document size. Any dataset optimizations or document structure optimizationssuch as reducing the number of grid/graphs and thereby reducing their associated amount of datathat you can perform on the document will help to reduce the size of the Data file.
In previous versions of MicroStrategy Report Services, the Data file was stored in XML format.
Keeping the Data file smaller provides better performance for the document. The table below displays the sizing considerations for the Data file:
Data File Sizes
File Size <1 MB Performance Level Optimum (Recommended)
391
Remember that all datasets are executed in parallel, using resources such as Intelligence Server CPU and Intelligence Server memory.
The table below displays sizing considerations for documents, depending on the number of datasets:
Number of Datasets
# of Datasets 1 to 5 5 to 10 >10 Performance Level Optimum (Recommended) Acceptable Slow (Not Recommended)
The table below displays sizing considerations for datasets, depending on the amount of data they contain:
Dataset Sizes Depending on Data
Dataset Size (Bytes) <250 KB Between 250 KB and 1.5 MB >1.5 MB Data Size (Cells) < 6,500 Between 6,500 and 25,000 > 25,000 Performance Level Optimum (Recommended) Acceptable Slow (Not Recommended)
393
Document designers can control the way datasets are combined in the virtual dataset by specifying primary and secondary datasets. This feature makes it possible to limit the size of the virtual dataset by controlling how the datasets are joined. information on primary For morerefer to the MicroStrategyand secondary datasets, Report Services: Document Essentials course or the Report Services Document Creation Guide product manual. Also, as you design a document, you might consider calculating approximately how many rows and columns the final virtual dataset contains. For example, a document with 3 panel stacks x 4 panels x 100 rows x 10 years x 12 months x 4 product lines contains so many possible data combinations that the virtual dataset becomes rather large. In this scenario, you should try to limit the amount of data or minimize the number of selectors and panels. By including prompts on some of the attributes (such as Year and Product Line), you can significantly reduce the amount of data retrieved by Intelligence Server and the number of combinations in the virtual dataset. Early in the design process, you should also identify which attributes on the document (particularly those which are candidates to become selectors) are likely to grow in terms of number of data elements. A document you design today that includes a Category attribute with just a few product categories might someday grow to contain hundreds or thousands of categories. If the virtual dataset becomes too large, you might consider removing some of the detailed-level data and using links on the document to let users navigate to these reports. Document preparation time is affected by the following: Number and size of the datasets Type of joins between the datasets Number and complexity of the grid/graphs on the document Number of selectors and their targets Number of grouping objects
Number of panels (including nested panels) Number of text boxes Number of thresholds
Panels
Grid/graphs Widgets
395
Thresholds
In DHTML, documents might perform better with grouping objects because you can enable incremental fetch for specific grouping objects. Even though documents that display in DHTML require trips back and forth to the Web server to render additional selections from the group-by objects, incremental fetch can optimize this process by controlling the number of elements that are fetched at one time.
In Flash Mode, for each item you select in a selector that controls a grid/graph, the corresponding slice of data is prebuilt and stored in the Data file. Using multiple selectors increases the demand on Intelligence Server resources. However, for Flash Mode, using selectors that target only certain objects (such as grids) might be more efficient than using grouping, which requires more XML duplication for each grouping element. Furthermore, when including selectors in documents that display in Flash Mode, you might consider saving the document with specific elements selected for each selector. The next time a user runs the document, it should load faster because it renders a specific slice of data for each selector instead of all elements. As of version 9.0.1, you can use filtering selectors as a way to optimize the initial rendering of a dashboard. Filtering selectors initially retrieve only one slice of data, thereby significantly reducing the initial load time of a dashboard. Every time a user changes the selection in a filtering selector, MicroStrategy Web will fetch the new data slice from Intelligence Server.
397
It is important to understand the tradeoffs presented by using Filtering Selectors vs. Standard Selectors, the table below illustrates such tradeoffs:
Selector Tradeoffs
Actions Initial Dashboard Execution Standard Selectors Slower All data slices must be processed and fetched upfront Faster All data is already on the client, no further trips to Intelligence Server are required Filtering Selectors Faster Only one slice of data must be processed and fetched Slower A round trip to Intelligence Server is required to bring the next slice of data to the client
Layouts in Documents
When adding many layouts to a document, consider the impact on the documents response time and size. For documents that render in DHTML, one layout is retrieved at a time and XML is not generated for additional layouts until they are demanded by user (that is, until the user clicks to view another layout). Because less data loads on the client at first, there is a quicker response time to view that layout (as compared to running the same document in Flash Mode). However, when you click to view the next layout, you must wait for it to download to the client browser and to render. In Flash, panels and layouts are fully loaded to the client when the document is first loaded. However, the display of each layout and panel is rendered on the browser only on demand. When the user clicks on a different layout or panel, the new layout or panel gets rendered at that time (on demand).
Flash vs. DHTML for Multiple Layouts
399
In DHTML, you can enable the incremental fetch feature to control how panels render at run time. With incremental fetch enabled, users retrieve only the current panel when the dashboard executes in MicroStrategy Web, which contributes to better initial performance. Other panels are loaded only when the user requests them and are subsequently cached in the browser. If the user is unlikely to access all the panels in a panel stack, or if you want to optimize the initial load time of the document, you can specify that the panels load on demand. The document opens faster initially, although individual panels loaded on demand will take some time to load when the user selects them. After a panel is loaded, it remains cached on the client until the user closes the document.
Given its incremental nature, DHTML is the more appropriate option for documents that contain larger amounts of data, as illustrated below:
Flash vs. DHTML Panels
On demand panel loading occurs when the document is executed in MicroStrategy Web with DHTML enabled (in Interactive Mode or Editable Mode). On-demand panel loading does not occur in Flash Mode. You can define how panels are loaded at two levels: For all the panel stacks in the document (the document-level setting) For each panel stack
These options enable you to set different panel load settings for different panel stacks. For example, in a document with multiple panel stacks, you can define all panel stacks to pre-load all panels (at the document level). However, if there is one panel stack that contains many more panels than the other panel stacks, you can define that panel stack to pre-load only the current panel.
401
1 Open a document in MicroStrategy Web. 2 In the Design mode, on the Tools menu, select Document Properties. 3 In the Document Properties window, under Document Properties, click Advanced. 4 Under Panel Stacks (DHTML Only), in the Pre-load drop-down list, select Current Panel Only of All Panel Stacks, as shown below:
all panels when the To pre-load MicroStrategy Web,document is executed in unless the panel load setting for a specific panel stack is defined differently, in the Pre-load drop-down list, select All panels of All Panel Stacks. 5 Click OK.
1 Open a document in Design Mode. 2 In the Document Editor, right-click the panel stack to modify, and select Properties and Formatting. 3 In the Properties and Formatting window, in the General properties under the Panel Stack section, select one of the following Pre-load (DHTML only) settings, as shown below: To use the document-level setting, select Inherit from Document. To pre-load all panels when the document is executed in MicroStrategy Web, select All Panels. To load only the current panel when the document is executed in MicroStrategy Web, select Current Panel Only.
demand only Panels are loaded onwhen DHTML in enabled. For MicroStrategy Web is instructions on enabling DHTML, see the MicroStrategy Web Help. 4 Click OK.
2011 MicroStrategy, Inc. Document Performance Optimizations
403
The document might run more efficiently if you use the Quick Switch feature to show the grid and graph view of a grid/graph, instead of using a nested panel stack with the Grid and Graph panels.
In the following example, the original document contains multiple grids to show specific rows of information. When the document designer modifies the document to use dynamic text boxes instead, the document takes less time to run:
Grids Versus Text Boxes
However, you might have a document where you need to show many rows of data. In this case, you might improve a document's performance by using a single grid instead of many dynamic text boxes. When you compare the time it takes to render one grid versus hundreds of dynamic text boxes on the browser, it takes less time to render the single grid.
405
For performance optimization purposes, it is recommended that you restrict the number of elements (such as grids and graphs) in a dashboard. The table below displays sizing considerations for dashboards, depending on the number of grids, graphs, and visualizations they contain:
Performance Depending on Content
# of Panels <10 10 to 25 >25 Performance Level Optimum (Recommended) Acceptable Slow (Not Recommended)
407
This property applies only to the rows, not the columns, of the grid/graph.
You can define the incremental fetch options for grid/graphs in either MicroStrategy Web or in MicroStrategy Desktop, but incremental fetch is applied only when the document is executed in Editable Mode, Interactive Mode, or View Mode in MicroStrategy Web. MicroStrategy Desktop does not apply incremental fetch to grid/graphs.
The blocks of data are defined by the number of rows to return at a time. For example, a grid/graph on a document contains 32 rows. Incremental fetch is applied, with the number of rows per page set to 10. In MicroStrategy Web, only 10 rows are displayed on a single page of the grid/graph. Users can click the page numbers at the bottom of the screen to display more information. The document is shown below in Interactive Mode in MicroStrategy Web:
Document with Incremental Fetch on Grid Layer
apply to a document you There are rules thatfetch on grids/graphswhenwhen enable incremental and there are repeating document sections (like grouping sections and the Detail section). For more information, refer to the Report Services Document Creation Guide product manual.
To apply incremental fetch to a grid or graph in a document:
1 Open a document in Design Mode. 2 In the Document Editor, right-click the grid/graph, and select Properties and Formatting.
409
3 In the Properties and Formatting window, on the left pane, under Properties, click Advanced. 4 Select the Enable incremental fetch in Grid check box. 5 Enter the Maximum number of rows per page. 6 Click OK.
Formatting Changes
Formatting changes, such as the modification of background or font colors, font size, font styles, graph styles, and thresholds, are relatively inexpensive but can eventually impact the size of a document. The following table lists the various objects and document sections to which you can apply custom formatting:
Formatting Changes
When you combine the objects listed above with custom formats and several selectors, the XML size of a document can increase quickly. For example, imagine a document where you have 5 selectors that target the entire contents of a panel stack (all panels with static labels, images, grid/graphs, and so on). If every selector contains 10 elements, Intelligence Server must generate duplicate views of the panels for every possible combination of elements across the selectors. Even static objects, such as labels and images, are duplicated on the panel view. If your images use long reference names in their image paths or URL links, Intelligence Server works even harder to generate the document. In this case, shortening the names of your image files can improve the documents performance. Also, targeting individual grid/graphs instead of entire panel stacks can prevent Intelligence Server from having to duplicate so many static objects (such as labels and images). With regard to thresholds, in particular, Intelligence Server performs extra processing steps to display them on documents. They require additional calculations, beyond metric calculations. Also, when they display external images (instead of just quick symbols or text), they require additional processing steps. While a small number of thresholds do not considerably impact performance, multiple thresholds in multiple views can compromise the performance of a dashboard. For performance optimization purposes, limit the number of thresholds used in a dashboard.
411
For DHTML, if a document contains large grid/graphs, you might improve the rendering time if you disable automatic sizing of the documents width in the Document Properties window. Setting the Document Width Mode to Fixed, as shown below, improves rendering time on the client browser:
Document Width Mode in Document Properties
The same concept applies to individual grid/graphs on the document. To improve performance, it is recommended that you disable the automatic resize option in MicroStrategy Web on these individual objects.
To disable automatic resize on a grid/graph:
1 Right-click the grid/graph object, and select Properties and Formatting. 2 In the Properties and Formatting window, under Properties, click Layout. 3 Under Size, for Width and Height, if Fit to Contents is selected, click Fixed at to disable it, and then type the size in inches, as shown below:
4 Click OK to save the properties. In general, objects with fixed sizes render more quickly on the browser than dynamically-sized objects. In Flash, for a document that contains many grids and graphs, you might improve the browser rendering time if you spread the grid/graphs across multiple panels in a panel stack as opposed to placing them all on one panel.
413
Remember that panels are fully loaded on the client when the document is first loaded. However, the display of each panel is rendered only on demand (when the user switches to that particular panel). By placing grid/graphs on separate panels, you might improve the browser rendering time because each grid/graph is rendered only when the user views its respective panel in the panel stack. Also, since the panel is held in memory for subsequent viewing, when the user switches back to a previously viewed panel, it is available immediately.
415
Dataset Optimizations
The customer started out with over thirty datasets in the document. Many of these datasets were not being using at all in the document. Other datasets contained many of the same metrics, attributes, and filters. These datasets were good candidates for being combined together to reduce the overall number of datasets. The following actions reduced the XML size of the document and the time required to prepare all of the data: Removing unused datasets Combining existing datasets Removing unused metrics
Dataset Optimizations
The customers document contained grids that held weekly data for about 50 metrics per SKU (stock keeping unit). By modifying some of the datasets to contain prompts, the customer was able to limit the amount of data a user could view in the document. Adding prompts is an easy way to control the size of the virtual dataset.
417
Troubleshooting
Although detailed troubleshooting of document performance issues is beyond the scope of this course, you might want to consider using the following MicroStrategy tuning methodology to identify issues and resolve them:
MicroStrategy Performance Tuning Process
419
2 3
The MicroStrategy Knowledge Base contains many technical notes that explain the document execution process in greater detail and cover troubleshooting techniques for each phase of the process.
Remember some dataset objects (such as consolidations, custom groups, ranking filters, and so on) are more time-consuming for Intelligence Server to process than others With smaller amounts of data to show, use text boxes instead of grids Do not add unnecessary componentsIntelligence Server processes each grid/graph, widget, group-by, selector, panel, text box, line, image, shape, and link to construct the virtual dataset In Flash, to decrease the size of the Data file, limit the number of group-by objects, selectors, grids, and graphs in a document Decrease the number of grids and graphs by combining them into advanced visualizations or replacing them with dynamic text boxes where possible Add links to more detailed reports (instead of adding more panels or more layouts) Enable document caching, which helps the application scale better in terms of concurrent users by 30-50% on average In DHTML, if you have a large amount of data in a document, use layouts or links to minimize the amount of data sent in one request. In Flash, if you have a large amount of data in a document, minimize the selector slicing or use links to more detailed reports
421
Lesson Summary
In this lesson, you learned: There are several factors that affect document performance, including the number and types of users, Intelligence Server and Web server hardware, network performance between the servers and client browsers, and the load mix. The document execution flow contains nine basic steps for executing documents DHTML, Flash, or PDF output formats. Documents that display in any of the DHTML modes produce an XML file that MicroStrategy Web converts into DHTML. Documents that display in Flash Mode produce a Data file (in binary format) and a Definition XML file. These types of documents also typically contain image files, widget files, and the DashboardViewer.swf file. The Data file for a document in Flash Mode contains the data necessary to render the document. Its size depends largely on how much data is associated with each document object. The Definition XML file contains the documents overall structure as well as the formatting and property definitions for each object on a document. There are several steps you can perform to optimize the datasets in your documents, including removing unused datasets or condensing like datasets, removing unused metrics, and enabling report caching. The virtual dataset is the combination of all matching and non-matching data elements between datasets in a document. You can control the way datasets are joined in a virtual dataset by specifying primary and secondary datasets.
In general, the growth of a document, with respect to its overall size and its execution time, depends on how much data is associated with each object on the document. Grouping objects, panels on panel stacks, grid/graphs, widgets, text boxes, and thresholds impact the size and performance of a document. Depending on the documents output format, grouping objects and selectors affect document performance and size in different ways. The more components that you include on the panels in a panel stack and the more data that is associated with each component, the longer it takes to render each panel. In general, grid/graphs take longer to execute than dynamic text boxes. If you have many grids that display only a single row of data (or very few rows of data), consider replacing these grids with dynamic text boxes instead. For documents that display in the DHMTL modes, one layout is retrieved at a time and XML is not generated for additional layouts until they are demanded by user. For documents that display in Flash Mode, panels and layouts are fully loaded to the client when the document is first loaded. However, the display of each layout and panel is rendered only on demand. There are many optimizations that you can perform at the dataset level and document structure level to improve the performance of your documents.
Lesson Summary
423
A
WORKS CITED
425
Works Cited
Works Cited
The following books were referenced for creating this course and are recommended for further study: Few, Stephen. Information Dashboard Design: The Effective Visual Communication of Data. Sebastopol, CA: OReilly Media, 2006. Eckerson, Wayne W. Performance Dashboards: Measuring, Monitoring, and Managing Your Business. Hoboken, NJ: John Wiley & Sons, 2006. Zelazny, Gene. Say It With Charts: The Executives Guide to Visual Communication. 3rd ed. USA: McGraw-Hill, 1996
B
WHATS NEW IN MICROSTRATEGY 9.0.2 FOR DOCUMENT DEVELOPERS
Appendix Description
This appendix provides an overview of new features available for MicroStrategy document developers as of MicroStrategy 9.0.2. Because this release includes dozens of features and enhancements, only the most important, high-profile changes are highlighted in this appendix. The appendix assumes that you are already familiar with MicroStrategy Report Services functionality and related terminology. For more information on all of the features available with MicroStrategy 9.0.2, you can access the Whats New in MicroStrategy 9.0.2 online course series at https://resource.microstrategy.com/education/
427
MicroStrategy Web
Understanding the New Express Mode
In MicroStrategy 9.0.2, Express Mode replaces View Mode for Report Services documents. In the previous version of MicroStrategy, you could only perform tasks such as saving, exporting, and printing in View Mode. In Express Mode, you can now interact with the document by performing the following manipulations: Sort and pivot objects on a Grid/Graph. Switch between displaying a Grid/Graph as a grid, graph, or grid and graph. Open links on a Grid/Graph. Interact with selectors. Access links on the document using the Link Editor.
The following image displays the sorting, pivoting, and links option when you right-click on the Subcategory Performance grid.
Enhancements in Express Mode
Internet Express View mode is supported on Microsofthigher). Explorer 7 (and higher) and Firefox 3.0 (and You can also choose to disable sorting and pivoting by clearing the checkbox Enable sorting and pivoting on grids in Express and Flash modes under Document Properties.
429
The following image shows the enhanced interactive options available for a Grid/Graph in Flash View Mode:
Filtering on a Grid in Flash View Mode
The following image shows adding and removing objects from the grid/graph:
Adding and Removing Objects from the Grid/Graph
To view the additional interactive options, you need to select the Enable additional interactivity on grids in Flash Mode option under Document Properties.
Document Properties Window
MicroStrategy Web
431
You can change the selection color for a selector in the Properties and Formatting window, under the Color and Lines format items.
Properties and Formatting Window
MicroStrategy Web
433
The grid-based selectors can be set by setting a new property called Selection Color available on the Properties and Formatting window of the grid.
Properties and Formatting of a Grid
Slicing Selector By default, when slicing selector is first displayed in MicroStrategy Web, the first item in the target is selected in the selector, and its target displays data for that item. If the user saves the document with his selections and re-executes the document, the selector and target are displayed according to those selections.
In MicroStrategy Web 9.0.2, you can set or unset the default selection for a selector control by modifying the Current State setting in the Properties and Formatting window.
Selector Properties in the Properties and Formatting Window
As seen in the previous image, you can change the Current State setting to define how a slicing selector and its target are first displayed. You can define the Current State to display all items in the target or only a specific number of items. For example, display the first three regions as the default selection for the selector. When a user saves the document after selecting items in the selector, the Current State setting is set to Set to specific elements. Use first or Use last Using thethe selector control from option actually unsets a specific selection.
MicroStrategy Web
435
Filtering Selector By default, when a filtering selector is first displayed in MicroStrategy Web, none of the selector items are selected, so the selector's target displays all of the available items. It always display as unset (all items are displayed) until a user saves the document after selecting items. If the user saves the document with his selections and re-executes the document, the selector and target are displayed according to those selections. The Current State setting is then set to Set to Specific Elements. You can unset the current state by selecting the Unset (no filter) option.
Selector Properties in the Properties and Formatting Window
The links functionality is available on the following widgets: Data Cloud Heatmap Interactive Bubble Graph Microchart
to link For more information about the abilityWidgets.from the Microchart Widget, see Linking from
MicroStrategy Web
437
to use For more information about the ability Mobilethe Microchart Widget with MicroStrategy for iPad, see Understanding Changes in MicroStrategy Mobile for iPad.
Distribution Services
Sending Flash Documents
You can send or export a Flash document, as a Flash file and save it on your computer for offline analysis. The Flash file is a fully interactive, stand-alone Flash dashboard that works similar to the Flash dashboard in Flash Mode in MicroStrategy Web. In MicroStrategy 9.0.2 version, Distribution Services enables the delivery of Flash documents in MHT and PDF file formats. When creating an E-mail or File subscription, you can choose Flash as the delivery format of the content. Depending on your Export settings for Flash file format, the document is sent as a MHT file or a PDF file.
Subscribe to File Window
The MHT file format can be opened in Internet Explorer or Firefox, and the PDF file format can be opened in Adobe Reader 9. preference is project level setting Flash filein Project Configuration Editor. and can be changed
Distribution Services
439
Index
INDEX
Numerics
3-D effect 78, 244, 269
C
Change Selection on Mouse Over option 182 color in dashboards 42 current panel 68 curved lines 258 custom group 175 customer case studies for performance 415 cylinder 158
A
Adobe FlexBuilder 153 analytic panel layers 64, 123 analytic-based selector 118, 142 automatically apply selector changes option 103 automatically maintaining targets for selectors option 104
B
Bar microcharts 312 best practices for dashboard design 36 graphs 243 use of color 42 best practices for document performance 419 best uses for graph types 245 bevel effect 260 bubble chart 253 bubble grid widget 296
2011 MicroStrategy, Inc.
D
dashboard classifications according to MicroStrategy 24 dashboard definition 21 dashboard panel layers 66 dashboard templates 53 data cloud widget 300 Data file 390 data tooltips 260, 262 dataset performance optimizations 392
441
Index
date selection selector widget 351 defaults 96 design recommendations graphs 243 DHTML benefits 151 display modes Design 56 Editable 57 Flash 57, 58 Full Screen 59 Interactive 57, 58 View 57 document execution flow 385 document performance customer case studies 415 document preparation performance 393 document structure considerations 395 document template 54 document views in MicroStrategy Web 56 dot chart 253 drop shadow 78, 267 dynamic content dashboard 26 dynamic titles 385 dynamic visualization dashboard 28 interacting with 30
Flash document dynamic visualization dashboard 28 Flash files Data and Definition XML 389 Flash Mode export to MHT 156 graph types 155 rounded corners 179 transition animations 181 Flash mode 58 benefits 152 characteristics 154 selector-specific formatting 182 Flash player 154 formatting panel stack 76 formatting, document performance 410 Full Screen Mode 59 browser 61
G
gauge 158 gradients 78, 266 graph tooltips 260 graph labels 243 Graph Matrix widget characteristics 304 data requirements 298 Flash formatting properties 299, 302, 307 performing analysis 305 graph matrix widget 303 data requirements 306 graph title 254 graph types for Flash Mode 155 graphs 243 best uses for graph types 245 bevel effect 260
2011 MicroStrategy, Inc.
E
enable Flash mode option for MicroStrategy Web 153 execution flow 385 exercise 132, 271 exporting documents in Flash Mode 157
F
filtering vs. standard selectors 398 fish eye selector widget 345 formatting 349
442
Index
bubble chart 253 component comparisons 246 correlation comparisons 253 curved lines 258 frequency distribution comparisons 252 histogram 252 histograph 252 horizontal bar chart 248 item comparisons 248 line charts 250 pie charts 243, 246 scatter plot 253 surface area charts 252 time series comparisons 250 title 254 tooltips 262 transparency effect 256 vertical bar charts 246, 250 grid/graph as selector 118 grid/graphs, document performance 404 grouping 121 grouping and document performance 396
Interactive mode 58 interactive stacked graph 165 Interactive Stacked Graph widget Flash properties 294 graph 295 legend 292 interactive stacked graph widget 292
K
key performance indicator (KPI) 22, 401 KPI list mode microcharts widget 325
L
layering dashboards methods 64 layouts, document performance 399 line charts 250
M
media widget 329 specific attribute, document, dataset 335 metrics dashboard 25 MHT file 156 MHT format 157 Microcharts widget display types 310 performing analysis 311 ticker mode 322 vertical scroll mode 321 microcharts widget 309 data requirements 312 KPI list mode 325 operation modes 320 MicroStrategy Web
H
heat maps 167 histogram 252 histograph 252 horizontal bar chart 248
I
incremental fetch 400, 408 inserting panel stacks 70 interactive bubble graph 173 drilling custom group method 175 Interactive Mode widgets 354
443
Index
O
orientation for selectors 92
P
panel 63 characteristics 68 current panel 68 document performance for nested 404 Flash vs. DHTML 401 panel stack 63 characteristics 68 formatting 76 inserting 70 inserting more panels 75 locking 78 title bar 68, 71 toolbar 74 performance summary dashboard 24 pie charts 243, 246 portal window 265
Q
quick switch 264
R
rounded corners 179
S
scatter plot 253 scorecard 22 selector 68, 79, 96, 118, 132, 271 action type 93
analytic-based 118, 142 Automatically apply selector changes option 103 automatically maintaining targets option 104 controlling other selectors 96 date selection selector widget 351 document performance 397 fish eye selector widget 345 formatting 116 grouping 121 inserting 94 make all items the same width option 116 orientation 92 selecting attribute elements in a dynamic text field 90 selecting attribute elements in a grid/graph 84 selecting metrics 87 selectors as filters 112 source 93 standard vs. filtering 398 style 91 switching panels in a panel stack 80 target 93 target selection mode 120 totals 101 selectors as filters 112 selector-specific Flash formatting 182 single-value visualizations gauge, thermometer, and cylinder 158 Sparkline microcharts 312 standard vs. filtering selectors 398 surface area charts 252
T
target selection mode 120
444
Index
text boxes, document performance 404 thermometer 158, 243 ticker mode Microcharts widget 322 time series slider 163 time series slider widget 288 title bar 68, 71 height 73 tooltips 78, 244, 260, 262 transition animations 181 transparency effect 256
V
vertical bar chart 246, 250 vertical scroll mode Microcharts widget 321
W
widgets 152 bubble grid 296 data cloud 300 defined from grid/graphs 162 formatting 178 gauge, thermometer, cylinder 158 graph matrix 303 heat maps 167 in Interactive Mode 354 inserting 161 interactive bubble graph 173 interactive stacked graph 165, 292 list by memory usage and responsiveness 407 media 329 microcharts 309 microcharts, bullet 315 microcharts, operation modes 320 time series slider 163, 288
445
Index
446