CHAPTER 6

image

PerformancePoint Services

Throughout this book, we have explored how the SharePoint platform can be used to provide a user interface for business intelligence (BI) and data analysis. Up to now, we have examined individual technologies such as Excel Services, Visio Services, and SQL Server Reporting Services as isolated solutions for specific needs. In this chapter, you will discover how PerformancePoint Services allows you to build integrated business intelligence solutions that bring these capabilities together into powerful interactive dashboards.

What Will You Learn?

By the end of the chapter, you’ll learn about

  • Introduction to PerformancePoint Services
  • The architecture of PerformancePoint Services
  • Setting up PerformancePoint Services
  • Authoring and publishing PerformancePoint solutions in SharePoint 2013
  • Integrating PerformancePoint dashboards with Visio and Excel Services
  • Managing PerformancePoint using PowerShell

Software Prerequisites

To get the most out of this chapter, you’ll need the following software:

Introduction to PerformancePoint Services

In the early years of this century, the “scorecard” became a popular business metaphor for bringing together related pieces of information from throughout the enterprise to provide decision makers with a high-level view of the business. Special-purpose scorecards like the “Balanced Scorecard” became popular, but there were no good tools available to deliver them. After a few attempts at getting Excel and web-based templates deployed, Microsoft published the Office Business Scorecard Manager 2005.

In 2006, Microsoft purchased ProClarity Corporation, thereby acquiring one of the premier business intelligence software companies. Microsoft immediately began integrating features of ProClarity’s rich server-based and client-based data analysis tools into its products.

When MS PerformancePoint Server was released in 2007, it contained two major modules: monitoring and analysis (M&A) and planning. The M&A component combined the features of the Business Scorecard Manager product with new capabilities brought in from ProClarity and saw good adoption. Use of the planning module, however, was sparse and in 2009, Microsoft dropped it due to lack of market interest. What remained of PerformancePoint was then rolled into the enterprise license of Microsoft Office SharePoint Server (MOSS) 2007. In fact, at that point, the MS PerformancePoint Server 2007 product could be loaded onto a MOSS server farm (with Enterprise Client Access Licenses, or CALs) without additional licensing.

In SharePoint 2010, PerformancePoint became a fully integrated service within the SharePoint environment. This has been carried forward to SharePoint 2013 as well. You get all of SharePoint’s administration and content-management tools along with the analytic abilities of PerformancePoint.

PerformancePoint Services Architecture

PerformancePoint Services is implemented using service application framework of SharePoint Server. In the same way that Excel Services and Visio Services run as separate service processes, so does PerformancePoint.

Service Components and Interfaces

Figure 6-1 shows the primary components that cooperate to provide the business intelligence experience PerformancePoint Services makes possible.

9781430258933_Fig06-01.jpg

Figure 6-1. PerformancePoint services and related components

The PerformancePoint end-user experience is designed to be very simple. A PerformancePoint dashboard is deployed as nothing more than a folder containing one or more web pages within a SharePoint library. These pages contain all of the user interface elements necessary to perform complex business analysis on the underlying business data. This user interface is designed to require very little specialized training. With some experience, most users find the scorecards, charts, and reports very easy to interpret and manipulate. All of this content is delivered via a web browser, of course, but there are also many opportunities to take data offline into office applications such as Excel for deeper ad hoc analysis.

To deliver this sophisticated user interface, the key performance indicators (KPIs), scorecards, dashboards, and other BI components must first be defined and deployed to SharePoint. The tool for accomplishing this is the Dashboard Designer, a Windows application for defining BI components and deploying them to SharePoint. This tool does not need to be separately downloaded and installed. It is automatically installed as a “one-click” application when needed. See “Authoring and Publishing PerformancePoint Solutions” later in this chapter for a tour of this tool. Note that this is a development tool and is not designed for use by most end users. With a little bit of training, end users can build fully functional dashboards.

At the application layer, PerformancePoint conforms to the typical design of a SharePoint service. It is made up of a service process and a proxy component. The proxy component provides code running within the IIS application pool process with access to the functionality of the PerformancePoint service application. The service runs as an independent process in the operating system and is often deployed on a separate tier of application servers that sits between the web front-end server and the database servers, as shown in Figure 6-1.

Other application-level services commonly employed as part of a PerformancePoint solution include the Secure Store Service (SSS) and SQL Server Reporting Services (SSRS). SSS provides a location for logon credentials to be securely stored within the SharePoint environment. For more details on the purpose and configuration of the Secure Store Service, see Chapter 5. Although it is not part of SharePoint Server, the SSRS component of SQL Server is frequently leveraged in conjunction with PerformancePoint solutions due to the ease with which it allows complex reports to be created and delivered.

On the database layer of the architecture, there are several data sources you’ll have to become familiar with.

SharePoint Content Lists and Libraries

As you are probably aware, SharePoint stores its web site contents in content databases. These databases contain the site collections, sites, lists, libraries, and pages that make up the sites served by SharePoint. In the context of PerformancePoint, most of the business intelligence objects, including the dashboards themselves, are also stored in lists and libraries within SharePoint’s content databases.

PerformancePoint Service Databases

Like the other service applications in SharePoint Server 2013, PerformancePoint Services needs to store data that does not fit well into the usual format of lists and libraries in SharePoint. This data is stored in a separate database that’s created when a new instance of the PerformancePoint service application is created. The tables in this database, like all SharePoint databases, should never be manipulated directly but only through PerformancePoint Services. These tables contain various parameters used by PerformancePoint Services (PPS), as well as dashboard annotations and comments entered by users.

SQL Server Analysis Services (SSAS) Cubes

Because of the types of analysis normally performed with PerformancePoint Services, perhaps the most common data source for key performance indicators (KPIs), scorecards, and dashboards is SQL Server Analysis Services (SSAS). The cubes stored in SSAS contain the raw business information that PPS will “slice and dice” to perform the analysis required by the user. For a full description of using SSAS cubes to store and manipulate multidimensional data, see Chapter 1.

Other Reporting Data Sources

While SQL Analysis Services is the most common source of information for PPS dashboards, it is far from the only option. Any data store from which you can read data is a potential data source for PerformancePoint. Additional data sources supported out of the box include SQL Server relational tables, Excel spreadsheets (either file-based or via Excel Services), and SharePoint lists.

With a little more effort, you can expand the available data sources to include any Open Database Connectivity (ODBC) - compliant relational database and even data accessed via custom code written and deployed by the user’s organization. For details on creating custom data source providers for PerformancePoint Services, see msdn.microsoft.com/en-us/library/bb836514.aspx. To access other non-Microsoft databases, you can use either Business Connectivity Services (discussed in Chapter 4) to expose the data as a SharePoint list or a SQL linked server to expose the data as a SQL Server table (msdn.microsoft.com/en-us/library/ms188279.aspx).

Securing PerformancePoint Solutions

Much of the security for a PerformancePoint solution is handled by the SharePoint Foundation component. The dashboards exposed by PerformancePoint Services are stored as ASPX pages in a folder within a SharePoint document library. The permissions associated with the libraries, folders, and dashboard pages will control who is allowed to access which pages.

However, the page itself is not usually what is most important. It is the data that we want to protect. Security can become problematic when we have to access data sources outside of SharePoint. PerformancePoint Services provides three authentication methods for accessing back-end data sources: per-user identity, an unattended service account (USA), and a custom connection string for SQL Server Analysis Services.

Per-user identity allows a PPS dashboard to impersonate the user’s credentials when accessing back-end data. This is a very secure way to access data because it provides a second check before allowing the user to access not just the dashboard, but the data underlying the dashboard. However, this form of authentication requires Kerberos delegation to be in place between the PerformancePoint server and the data source, so it’s not always possible to use this type of authentication. See “Planning Considerations for Services that Access External Data Sources” at technet.microsoft.com/en-us/library/cc560988.aspx#ConsiderationsForAccessingExternalData.

The most commonly used form of authentication with PerformancePoint Services is the unattended service account. This is an account that is configured in the Secure Store Service and used to access a back-end data source. The data source will see only the service account’s credentials, so it will not be able to filter the data it returns based on the identity of the user accessing the dashboard. The service account must be given access to all necessary data within all data sources in order for PerformancePoint to function properly. It is a best practice to use a service account with the least permissions that will allow it to access the needed data.

The last option, called “Custom Data,” uses the unattended account but also includes the user’s login name on the connection string. This option works only with SQL Server Analysis Services 2006 or later. In SSAS, this is known as “Dynamic Security.” The idea is to allow the SSAS server to filter the query results when full Kerberos delegation is not possible. The user’s login can be used in MDX queries and SSAS role assignments to limit the data returned by the cube.

The most important thing to note when choosing among these authentication options is that the choice can now be made for each data source that is configured. In PerformancePoint Server 2007, it was necessary to configure a single authentication mode for the entire server application. It was not possible to configure one data source using per-user identity and another to use an unattended service account. In SharePoint 2013 and 2010, if multiple types of authentication are required, you don’t need to configure multiple PerformancePoint service application instances. Creating separate data sources is sufficient. However, the unattended account is configured for a PPS application instance so that all data sources running against the USA in that instance will use the same account. See “Setting Up PerformancePoint Services” and “Creating a Data Source” later in this chapter for details.

Business Intelligence Solution Components

A PerformancePoint solution is built by creating a set of business intelligence components that work together to control how business data is aggregated and displayed. This section will introduce the concepts behind these components and how they are deployed to a PerformancePoint service environment. For a step-by-step guide to creating a real-world PPS solution, see “Authoring and Publishing PerformancePoint Solutions” later in this chapter.

BI Component Types

The components that go into a PerformancePoint solution are described at a conceptual level in this section. Later, we’ll describe how these components are represented and stored in SharePoint.

Dashboards

A dashboard is a set of web pages displayed by SharePoint to allow the user to view and analyze data. Figure 6-2 shows a sample dashboard.

9781430258933_Fig06-02.jpg

Figure 6-2. A typical PerformancePoint dashboard

A dashboard page consists of several parts. Typically, a page contains a navigation area at the top of the page, as shown in Figure 6-3. In this case, the pages of the dashboard, “Sales Summary” and “by Sales Territory,” are presented as links in the header of the page. Clicking on an active link takes the user to a new page in the dashboard while preserving the filters used on the current page. This allows multiple pages to act as a single dashboard.

9781430258933_Fig06-03.jpg

Figure 6-3. Dashboard navigation links

image Note  The latest AdventureWorks sample database from Codeplex has sales data from year 2005 to 2008. We will use these date ranges in our examples.

The rest of the page is separated into zones, similar to the web part zones used in SharePoint pages. The difference is that dashboard zones can be added, modified, and removed from a dashboard page after it is created. These zones allow dashboard components—including filters, scorecards, and reports—to be stacked and connected in the same way web parts can be manipulated on a web part page. Figure 6-4 highlights the zones and direction (vertical vs. horizontal) of the default dashboard page layout.

9781430258933_Fig06-04.jpg

Figure 6-4. Default dashboard zones

The BI components that make up the page are assembled, arranged, and connected using the Dashboard Designer. When the dashboard is deployed to SharePoint, the various object definitions control the page’s behavior. A common pattern, as shown in Figure 6-4, is to place visible filters in the header zone of the page and then to fill the other zones with scorecards and reports as needed.

The connections created between components allow them to act together. For example, when the user changes the Date filter on the sample dashboard, each of the scorecards and reports on the page are updated to reflect data only from those periods. When a row is selected in the scorecard shown on the left, the data on the reports in the right column are filtered to match. We will be creating this dashboard and its connections later in this chapter.

Indicators and Key Performance Indicators

A Key Performance Indicator is a definition of business-relevant measurements (or “metrics”) used to display easy-to-understand conditions as shown in Figure 6-5.

9781430258933_Fig06-05.jpg

Figure 6-5. A key performance indicator

KPIs are defined in PerformancePoint as a set of metrics that are either “actual” or “target” metrics. Actual metrics are the values that are calculated from the underlying business data. In the example in Figure 6-5, “Reseller Sales” is an actual metric. Target metrics, in contrast, define a desired goal for the actual metric, based on some condition or formula specified as part of the KPI’s definition. The “GPM” column is a target metric in this example. Target metrics can be displayed in several ways but include three basic components: the indicator and a value before and/or after the indicator. The meaning of these values can be defined wherever the KPI is displayed. In this case, the highlighted line shows an actual value of “62.6%”, a green circle indicator, and an attainment value of “–37%” based on the scoring pattern defined.

The definition of the KPI specifies where the actual and target values come from as well as what type of indicator to show. PerformancePoint comes with a large set of indicators to choose from, as Figure 6-6 shows. Through Dashboard Designer, you can also create your own custom indicators using custom images.

9781430258933_Fig06-06.jpg

Figure 6-6. Some common indicator types

Data Sources

The first components to be created in a PerformancePoint solution are data sources. These define the locations and parameters to use when accessing the data that will be used by the dashboard. PerformancePoint supports two major categories of data sources: tabular list and SSAS BISM Models (Tabular and Multidimensional). More details on Tabular and Multidimensional model can be found at http://msdn.microsoft.com/en-us/library/hh212940.aspx.

Tabular List data sources are those that provide PPS with a relational table of data to work with. It is important not to confuse this with the Tabular Model. The most commonly used data sources of this type are SQL Server tables. Other options include cells retrieved from Excel spreadsheets, either through Excel Services or directly from a file, or the items in a SharePoint list. It is also possible to use SharePoint’s Business Connectivity Services (BCS) or SQL linked servers to pass data from other relational database management system (RDBMS) or line-of-business applications into a PerformancePoint dashboard.

Multidimensional data sources are the most common type used in PerformancePoint solutions. They use SQL Server Analysis Services (SSAS) cubes to furnish and process data. Analysis Services is the only currently supported OLAP data source.

Filters

Filters are components that let users select parts of the data set to examine while excluding the rest. For example, you can use a filter to examine data only for certain time periods, as Figure 6-7 shows.

9781430258933_Fig06-07.jpg

Figure 6-7. A multi-selectable member-selection filter

In SharePoint 2013, filters allow users to search for a particular value from the text box. Filters also highlight the items in bold font if there are any items selected in that hierarchy. This feature allows the users to identify the selected items when the tree view is in a collapsed state.

When creating a filter, there are two primary considerations: the type of filter and the display method to be used.

The types of filters available are

  • Custom Table: This filter connects to a tabular data source to retrieve a list of options from a table.
  • MDX Query: This filter evaluates an MDX query against an OLAP data source to produce a set of members to serve as options in the filter control.
  • Member Selection: This filter takes its options directly from a dimension in an OLAP data source, which can be either all members or a subset of the members in the dimension.
  • Named Set: This filter uses an SSAS named set (that is, an MDX expression) to evaluate which members to include. Note that SQL Server 2008 introduced the concept of “dynamic” named sets that are context-aware, which can make them very powerful in this context. For more information on SSAS named sets, see msdn.microsoft.com/en-us/library/ms166594.aspx.
  • Time Intelligence: This filter uses time dimensions in a way that lets users make time-based selections, such as “year-to-date,” “last six months,” or “last year.” The developer specifies formulas that select a subset of the time dimension’s members to include in the calculation.
  • Time Intelligence (Connection Formula): This variation on the Time Intelligence filter allows the user to select a single “current date.” When connected to a dashboard, this date is evaluated against a date formula to create a dynamic time period based on that date. The user can therefore specify, for example, “5/11/2013” and generate a report on the six months of data prior to that date.

Once the type of filter has been selected, it can be displayed in three different ways:

  • List: The filter options are presented in a drop-down list control as a flat list from which only one item can be selected.
  • Tree: This form displays a hierarchical tree of members from which one option can be selected.
  • Multi-Select Tree: This control, shown in Figure 6-7, also displays a tree but allows the user to select an arbitrary set of members from the tree.

When a filter is placed on a dashboard, it is not just a user-interface control that controls the data displayed on that page. The selections made are written to PerformancePoint’s database for later use. If the user returns to that page days later, that selection will still exist. The number of days the selection is retained can be configured in SharePoint Central Administration. See “Setting Up PerformancePoint Services” later in this chapter. Because the filter is part of the dashboard, not just the page, that same filter selection will also be transferred to any other page that is part of the same dashboard. Therefore, if a selection is made on one page and then the user navigates to another page on the same dashboard, all of the filter selections made on the previous page apply to the new page as well.

Scorecards

A PerformancePoint scorecard, shown in Figure 6-8, is used to display a set of key performance indicator metrics. You can configure the KPIs to display differently depending on what you need the scorecard to reflect. For example, the designer might choose to use a background color for a KPI cell instead of displaying the indicator image.

9781430258933_Fig06-08.jpg

Figure 6-8. A PerformancePoint scorecard

In addition to the KPI metrics, scorecards generally also include one or more sets of dimension attributes that are used to drill down or roll up the KPIs.

Reports

A report in PerformancePoint refers to a component that displays business data other than KPIs. Reports are authored separately and then connected to the filters and scorecards on a dashboard to filter the data returned in the report. Our sample dashboard contains two of the most common reports used in PerformancePoint Services: the analytic grid and the analytic chart (which are shown in Figure 6-9).

9781430258933_Fig06-09.jpg

Figure 6-9. Analytic chart and graph reports

PerformancePoint generates some reports entirely within itself, but some reports are created in cooperation with other technologies. Here are the report templates supported:

  • Analytic Grid: As shown in Figure 6-9, this type of report displays figures as a set of rows and columns. This control is very similar in look and feel to the PivotTable report used in previous versions of PerformancePoint.
  • Analytic Chart: As shown in Figure 6-9, this report displays an interactive chart of the specified data. The user can drill into and roll up the data on this type of chart just as with an Analytic Grid.
  • Excel Services: An Excel spreadsheet published using Excel Services can be referenced and used to display its data as an integrated part of a dashboard. See Chapter 5 for a full description of Excel Services’ capabilities.
  • KPI Details: This simple report displays all of the properties of a selected KPI metric on a scorecard. This report must be connected to a scorecard to display any data.
  • Reporting Services: An SSRS report can be connected to a dashboard for rich report rendering.
  • Strategy Map: This type of report uses a Visio diagram as a template for displaying KPIs in a graphical format. A typical use of a strategy map report is to display a map color-coded by a KPI’s indicators. It is also possible to display numeric and text data on the map.
  • Web Page: An ordinary web page can also be used to display data on a dashboard. While this can be as simple as displaying an Internet site within your dashboard, the real purpose of this report type is to act as a jack-of-all-trades for PerformancePoint reporting. When dashboard components, like reports, are connected to other components, like filters and scorecards, the parameters selected in those connections are passed to the connected component in the Request.Params collection. This allows a custom ASPX page to be deployed that accepts filter and selection values to display arbitrary data in HTML format.

Each of these reports is rendered on the dashboard page using a web part that manages the connection with other parts of the dashboard.

PerformancePoint SharePoint Components

Now that you’re familiar with the basic concepts of a business intelligence solution, let’s take a look at how these pieces are put together in a SharePoint site.

PPS Content Types

A content type in SharePoint defines all of the metadata about how a particular type of list item or library document will be handled by SharePoint. This includes a list of the fields associated with the object and any custom actions it might support. In the case of PerformancePoint, the following content types are defined to enable its functionality:

  • PerformancePoint Dashboard
  • PerformancePoint Data Source
  • PerformancePoint Filter
  • PerformancePoint Indicator
  • PerformancePoint KPI
  • PerformancePoint Report
  • PerformancePoint Scorecard

With the exception of data sources, all of these content types define items in a SharePoint list. Data sources are stored as documents in a library because they are stored as Office or Universal Data Connection (UDC) files or as PerformancePoint data source files. Bear in mind that these items represent the definition of the object, not an end-user-viewable object. These items can be edited using the Dashboard Designer but don’t display any content on their own. Only when a dashboard is “deployed” is it compiled into a set of ASPX pages that can be viewed by users.

A major advantage of PerformancePoint Services over PerformancePoint Server 2007 is the use of content types. With content types, all of the functionality of SharePoint is now available for use with PerformancePoint artifacts. This includes participating in workflows, using information rights management policies, and including PPS objects in any list or library where the PPS features and content types are active. You are no longer constrained to using a special site definition with a predefined structure for your PPS solutions.

List and Library Templates

PerformancePoint defines list and library templates designed to store PerformancePoint artifacts:

List Templates:

  • PerformancePoint Content List—Lists based on this template are used to store all of the PPS components listed earlier in “PPS Content Types” except for Data Sources.

Library Templates:

  • Data Connections Library for PerformancePoint—This template is used to store data sources defined by Dashboard Designer or Office Data Connection (ODC) or Universal Data Connection (UDC) files.
  • Dashboards Library—This template is designed to store deployed PerformancePoint dashboards. Each dashboard is stored as a set of ASPX pages within a folder.

Web Parts

Dashboard pages are created as ordinary web part pages. The various components of a page are created as connected web parts. The web parts used by PerformancePoint are

  • The Filter Web Part, which displays the list or tree control for a filter component.
  • The Scorecard Web Part, which displays the grid associated with a scorecard component.
  • The Report View Web Part, which displays a PPS report. Depending on the type of report, this web part might link to other sites or applications.
  • The Stack Web Part, which is used as a container for the web parts associated with a zone on a dashboard page.

Business Intelligence Center Site Template

PerformancePoint defines a sample site template to help designers begin using the service. (See Figure 6-10.) This template is nothing more than an ordinary site with some prepopulated content to introduce the user to PerformancePoint features. The content is contained in a Content Editor Web Part and can be deleted when no longer needed. You can also add the PPS lists, libraries, and content types to any existing site instead of using the template. All that’s required is for the PPS features to be activated.

9781430258933_Fig06-10.jpg

Figure 6-10. The Business Intelligence Center Home Page

In addition to this home page, the site template contains an instance of each of the lists and libraries described in “List and Library Templates” earlier. This makes the site a good location for one or more complete solutions to be stored. Additional content can be added to the site as needed.

Features

To use enterprise features, your SharePoint site collection must have the SharePoint Server Enterprise Site Collection Features feature activated under the Site Collection Features.

The PerformancePoint functionality is enabled using two additional features. The first is the PerformancePoint Services Site Collection Features feature. This feature can also be found under Site Collection Features. The second feature is activated at the site level and is named PerformancePoint Services Site Features. See “Deploying the Business Intelligence Center” later in this chapter for step-by-step instructions for enabling these features.

Setting Up PerformancePoint Services

Like the other services we have examined in this book, PerformancePoint Services are configured using Central Administration or PowerShell commands (cmdlets). Let’s take a look at the settings for PerformancePoint Services, along with the procedures for setting up a PPS instance.

The default, wizard-based installation of SharePoint Server 2013 includes an instance of the PerformancePoint Services application, so creating a new instance is not normally necessary. If you do need to create one, however, this can be easily accomplished through SharePoint Central Administration:

  1. Open the Central Administration web site using the SharePoint 2013 Central Administration link available in the server’s Start menu.
  2. Navigate to the Central Administration image Application Management image Service Applications image Manage Service Applications page. Note the default instance of PPS highlighted in Figure 6-11.

    9781430258933_Fig06-11.jpg

    Figure 6-11. The Manage Service Applications page

  3. To create a new PPS instance, select PerformancePoint Service Application from the New section of the ribbon, as shown in Figure 6-11. This brings up the New PerformancePoint Service Application dialog (shown in Figure 6-12).

    9781430258933_Fig06-12.jpg

    Figure 6-12. New PerformancePoint Service Application dialog

  4. Set the name and application pool for the new PPS application instance, or select an existing one. Use a new application pool when you want to isolate PPS processing from other components within IIS.
  5. Click Create.
  6. After few moments, you will see a dialog box that says “PerformancePoint Service application was successfully created.” Click on OK.

It is now time to configure the application. If you are working with the default PPS instance, you should review the default settings, paying particular attention to the unattended service account, which should have the minimum privileges. See “Securing PerformancePoint Solutions” earlier in this chapter to review why the USA is important.

To begin configuring the service application, click on the name of the service “PPS Application” in our case) to be taken to the Manage PerformancePoint Services page as shown in Figure 6-13.

9781430258933_Fig06-13.jpg

Figure 6-13. Manage PerformancePoint Services page

On the Manage PerformancePoint Services page, there are various settings to configure, which we’ll discuss now. Although most of the settings can be left to their default values, some need to be configured in order to address specific requirements.

Application Settings

The PerformancePoint Service Application Settings page (shown in Figure 6-14) contains a variety of settings that control the performance and behavior of PPS. These settings apply only to sites associated with this instance of PerformancePoint Services.

9781430258933_Fig06-14.jpg

Figure 6-14. PerformancePoint Service Application Settings page

Secure Store and Unattended Service Account

The purpose of this section is to configure the unattended service account. Recall that this is the Active Directory domain account that will be used when accessing data sources without using the user’s own identity (Kerberos). The credentials for this account are stored in the Secure Store Service. See “Securing PerformancePoint Solutions” earlier in this chapter.

This section of the page has three entry boxes. The first text box is used to identify the SSS application to be used for the account’s credentials. The second and third boxes allow for the entry of the user name and password of the account, respectively. Remember that this account should have minimal permissions but provide access to all necessary data.

Comments

Each dashboard user can be given permission to add comments to the cells in a PPS scorecard. These comments are then available to other users when they view that scorecard. The comment functionality also uses the term “annotation.” Technically, a scorecard cell can have one annotation, and each annotation can have multiple comments.

This section of the page contains a check box that can be used to enable the annotation feature within the PPS instance. There is also a setting that limits the number of annotations that can exist on a single scorecard. The default is 1,000 annotations per scorecard.

There is also a “Delete Comments by” Date button shown in Figure 6-15 that displays a dialog box. This dialog can be used to start a background job that will clean up comments older than a given date, which can use useful if it becomes necessary to reclaim space in the SQL database associated with this PPS instance. The name of this database is based on the name of the PPS application and a unique GUID, like “PPS Application_d6430dcfa6de4086a84dcb1b0c39f78e.”

9781430258933_Fig06-15.jpg

Figure 6-15. The “Delete Comments by Date” dialog

Cache

The cache section of the page contains a single entry that sets how long (in seconds) the images associated with KPIs should remain in memory before the memory is reclaimed. The default is 10 seconds, which should allow the image to be reused several times during the rendering of a single page. If your site makes heavy use of only a few unique indicators, it might make sense to extend this value to keep from frequently reloading them from disk.

Analysis Services EffectiveUserName

This setting enables PPS to pass in the current user name in the connection string (;EffectiveUserName=domainUserName) when making a connection to SSAS data source. SSAS filters the data based on the user name passed in the connecting string. For this setting to work, the managed service account used for PPS should have administrative rights in the SSAS server.

Data Sources

This section allows the administrator to set a standard timeout on a data source, preventing pages from becoming unresponsive when a data source becomes slow or unavailable. The default is 300 seconds, which should be sufficient in most cases. If data access is consistently over 5 minutes, either the data source is not responding properly or the queries being used to access the data should be reconsidered. When data access for a dashboard page takes a very long time, two major problems result.

First, system resources are consumed processing and returning large amounts of data that will, most likely, never be used. The thread, table, memory, and I/O locking and contention created by executing very large queries can quickly diminish system performance for all users.

Second, users are not going to wait for several minutes each time they interact with the dashboard. A user viewing a dashboard is trying to avoid information overload, so loading 1,000 or more records defeats this purpose. Long wait times degrade the user experience and lead to having dashboards that aren’t used.

Filters

Filters are used on dashboards to set how the data is “sliced.” PerformancePoint dashboards have the ability to remember the last filter values used by each user. This is valuable when moving from one dashboard page to another or when returning to a dashboard on a future visit.

To avoid storing this data forever, this configuration section allows the administrator to set a time out (in days) for how long to retain unused filter values.

The maximum number of members that can be loaded into a filter tree (shown in Figure 6-16) is configured here as well. Each time you use a filter, you are selecting a set of values to apply with the filter. For example, if you select the year 2010 at the Months level of the date hierarchy, you are selecting 12 values that must be stored for the filter. If you are selecting at the Day level, there are 365 values that must be stored. Each of these values is called a “member” of the filter. This setting prevents very large selection lists from slowing down the server for all users.

9781430258933_Fig06-16.jpg

Figure 6-16. Sample filter tree control

Select Measure Control

This setting is similar to the Filters section except that it applies to the selection of measures on a dashboard.

Show Details

The Show Details feature allows an end user to drill into a value that is derived from Analysis Services. The functionality of the drill-through is controlled by Analysis Services, but it is rendered by PerformancePoint Services. (See Figure 6-17.) These settings limit the performance impact that this feature can have on the server hosting the PPS application.

9781430258933_Fig06-17.jpg

Figure 6-17. Sample Show Details report

The “Initial retrieval limit” limits the number of rows that can be retrieved on the first page of the details report. The default of 1,000 is generally sufficient without creating too great a load on the server. The “Maximum retrieval limit” is used to prevent excessively large datasets from being returned on subsequent pages of the report. You can either choose a fixed number of rows or leave control of this setting with Analysis Services. To reduce page load times and unnecessary server traffic, consider reducing this value to one in line with the expected use of the report.

Decomposition Tree

The Decomposition Tree feature is a very powerful analytical tool, with an interface designed to be simple and intuitive to an untrained user. (See Figure 6-18.) The Decomposition Tree leverages the dimensions already built into the solution to drive the analysis. It allows users to do a complex analysis without involving a developer.

9781430258933_Fig06-18.jpg

Figure 6-18. Decomposition Tree

However, because of the large number of members that a dimension might contain, it can become a performance drain on the system.

Each item listed in a vertical column of the decomposition tree is counted against this limit. Note that this limit applies to only one column of items as highlighted in Figure 6-18. The total number of items in all columns might well exceed this value. This limit should not be set higher than is needed for the users to perform the analysis required.

Trusted Data Source Locations

PerformancePoint Services stores its metadata in SharePoint lists and libraries. These locations must be listed as “trusted” before PPS will consider them valid locations from which to read its objects. By default, all locations within SharePoint are automatically considered trusted, as Figure 6-19 shows.

9781430258933_Fig06-19.jpg

Figure 6-19. Trusted data source locations (default setting)

Note that just because the location is trusted by PerformancePoint, it is not necessarily accessible by any particular user. The SharePoint permissions on those items still control access to them. The fact that they are in a trusted location only allows PPS to use them if the user has access to them.

If there’s a need to restrict the locations from which a PPS application can load data sources, switch this setting to “Only specific locations” and click Apply. This will enable a new set of options for adding specific locations, as shown in Figure 6-20.

9781430258933_Fig06-20.jpg

Figure 6-20. Trusted data source locations (specific locations enabled)

To add a location with this dialog box

  1. Click on Add Trusted Data Source Location. The dialog shown in Figure 6-21 will be displayed.

    9781430258933_Fig06-21.jpg

    Figure 6-21. Creating a specific trusted data source location

  2. Enter the URL of a SharePoint-based site or document library. Only SharePoint locations can be used.
  3. Click on the validation button to the right of the URL text box. If the location is a valid one, the other controls will be enabled.
  4. Select the Location Type option to use, and enter a description for the trusted location.
  5. Click OK to create the trusted location.

Trusted Content Locations

Trusted content locations are configured in the same way as trusted data source locations with the following exception. PPS content items created by the Dashboard Designer application—such as KPIs, Scorecard, Reports, and so on—are stored in SharePoint lists instead of in document libraries. Therefore, when selecting trusted locations, the options are Site, Site Collection, or List.

Authoring and Publishing PerformancePoint Solutions

In this section, we will create all of the PerformancePoint content objects necessary to implement a typical business intelligence dashboard using data from the AdventureWorks sample database. Our solution will include the KPIs, scorecards, filters, reports, and dashboards necessary to provide the user with a rich data analysis environment. We will deploy this solution to SharePoint and explore the resulting user experience.

In the following section, “Advanced Report Types,” we will then expand on this solution by adding reports to the dashboard based on Excel Services and Strategy Map report types.

image Note  This tutorial will make extensive use of the AdventureWorks SSAS solution. You can download the AdventureWorks database from http://msftdbprodsamples.codeplex.com/. Take a look at Chapter 1 for details about deploying the solution as an SSAS database.

PROBLEM CASE

Author and publish a BI solution that allows a marketing manager at AdventureWorks to analyze the effectiveness of his marketing campaigns by product and sales channel.

Solution

The solution for this case will be created in the following sequence:

  1. Enable all necessary features in SharePoint, and create a site using the Business Intelligence Center site template.
  2. Create a Dashboard Designer workspace in which to create the solution components.
  3. Create a data source from which to retrieve the business data.
  4. Create a set of KPIs representing the data.
  5. Create a scorecard to display the KPIs.
  6. Create a set of filters to control how the data is sliced by the user.
  7. Create a set of reports allowing the user to perform an analysis on the underlying data.
  8. Create a dashboard that integrates all of these components into an interactive analysis engine designed to help the user make decisions.
  9. Deploy the solution to SharePoint, and examine the user experience exposed by the dashboard.

Before attempting to follow this tutorial, you should already be familiar with basic BI and PPS concepts such as dimensions, measures, KPIs, scorecards, etc. If not, please refer to “Business Intelligence Solution Components” earlier in this chapter for PPS components and Chapter 1 for dimensional-modeling concepts.

Deploying the Business Intelligence Center

We will create a work area for our solution by deploying the PerformancePoint Business Intelligence Center site template. First we must verify that the necessary features are activated at the site-collection level. You will need site-collection administrator rights in order to enable features and create the site:

  1. Open the root web site in the site collection to host the solution.
  2. Click on the Settings icon from the top right corner to invoke the drop-down menu. (See Figure 6-22.)

    9781430258933_Fig06-22.jpg

    Figure 6-22. Click on the settings icon from the top right corner

  3. Select “Site Settings” from the drop-down menu. (See Figure 6-23.)

    9781430258933_Fig06-23.jpg

    Figure 6-23. Select “Site settings” from the drop-down menu

  4. Select Site Collection Administration image Site Collection Features. (See Figure 6-24.)

    9781430258933_Fig06-24.jpg

    Figure 6-24. Selecting site-collection features

  5. Activate the SharePoint Server Enterprise Site Collection Features feature if it’s not already active. (See Figure 6-25.)

    9781430258933_Fig06-25.jpg

    Figure 6-25. Activating SharePoint Server Enterprise site-collection features

  6. Activate the PerformancePoint Services Site Collection Features feature if it is not already active. (See Figure 6-26.)

    9781430258933_Fig06-26.jpg

    Figure 6-26. Activating PerformancePoint Services site-collection features

  7. Navigate to the site under which you want to create the BI Center. In the parent site, create the site using the Business Intelligence Center site template. (See Figure 6-27.)

    9781430258933_Fig06-27.jpg

    Figure 6-27. Selecting the Business Intelligence Center site template

The site created has all of the lists and libraries needed to deploy a complete PerformancePoint solution. It also contains informational content describing the site’s purpose, which you can delete when you no longer need it.

Creating a Dashboard Designer Workspace

All of the objects we create for our solution will be stored in a Dashboard Designer Workspace file, which is stored on your local desktop with a DDWX file extension. This file acts as an offline store for these objects until you are ready to publish them to SharePoint. The workspace file is similar to a Visual Studio solution file in that it allows you to organize, edit, and manage all of the components of your solution in one place.

Because the Dashboard Designer is a one-click Windows application, there is no executable to download and install on the desktop. The easiest way to install it is simply to use it and then save a file. We will do this as part of the next section.

Creating a Data Source

Now let’s create a data source from which to retrieve business data for our dashboard:

  1. Navigate to the BI Center site, and click on the Data Connections library link in the Quick menu to the left. This will take you to the data source library for the solution.
  2. From the ribbon menu at the top of the page, select Files image New Document image PerformancePoint Data Source. (See Figure 6-28.)

    9781430258933_Fig06-28.jpg

    Figure 6-28. Adding a PerformancePoint data source

    This will launch the Dashboard Designer. If this is the first time you’ve used it, you’ll see messages and progress bars indicating that it’s installing. The Web browser might ask you to authorize the installation. Finally, the designer will be shown with an empty workspace and the “Select a Data Source Template” dialog displayed, as shown in Figure 6-29.

    9781430258933_Fig06-29.jpg

    Figure 6-29. Selecting a data source template

  3. Our data will come from the Adventure Works OLAP database, so select the Analysis Services template and click OK, and you’ll see the dialog shown in Figure 6-30.  If you receive an error, follow the steps from http://technet.microsoft.com/en-us/library/ee748644.aspx to resolve the issue.

    9781430258933_Fig06-30.jpg

    Figure 6-30. The New Data Source screen

    Take a moment to find your way around the Dashboard Designer application—you’ll spend a lot of time here! At the top is a ribbon menu system that works like any Office 2013/Office 2010 application. The options that appear in the ribbon will change as the context of the central window changes.

    On the left side of the window is the Workspace Browser , which is a tree listing the contents of the workspace. Currently, this list shows one workspace file called Untitled Workspace, one SharePoint list called Data Connections, and one item within that list—a data source currently named New Data Source.

    The editor for the item selected in the list on the left is displayed in the center window where changes can be made. This window will have a set of tabs across the top based on the type of object being edited. The Properties tab is common to all objects and is used to name and organize objects within the workspace.

    To the right of the center window are panels that list the objects within the workspace that are related to the current item:

  4. In the center window, under New Data Source image Connection Settings image Use Standard Connection, enter the name of the SSAS server instance containing the AdventureWorks OLAP cubes in the Server text box.
  5. Select the “Adventure Works DW” SSAS database from the Database list.
  6. At the bottom of Connection Settings, select the Adventure Works cube from the Cube list.
  7. Note the defaults for the Data Source Settings panel, but don’t make any changes.
  8. Switch to the Properties tab in the center window.
  9. Enter “Adventure Works” for the name of the data source.
  10. Switch to the Time tab, where you can specify the cube’s primary time dimension. (See Figure 6-31.)

    9781430258933_Fig06-31.jpg

    Figure 6-31. Selecting a time dimension

  11. The Time Dimension drop-down menu will list all of the hierarchies available in the cube. Select “Date.Date.Fiscal.” This is a fiscal calendar that begins on the first of July of each year.
  12. Under Reference Member, select a member from the dimension that represents the first day of the fiscal year, such as January 1, 2005.
  13. For the Reference Date, enter the same date in your regional format. This allows PerformancePoint to understand how years are structured in the date dimension.

    image Note  Depending on when you downloaded the AdventureWorks sample databases, the actual dates available in your cube might be different from those shown. The sample database used here has data from FY 2006 to FY 2009.

  14. Under Time Member Associations, select the time dimension hierarchy levels as shown in Figure 6-32.

    9781430258933_Fig06-32.jpg

    Figure 6-32. The time dimension hierarchy

    At first glance, it might seem strange to enter all of this information about the time dimension in the editor you’re using to create a data source. The reason for doing this is that it allows the use of Time Intelligence filters. These very powerful tools will help when it comes time to present data to the user. See “Creating Filters” later in this chapter for details. Now that the data source is set up, let’s go back and finish setting up the workspace itself:

  15. Select Untitled Workspace on the Workspace Browser.
  16. Click the Save icon at the top of the window. This will cause the file save dialog to be displayed. (See Figure 6-33.)

    9781430258933_Fig06-33.jpg

    Figure 6-33. Saving the workplace

    If you go back to the Data Connections library in your BI Center site, you’ll see that there’s one data source there. Why is it called New Data Source? The answer is that you haven’t yet published the data source you created to SharePoint. You’ve only saved it to the workspace file.

    image Tip  You can tell that an item hasn’t been published because there is a pencil superimposed on its icon in the Workspace Browser.

  17. Select the Adventure Works data source in the Workspace Browser.
  18. Click the Save icon again. The pencil icon will disappear from the item, and the data source should appear correctly in the Data Connections Library. (See Figure 6-34.)

    9781430258933_Fig06-34.jpg

    Figure 6-34. Saving the PerformancePoint data source to the Data Connections Library

Now that we have set up our data source and started our workspace file, let’s get ready to retrieve data for analysis.

Creating Key Performance Indicators

Our dashboard will contain one set of KPIs. We will create a set of actual and target metrics that will allow the marketing department to track the effectiveness of their promotions in terms of their effect on Gross Profit Margin.

Our workspace is currently connected to the Data Connections Library, but that area can be used only to store data sources. To create the KPI, you need to connect your workspace to the PerformancePoint Content list in the BI Center site:

  1. Open the workspace file Marketing.ddwx that you created in the previous section.
  2. In the Dashboard Designer’s ribbon menu, select Home image Workspace image Add Lists.
  3. Select PerformancePoint Content from the BI Center site you created earlier, and click OK. (See Figure 6-35.) The PerformancePoint Content list now appears in the Workspace Browser.

    9781430258933_Fig06-35.jpg

    Figure 6-35. Selecting the PerformancePoint content

  4. Right-click on the PerformancePoint Content list in the Workspace Browser, and select New image KPI. (See Figure 6-36.)

    9781430258933_Fig06-36.jpg

    Figure 6-36. Creating a new KPI

  5. Select Blank KPI from the “Select a KPI Template” dialog (shown in Figure 6-37), and click OK.

    9781430258933_Fig06-37.jpg

    Figure 6-37. Choosing a blank KPI template

  6. The KPI will be created with the name selected in the Workspace Browser, so you can immediately type a name for the KPI. Enter “Profit Margin KPI” and press Enter.
  7. Select the Properties tab, and set the Display Folder value to “KPIs.” (See Figure 6-38.)

    9781430258933_Fig06-38.jpg

    Figure 6-38. Setting the Display Folder

  8. Note that the KPI now appears inside a folder in the Workspace Browser. (See Figure 6-39.)

    9781430258933_Fig06-39.jpg

    Figure 6-39. The Profit Margin KPI in the Workspace Browser

    image Note  The use of display folders within the Dashboard Designer is entirely optional. Their purpose is only to help keep the solution organized. They have no effect on anything other than how items are displayed in the Workspace Browser. Workspace folders do not get reflected in the folder structure of the content list in PerformancePoint or anywhere else outside of Dashboard Designer. Typically, they are used to separate items by type (KPIs, Filters, Dashboards, etc.) or functionally by the part of the solution with which they are associated. Folders can be nested as needed by ­separating folder names with a backslash () character. For the rest of this chapter, items will be placed into such folders but the directions won’t mention it each time from here on out.

  9. Switch to the Editor tab (shown in Figure 6-40), which displays the actual and target metrics for the KPI along with their various settings. We will customize the two metrics that were created by default and then add some of our own.

    9781430258933_Fig06-40.jpg

    Figure 6-40. Editing the KPI

  10. Select the Name cell, which currently contains “Actual,” and change the name to “Gross Profit.”
  11. Click on the cell for the same row under Data Mappings to launch the data mapping dialog. Currently, it is set to return a fixed value of 1. Click the Change Source button to bring up the “Select a Data Source” dialog. (See Figure 6-41.)

    9781430258933_Fig06-41.jpg

    Figure 6-41. Changing the data source

  12. This dialog allows you to select the data source from which you will retrieve the value of the metric you are creating. In this case, the Gross Profit will come from the cube we’ve configured as a data source. Select “Adventure Works” and click OK. The Dimensional Data Source Mapping dialog is displayed. (See Figure 6-42.)

    9781430258933_Fig06-42.jpg

    Figure 6-42. Selecting a measure

  13. This dialog allows the designer to select a measure from the cube and, optionally, perform filtering on it or enter an MDX query expression to retrieve the value. Select “Gross Profit” from the “Select a measure” drop-down list, and click OK. The result is shown in Figure 6-43.

    9781430258933_Fig06-43.jpg

    Figure 6-43. Mapping to the Gross Profit measure

  14. Now we will create a target that indicates that we want to break even (GP >= $0) on each promotion. Set the name of the target metric to “Breakeven.” Then change the data mapping value to “0” instead of the default of “1.” Notice that the Compare To field points to the Gross Profit actual metric. This indicates that the target value, 0, will be compared to the actual value, which is the Gross Profit measure returned from the cube. (See Figure 6-44.)

    9781430258933_Fig06-44.jpg

    Figure 6-44. Creating a breakeven metric for Gross Profit

  15. Now that the actual and target values are set, the Thresholds area at the bottom of the window is activated. The indicator type shown by default is not really appropriate, so we will customize it. Click on the Set Scoring Pattern and Indicator button in the Thresholds panel. This displays a three-step wizard we’ll use to configure the appearance of this target metric. (See Figure 6-45.)

    9781430258933_Fig06-45.jpg

    Figure 6-45. Selecting the scoring pattern

  16. Select “Increasing is Better” and “Band by numeric value of Actual.” Click Next.
  17. Select “Red to Black – Small” under the Miscellaneous category. (See Figure 6-46.) Click Next.

    9781430258933_Fig06-46.jpg

    Figure 6-46. Choosing the indicator

  18. In this case, there is no selection to be made on the third step of the wizard, so click Finish.
  19. The indicator we selected has four possible statuses: black, grey, light red, and red (as shown in Figure 6-47). Thresholds configure the points at which black becomes gray and so on. In this case, set the thresholds to the values shown in Fiqure 6-47. These values will be compared with the Gross Profit amount to show whether or not we are “in the black” or “in the red” for a particular promotion.

    9781430258933_Fig06-47.jpg

    Figure 6-47. Threshold values

  20. Use the New Actual button to create two more actual metrics named “Total Sales” and “Gross Profit Margin.” Set the data mappings in the same way as for Gross Profit shown earlier. Map the new actual metrics to the “Sales Amount” and “Gross Profit Margin” measures, respectively.
  21. On the Gross Profit Margin row, click on (Default) in the Number Format column. Set the value to be displayed as a Percentage using parentheses for negative numbers and 1 decimal place. (See Figure 6-48.)

    9781430258933_Fig06-48.jpg

    Figure 6-48. Setting the number format

  22. Click on New Target to create a second target metric. In this case, instead of breaking even, our goal is to do better with a promotion than without one. Therefore, we will compare the gross profit margin obtained with a promotion to the margin obtained when the promotion is “No Discount.”
  23. Set the name of the new target to “GP% vs. no Discount.”
  24. Set the Compare to field to “Gross Profit Margin.”
  25. Click on the link to set the data mapping, and select the Gross Profit Margin measure just as you did when setting the actual metric.
  26. Instead of finishing the dialog, we will add a filter to find the value of the gross profit margin in a specific case. Start by clicking on the New Dimension Filter button under "Select a dimension". (See Figure 6-49.)

    9781430258933_Fig06-49.jpg

    Figure 6-49. Creating a filter

  27. The Select Dimension dialog is somewhat misnamed. The list under Dimension isn’t really a list of dimensions. It is a list of dimension hierarchies that can be used to filter the selected measure. Select “Promotion.Promotion” and click OK.
  28. Click on the “Default Member (All Promotions)” link. (See Figure 6-50.)

    9781430258933_Fig06-50.jpg

    Figure 6-50. Selecting the filter criteria

  29. In the Select Members dialog, select only the No Discount member. This will cause the target value for this metric to include only data related to the No Discount promotion. Click OK.
  30. Click on the “Set Scoring Pattern and Indicator” button. Review all of the default options but don’t change anything. Click Cancel to close the wizard.
  31. Set the thresholds as shown in Figure 6-51.

    9781430258933_Fig06-51.jpg

    Figure 6-51. Setting the thresholds

  32. Save the KPI and workspace file.

The thresholds used in the last target created might not seem to make sense at first. The default banding pattern used by PerformancePoint is “Band by normalized value of Actual/Target.” In this mode, a calculation is performed on each actual and target value for the KPI. A percentage is assigned based on the distance the actual and target are from the “worst value” set in step 3 of the scoring pattern wizard. By default, the “worst value” is set to 0. The worst value is somewhat arbitrary because it is quite possible for actual values to be below it. The percentages calculated in that case are simply negative.

In our case, 0% indicates that the gross profit margin for the selected promotion is exactly the same as for the No Discount promotion. If it’s lower, the percentage value is negative. If it’s better, the value is positive. AdventureWorks management has decided that our profitability goal for these promotions is to be within 20 percent of the non-discounted value (green indicator). A value worse than 100 percent below the standard indicates a serious problem, so the indicator turns red. Anywhere between –20 percent and –100 percent, the indicator will show a slight problem or a yellow indicator.

Creating a Scorecard

On our dashboard, we want to display a list of the promotions we’ve run and the values of our KPIs for each promotion. This is called a scorecard (shown in Figure 6-52), which we will create as a separate component in our workspace (inserted using the text markup feature):

  1. Open the Marketing.ddwx workspace file.
  2. Right-click on the PerformancePoint Content list in the Workspace Browser, and select New image Scorecard.
  3. From the “Select a Scorecard Template” dialog box, deselect the “Use Wizards to create scorecards” option and click the OK button.
  4. Name the scorecard “Promotion Scorecard” (and add it to a display folder if you want).

    9781430258933_Fig06-52.jpg

    Figure 6-52. An empty scorecard

    The empty scorecard shown in Figure 6-52 has two main areas. The center window is where you design the scorecard; you will be able to arrange and format items in this window. To the right are panels that provide the elements to go on the scorecard. First, we identify the KPIs to be shown, and then we identify the rows and grouping to use in calculating the KPIs:

  5. In the Details panel, open the KPIs branch of the tree until you reach the Profit Margin KPI. (See Figure 6-53.)

    9781430258933_Fig06-53.jpg

    Figure 6-53. The Profit Margin KPI

  6. Drag the Profit Margin KPI from the Details panel to the header area of the scorecard. (See Figure 6-54.)

    9781430258933_Fig06-54.jpg

    Figure 6-54. Adding the KPI to the scorecard

  7. Select Adventure Works from the drop-down list under Data Source. (See Figure 6-55.) Note that the Data Source panel is in the bottom right corner of the designer window, under the Details panel.

    9781430258933_Fig06-55.jpg

    Figure 6-55. Choosing Adventure Works as the data source

  8. Under Details, select Dimensions image Promotion image Promotions. This is the main hierarchy of promotions that will allow us to roll up or drill down into our KPIs.
  9. Drag the Promotions hierarchy onto the row area of the scorecard. This displays the Select Members dialog. (See Figure 6-56.)

    9781430258933_Fig06-56.jpg

    Figure 6-56. The Promotions hierarchy

  10. Open the All Promotions node.
  11. Right-click on the Customer node, and select Autoselect Members image Select All Descendants. (See Figure 6-57.)

    9781430258933_Fig06-57.jpg

    Figure 6-57. Selecting members

  12. Do the same for the Reseller node.
  13. Select the All Promotions, Customer, and Reseller nodes, as well as the two “All descendants of” nodes. Do not select No Discount. (See Figure 6-58.)

    9781430258933_Fig06-58.jpg

    Figure 6-58. Confirming member selection

  14. Click OK. The scorecard should now look like what’s shown in Figure 6-59.

    9781430258933_Fig06-59.jpg

    Figure 6-59. The scorecard with added elements

  15. Right-click on the Gross Profit column header, and select Delete.
  16. Right-click on the Gross Profit Margin column header, and select Delete.
  17. Right-click on the Breakeven column header, and select Metric Settings.
  18. Select “No Value” for Data Value and “Actual” for Additional Data Value. (See Figure 6-60.)

    9781430258933_Fig06-60.jpg

    Figure 6-60. Target settings for Breakeven

  19. Review the other settings, but retain the defaults. Click OK.

    At this point, the scorecard will automatically be processed. It should look something like the one in Figure 6-61. The rows show the promotion hierarchy, including rolling up to parent levels. The columns show our KPIs as they are currently configured. Notice that rows are appearing for promotions even though there were no sales for those promotions.

    9781430258933_Fig06-61.jpg

    Figure 6-61. The processed scorecard

  20. Right-click on the Total Sales column header, and select Filter Empty Rows. Note that the rows that should be filtered are now shown with red labels. (See Figure 6-62.) This indicates they will be filtered at runtime.

    9781430258933_Fig06-62.jpg

    Figure 6-62. Empty rows are red, indicating they will be filtered at runtime

  21. Right-click on the “GP% vs. no Discount” column header, and select Metric Settings.
  22. Select “Actual” for Data Value and Target for Additional Data Value.
  23. Click OK.
  24. Save the scorecard and workspace file.

Creating Filters

Our dashboard will contain two filters. The first filter will control the date range for the figures displayed. The second will allow us to select from among our sales territories.

  1. Open the Marketing.ddwx file in Dashboard Designer.
  2. Right-click on the PerformancePoint Content list Node, and select New image Filter.
  3. Select Time Intelligence from the “Select a Filter Template” dialog as shown in Figure 6-63. Be careful not to select “Time Intelligence with Connection Filter” by mistake.

    9781430258933_Fig06-63.jpg

    Figure 6-63. Creating a date filter

  4. Click “OK.”
  5. Click Add Data Source, select the Adventure Works data source, and click Next. (See Figure 6-64.)

    9781430258933_Fig06-64.jpg

    Figure 6-64. Selecting a data source for the filter

    For the “Enter time formula” step, we will define the options the user will have for selecting time periods. The formulas are entered on the left, and the name displayed to the user is on the right. The formulas are designed to output a list of members of the cube’s time dimension as specified in the data source. For a good overview of these formulas, go to blogs.msdn.com/b/performancepoint/archive/2010/01/21/time-intelligence-formula-quick-reference.aspx.

  6. Enter the formulas and display names shown in Figure 6-65 and then click Next.

    9781430258933_Fig06-65.jpg

    Figure 6-65. Adding date formulas

  7. Select List for the Display Method, and click Finish. (See Figure 6-66.)

    9781430258933_Fig06-66.jpg

    Figure 6-66. Selecting a display method for the date filter

  8. Set the name of the filter to “Date.”
  9. Save the filter and workspace.

    Now we’ll create a filter for selecting from the Sales Territory dimension. This filter will display a tree for the territory hierarchy and allow us to select one territory or higher-level region.

  10. Right-click on the PerformancePoint Content list, and select New image Filter.
  11. Select the Member Selection filter template, and click OK.
  12. Select the Adventure Works data source and click Next. (See Figure 6-67.)

    9781430258933_Fig06-67.jpg

    Figure 6-67. Selecting the data source for the filter

  13. This displays the Select Members page of the wizard, where we will specify the members to show in the filter. (See Figure 6-68.)

    9781430258933_Fig06-68.jpg

    Figure 6-68. Selecting members for the filter

  14. Click the Select Dimension button.
  15. Select Sales Territory.Sales Territory and click OK. (See Figure 6-69.)

    9781430258933_Fig06-69.jpg

    Figure 6-69. Choosing the dimension

  16. Click the Select Members button.
  17. Right-click All Sales Territories (shown in Figure 6-70), and select Autoselect Members image Select All Descendants.

    9781430258933_Fig06-70.jpg

    Figure 6-70. Selecting Sales Territory members

  18. Select both “All Sales Territories” and “All descendants of All Sales Territories.” (See Figure 6-71.)

    9781430258933_Fig06-71.jpg

    Figure 6-71. Confirming the members

  19. Click OK.
  20. Select Tree from the Select Display Method page, and click Finish. (See Figure 6-72.)

    9781430258933_Fig06-72.jpg

    Figure 6-72. Choosing a display method for the Sales Territory filter

  21. Change the name of the filter to “Sales Territory.”
  22. Save the filter and workspace file.

Creating Reports

KPIs and scorecards allow you to compare business data against goals. Once you have identified the problem areas in the enterprise, you need to be able to understand the conditions that are causing problems. A “report” in PerformancePoint is a generic term referring to a window of information that has been sorted out based on the filters and scorecard selections made in the dashboard.

The two most common types of reports in PerformancePoint are Analytic Charts and Analytic Grids. We will create one of each for our dashboard.

  1. Open the Marketing.ddwx file in Dashboard Designer.
  2. Right-click on the PerformancePoint Content list, and select New image Report.
  3. Select the Analytic Grid template, and click OK. (See Figure 6-73.)

    9781430258933_Fig06-73.jpg

    Figure 6-73. Choosing a report template

  4. Select the Adventure Works data source, and click Finish. (See Figure 6-74.)

    9781430258933_Fig06-74.jpg

    Figure 6-74. Choosing Adventure Works as the data source

  5. Set the name of the report to “Margin by Sales Channel.” (See Figure 6-75.)

    9781430258933_Fig06-75.jpg

    Figure 6-75. The empty “Margin by Sales Channel” report

    The empty grid report window is divided into several areas. The draft view of the report appears in the center window. Beneath the center window are panels labeled Rows, Columns, and Background that will be used to specify the contents of the report. In the report designer, “background” refers to the ways in which the data in the report can be filtered.

    To the right is a Details tree from which we’ll select items to add to the report by dragging them onto one of the panels at the bottom of the window.

  6. From the Details panel, drag Dimensions image Sales Channel and drop it on the Columns panel.
  7. From the Details panel, drag Measures image Sales Amount and drop it on the Columns panel.
  8. Drag and drop these measures to Columns as well: Total Product Cost, Gross Profit, and Gross Profit Margin.
  9. From the Details panel, drag Dimensions image Product image Categories and drop it on the Rows panel.

    Now that we have defined the rows and columns for the report (as shown in Figure 6-76), it will automatically display a default view. In our dashboard, we want to see the product categories by default. We also want to be able to filter this report by date, territory, and promotion.

    9781430258933_Fig06-76.jpg

    Figure 6-76. Defining the report’s rows and columns

  10. Right-click on Product Categories in the Rows panel, and choose Select Members.
  11. Right-click on All Products, and select Autoselect Members image Select Category.
  12. Ensure that All Products and Category descendants of All Products are selected, and click OK. (See Figure 6-77.)

    9781430258933_Fig06-77.jpg

    Figure 6-77. Selecting members for the report’s default view

  13. From Details, drag Dimensions image Date image Fiscal image Fiscal to the Background panel. (See Figure 6-78.)

    9781430258933_Fig06-78.jpg

    Figure 6-78. Adding dimensions to the report’s default view

  14. From Details, drag Dimensions image Promotion image Promotion to the Background panel.
  15. From Details, drag Dimensions image Sales Territory image Sales Territory to the Background panel.
  16. Save the report and workspace.

    Now let’s create an Analytic Chart report. This report will compare the gross profit margin across product categories.

  17. Right-click on the PerformancePoint Content list, and select New image Report.
  18. Select the Analytic Chart template, and click OK.
  19. Select the Adventure Works data source, and click Finish.

    At this point, the chart report looks almost exactly like the grid report. The difference is that the panels across the bottom are Series, Bottom Axis, and Background. (See Figure 6-79.)

    9781430258933_Fig06-79.jpg

    Figure 6-79. The empty analytic chart report

  20. From the Details panel, drag Measures image Gross Profit Margin and drop it on the Series panel.
  21. From the Details panel, drag Dimensions image Product image Category and drop it on the Bottom Axis panel.
  22. From Details, drag Dimensions image Date image Fiscal image Fiscal to the Background panel.
  23. From Details, drag Dimensions image Promotion image Promotion to the Background panel.
  24. From Details, drag Dimensions image Sales Territory image Sales Territory to the Background panel. (See Figure 6-80.)

    9781430258933_Fig06-80.jpg

    Figure 6-80. Adding dimensions to the Background panel

  25. Right-click anywhere in the center window, and select Format Report image Don’t Show.
  26. Right-click anywhere in the center window, and select Show Information Bar.

    The Information Bar is a useful feature on reports. When this is turned on, it shows the user exactly how the data in the report is being filtered. In the designer, the bar shows “No background selections exist” because there are no filters applied until the report is embedded in a dashboard. (See Figure 6-81.)

    9781430258933_Fig06-81.jpg

    Figure 6-81. The Information Bar turned on

  27. Set the name of the report to “Margin by Category.”
  28. Save the report and workspace.

Creating a Dashboard

We have created all of the components for our dashboard. Now we’ll put it all together and make it work as an integrated package.

  1. Open the Marketing.ddwx file in Dashboard Designer.
  2. Right-click on the PerformancePoint Content list, and select New image Dashboard.
  3. Select the default page template: Header, 2 Columns, as shown in Figure 6-82.

    9781430258933_Fig06-82.jpg

    Figure 6-82. The default page template

  4. Click OK.
  5. Set the name of the dashboard to “Marketing Dashboard.”

    This will create an empty dashboard page with three zones. (See Figure 6-83.) At the top of the center window is a list of the pages in the dashboard. Beneath the pages is the Dashboard Content panel. This is where the selected dashboard page will be assembled from the components we’ve created. At the right, the Details panel contains the components that can be used.

    9781430258933_Fig06-83.jpg

    Figure 6-83. The empty dashboard page

  6. Set the name of the dashboard’s initial page to “Sales Summary” in the Pages panel.
  7. On the Details panel, open the Filters node until you find Date and Sales Territory filters. Drag and drop both filters onto the Header zone of the page.
  8. On the Details panel, open the Scorecards node until you find the Promotion Scorecard. Drag and drop it onto the Left Column zone.
  9. On the Details panel, open the Reports node until you find the “Margin by Category” and “Margin by Sales Channel” reports. Drag and drop both reports onto the Right Column zone.

    The components are now on the page (as shown in Figure 6-84), but they are not integrated with one another.

    9781430258933_Fig06-84.jpg

    Figure 6-84. The dashboard page with components

    By dragging fields from one component to another, data is passed to synchronize or filter data throughout, or between, dashboard pages. The behavior we want is as follows:

    • •  When a date range is selected in the filter, it should be applied to all components.
    • •  When a Sales Territory is selected in the filter, it should be applied to all components.
    • •  When the user clicks on a row or cell in the scorecard on the left, the reports on the right should be filtered to display data only for that promotion.

    Now we will create the connections to create this behavior:

  10. Hover over the Date filter. A panel will drop down showing all of the fields that are available from this filter. Drag Member Unique Name, and drop it onto the scorecard.
  11. The default connection is to Page, which refers to the scorecard’s overall filter. (See Figure 6-85.) Click OK.

    9781430258933_Fig06-85.jpg

    Figure 6-85. Creating connections between dashboard items

  12. Drag and drop the same field from the Date filter onto the two report components. The reports will default the connection to the Date Fiscal background field that is specified in the reports.
  13. From the Sales Territory filter, drag the Member Unique Name field to the scorecard. Again, Page is the connection field.
  14. Drag and drop the same field from the Sales Territory filter onto the two report components. When the connection dialog appears, select Sales Territory for the “Connect to” field. (See Figure 6-86.)

    9781430258933_Fig06-86.jpg

    Figure 6-86. Connecting to the Sales Territory filter

  15. From the Promotion Scorecard, drag Row Member image Member Unique Name onto each report. Verify that the connection dialog shows that the field is connected to the Promotion field. (See Figure 6-87.)

    9781430258933_Fig06-87.jpg

    Figure 6-87. Connecting to the Promotion field

  16. The dashboard is now complete. (See Figure 6-88.) Save the dashboard and the workspace.

    9781430258933_Fig06-88.jpg

    Figure 6-88. The completed dashboard

Deploying the Solution to SharePoint, and Exploring

We are now ready to deploy our dashboard and start analyzing data. Remember that the dashboard we created in the previous section is only the definition for a dashboard. That definition is stored in our PerformancePoint Content list. When we deploy the dashboard, the definition is converted into a folder of ASPX pages that implement our dashboard.

Note that PerformancePoint uses Silverlight controls to render some of the UI controls. Now would be a good time to download and install the latest version of Silverlight from www.microsoft.com/silverlight.

  1. Open the Marketing.ddwx file in Dashboard Designer.
  2. Right-click on the Marketing Dashboard item, and select Deploy to SharePoint as shown in Figure 6-89.

    9781430258933_Fig06-89.jpg

    Figure 6-89. Deploying to SharePoint

  3. Since this is the first time we’ve deployed the dashboard, Dashboard Designer will prompt for a destination location for the dashboard.
  4. Select the Dashboards document library in the BI Center site (shown in Figure 6-90), and click OK.

    9781430258933_Fig06-90.jpg

    Figure 6-90. Putting the dashboard in the Dashboards library

  5. After a few seconds, a web browser window will open to the Sales Summary page of the dashboard. (See Figure 6-91.)

    9781430258933_Fig06-91.jpg

    Figure 6-91. The Sales Summary page

  6. Select a time period in the Date filter that contains data. The scorecard and both reports are filtered accordingly.
  7. Select a Sales Territory. Notice the text displayed in the Information Window below the “Margin by Category” chart. (See Figure 6-92.)

    9781430258933_Fig06-92.jpg

    Figure 6-92. Text in the information window

  8. Close the web browser, and open a new window to view the dashboard. Note that the filter values selected in the previous session are remembered. (See Figure 6-93.)

    9781430258933_Fig06-93.jpg

    Figure 6-93. Values from the previous session are remembered

  9. Click on a row on the scorecard. Note the changes that occur on the reports to the right. (See Figure 6-94.)

    9781430258933_Fig06-94.jpg

    Figure 6-94. Click a row on the scorecard to modify the reports

  10. Right-click on one of the cells in the "Margin by Sales Channel" report and select Show Details. A window is displayed containing all of the data that went into that cell. This data can also be exported to Excel for further analysis. (See Figure 6-95.)

    9781430258933_Fig06-95.jpg

    Figure 6-95. Exporting data to Excel

  11. Right-click on one of the cells in the “Margin by Sales Channel” report, and select Decomposition Tree. A window is displayed that allows the user to decompose the results in the cell in any way needed to discern patterns. (See Figure 6-96.)

    9781430258933_Fig06-96.jpg

    Figure 6-96. Decomposing a cell into multiple levels

Advanced Report Types

Now let’s extend our sample dashboard to include data from two external sources: Excel and Visio. The data will be integrated using the Excel Services and Strategy Map report types, respectively.

PROBLEM CASE

Extend the marketing dashboard to allow users to analyze data by sales territory and promotion hierarchy.

Solution

We will add two additional pages to our dashboard, one using Excel Services reports and another using a Strategy Map report.

Create an Excel Services Report

Microsoft Excel is one of the most widely used packages for doing numerical analysis. As a file-based desktop application, however, it is limited in its ability to reach a large audience and integrate with other solutions. As you saw in Chapter 5, SharePoint Server 2013 incorporates Excel Services to address these issues by creating a server environment for storing, processing, and delivering Excel content. With PerformancePoint Services, you have the opportunity to leverage Excel’s analytical abilities and familiar user interface to integrate rich reports into your PPS solutions.

In this section, we will create a simple Excel Services spreadsheet and deploy it to SharePoint. Then, we will integrate the elements of that spreadsheet into our existing dashboard as a pair of new reports on a new page. The new page will allow us to view a grid and a chart with a breakdown of our sales figures by Sales Territory. Be prepared, there ar quite a few steps.

  1. Launch Excel 2013, and create a new blank workbook.
  2. On the ribbon menu, select Data image From Other Sources image From Analysis Services.
  3. Enter the name of the SSAS server containing the Adventure Works DW database as shown in Figure 6-97.

    9781430258933_Fig06-97.jpg

    Figure 6-97. Selecting the database server to connect to

  4. Click Next.
  5. Select the Adventure Works DW database.
  6. Select the Adventure Works cube.
  7. Click Next.
  8. Enter “AWExcel.odc” for the File Name. (See Figure 6-98.)

    9781430258933_Fig06-98.jpg

    Figure 6-98. Entering a name for the data connection file

  9. Enter “Adventure Works DW – Excel” for the Friendly Name.
  10. Click Finish.
  11. Select PivotTable Report (as shown in Figure 6-99), and click OK.

    9781430258933_Fig06-99.jpg

    Figure 6-99. Choosing how to view data in the workbook

  12. From the Pivot Table Field List (shown in Figure 6-100), drag the fields listed in Table 6-1 into the indicated panel at the lower right of the Excel window.

    9781430258933_Fig06-100.jpg

    Figure 6-100. The Pivot Table Field List

    Table 6-1. Pivot Table Fields

    Field Panel
    Date image Fiscal image Date.Fiscal FILTERS
    Promotion image Promotions FILTERS
    Sales Territory image Sales Territory ROWS
    Sales Summary image Sales Amount VALUES

    The spreadsheet should now look like the image in Figure 6-101.

    9781430258933_Fig06-101.jpg

    Figure 6-101. The pivot chart

  13. Select the Table ,and click on Recommended Charts from the INSERT ribbon menu.
  14. Select “Pie” chart from the left Side, and click OK.
  15. Right-click on the chart title, and select Delete.
  16. From the ribbon menu, select DESIGN and choose Style 6. (See Figure 6-102.)

    9781430258933_Fig06-102.jpg

    Figure 6-102. Selecting the Chart type

  17. From the ribbon menu, select the ANALYZE option and enter “SalesChart” into the Chart Name box. (See Figure 6-103.)

    9781430258933_Fig06-103.jpg

    Figure 6-103. Entering the chart name

  18. Click on one of the cells in the PivotTable.
  19. From the ribbon menu, select PivotTable Tools image Options image PivotTable. Enter “SalesTable” into the PivotTable Name box. (See Figure 6-104.)

    9781430258933_Fig06-104.jpg

    Figure 6-104. Entering the name of the pivot table

  20. Select the “Sales Amount” column cells on the PivotTable.
  21. Select Home image Conditional Formatting image Data Bars, and select one of the options shown. (See Figure 6-105.)

    9781430258933_Fig06-105.jpg

    Figure 6-105. Selecting a style for the data bars

  22. Click on cell B1. This should be the All Periods value for the Date.Fiscal filter. Be sure to select the value cell (B1), not the label cell (A1).
  23. Click ANALYZE from the Ribbon menu, type “Date” into the name box, and press Enter. (See Figure 6-106.)

    9781430258933_Fig06-106.jpg

    Figure 6-106. Setting up conditional formatting for the Date filter

  24. Click on cell B2. This should be the All Promotions value for the Promotions filter. Be sure to select the value cell (B2), not the label cell (A2).
  25. Type “Promotions” into the name box, and press Enter.

    The Excel spreadsheet is now ready to be published to SharePoint. For simplicity, we will store it in the Dashboards library in our BI Center site (though it could be stored in any location trusted by Excel Services). First, we’ll create a copy of the data connection we’re using.

  26. From the ribbon menu, select Data image Connections image Properties.
  27. Select the Definition tab. (See Figure 6-107.)

    9781430258933_Fig06-107.jpg

    Figure 6-107. Copying the data connection

  28. Click the Export Connection File button.
  29. In the File Save dialog, navigate to the Data Connections library in the BI Center site.
  30. Set the file name to “AWExcel” and click Save. (See Figure 6-108.)

    9781430258933_Fig06-108.jpg

    Figure 6-108. Naming the data connection file

  31. Select Office Data Connection File as the Content Type, and click OK. (See Figure 6-109.)

    9781430258933_Fig06-109.jpg

    Figure 6-109. Selecting the content type of the data connection file

  32. Click OK on the Connection Properties dialog.

    Before we publish the spreadsheet to SharePoint, we need to identify the objects and parameters to expose to Excel Services. The objects we’ll use are the SalesChart and SalesTable objects. We will declare the Date and Promotions cells as parameters, which PerformancePoint will use to pass in dashboard filter selections.

  33. From the ribbon menu, select File image Save As image SharePoint. (See Figure 6-110.)

    9781430258933_Fig06-110.jpg

    Figure 6-110. Saving to SharePoint

  34. Click on Browser View Options. (See Figure 6-111.)

    9781430258933_Fig06-111.jpg

    Figure 6-111. Selecting the “Browser View Options”

  35. Select “Items in the Workbook” from the drop-down list. (See Figure 6-112.)

    9781430258933_Fig06-112.jpg

    Figure 6-112. Choosing the items that will be displayed in the browser

  36. Select the SalesChart and SalesTable items.
  37. Switch to the Parameters tab. (See Figure 6-113.)

    9781430258933_Fig06-113.jpg

    Figure 6-113. Adding parameters

  38. Click the Add button.
  39. Select both available parameters, and click OK from “Add Parameters” dialogue box.
  40. Click OK from “Broswer View Options” dialogue box.
  41. If the Dashboards library is not shown under Locations, select Browse for a location to add it.
  42. Double-click the location to publish the file to SharePoint.
  43. Enter the file name “AWExcelRpt” in the Save As dialog, and click Save.
  44. Select Document as the content type, and click OK.
  45. Navigate to the SharePoint documents folder, and click on the “AWExcelRpt.”
  46. Close the new browser window and Excel.

    Now that we have a spreadsheet published to SharePoint, we will add the PivotTable and PivotChart as reports in a new page on our dashboard.

  47. Open the Marketing.ddwx file in Dashboard Designer.
  48. Right-click on the PerformancePoint Content list, and select New image Report.
  49. Select the Excel Services template, and click OK.
  50. Set the name of the report to “Sales Table.”
  51. Enter the URL for the BI Center site in the “SharePoint site” box on the report editor. (See Figure 6-114.)

    9781430258933_Fig06-114.jpg

    Figure 6-114. Adding a new Sales Table report

  52. Select the Documents library.
  53. Select “AWExcelRpt.xlsx” file for the workbook.
  54. Select “SalesTable” for the item name.
  55. Note that the Dashboard Designer has already identified the Workbook Parameters: Date and Promotions.
  56. Copy and paste the Sales Table report in the Workspace Browser.
  57. Rename “Sales Table – Copy” to “Sales Chart.”
  58. Select SalesChart from the “Item name” drop-down on the Sales Chart report editor.
  59. Save both reports and the workspace file.
  60. Right-click on the PerformancePoint Content list, and select New image Filter.
  61. Select the Member Selection filter template, and click OK.
  62. Select Adventure Works for the data source, and click Next.
  63. Click Select Dimension, and choose Promotion.Promotions.
  64. Click OK.
  65. Click Select Members, and select All Promotions and all of its descendants. (See Figure 6-115.)

    9781430258933_Fig06-115.jpg

    Figure 6-115. Selecting the All Promotions member

  66. Click OK to move to the next screen. (See Figure 6-116.)

    9781430258933_Fig06-116.jpg

    Figure 6-116. Creating a filter

  67. Click Next.
  68. Select Tree, and click Next.
  69. Name the new filter Promotion.

    We now have the new filter and reports created for our new page. Next we’ll create the new dashboard page and deploy the dashboard.

  70. Select the Marketing Dashboard in the Workspace Browser.
  71. Click New Page in the dashboard editor, and select the default template.
  72. Name the page “Sales by Promotion”.
  73. From Details, drag the Date and Promotion filters into the header of the new page.
  74. From Details, drag the Sales Table report into the left column zone.
  75. From Details, drag the Sales Chart report into the right column zone.
  76. Add the connections shown in Table 6-2 to the page.

    Table 6-2. Connections for the Dashboard

    image

    The dashboard page should now resemble the image in Figure 6-117.

    9781430258933_Fig06-117.jpg

    Figure 6-117. The dashboard page

  77. Right-click the Marketing Dashboard, and select “Deploy to SharePoint.”
  78. When the browser window opens, click on the “Sales by Promotion” link.

    Notice that all of the formatting from Excel is displayed on the dashboard, including the pie chart and data bars. (See Figure 6-118.) Now any changes made to the Excel spreadsheet will automatically be reflected in the dashboard. This allows users who are more comfortable with Excel to author reports that can be integrated with the rest of a PerformancePoint solution.

    9781430258933_Fig06-118.jpg

    Figure 6-118. Excel reports displayed in the browser

Create a Strategy Map Report

Microsoft Visio is a powerful desktop visualization tool. As you saw in Chapter 2, the Visio Services component in SharePoint Server 2013 allows Visio diagrams to be brought to life with real data. With PerformancePoint Services, you can take that integration one step further. A Visio diagram can be created that visually represents the KPIs on a scorecard. Those KPIs can then be connected to the Visio diagram to create a graphical representation of the status of the enterprise. In PerformancePoint, this type of report is called a “strategy map.”

In this section, we will create a simple Visio diagram that we’ll deploy to PerformancePoint as a Strategy Map report. The term “strategy map” refers to a particular type of diagram often used in conjunction with the “balanced scorecard” methodology. While this feature in PerformancePoint is ideally suited for implementing that type of map, any Visio diagram can be used as long as it contains only simple shapes that don’t involve sets or groupings within Visio.

image Note   Readers who are not familiar with Visio or Visio Services should review Chapter 2 before proceeding with the rest of this section.

  1. Launch Visio 2013, and create a new blank diagram using the Basic Diagram (US Units) template.
  2. Create a diagram with a set of simple shapes that looks something like the image in Figure 6-119. The precise details of the diagram are not important.

    9781430258933_Fig06-119.jpg

    Figure 6-119. A simple Visio diagram

  3. Save the file with the file name Promotion Tree.vsd anywhere on your local computer.
  4. Close Visio.
  5. Open the Marketing.ddwx file in Dashboard Designer.
  6. Right-click on the PerformancePoint Content list, and select New image Report.
  7. Select the Strategy Map template from the “Select a Report Template” dialog, and click OK.
  8. Select the Promotion Scorecard as the scorecard for the strategy map. (See Figure 6-120.) The Strategy Map report uses a scorecard as a data source instead of a normal data source object.

    9781430258933_Fig06-120.jpg

    Figure 6-120. Creating a strategy map report using the Promotion Scorecard

  9. Click Finish.
  10. Name the new report “Promotion Map.”
  11. From the ribbon menu, select Edit image Report Editor image Edit Strategy Map. (See Figure 6-121.) If your operating system is 64 bit, ensure you have installed a 64-bit version of Visio 2013.

    9781430258933_Fig06-121.jpg

    Figure 6-121. The Strategy Map Editor

  12. Click the Import Visio File button, and choose Promotion Tree.
  13. To connect the Reseller Promotions shape to the scorecard, click on the shape and then on the Connect Shape button as shown in Figure 6-122.

    9781430258933_Fig06-122.jpg

    Figure 6-122. Connecting the Reseller Promotions shape to the scorecard

  14. The Connect Shape dialog shows a view of the underlying scorecard. Select the cell at the intersection of the Reseller row and the “GP% vs. no Discount” column.
  15. Ensure that the “Show KPI name in shape text” check box is not selected, and click the Connect button.
  16. Click Close and the Reseller Promotions shape will now be colored the same as the KPI.
  17. Repeat steps 14 though 16 for each of the other shapes on the diagram. Your colors might vary depending on the filters that are active in your environment. The important thing is to connect the proper shape to the correct KPI.
  18. Drag the cursor over the diagram to select all of the shapes.
  19. Right-click one of the shapes, and select Data image Edit Data Graphic.
  20. Click the New Item button.
  21. On the New Item dialog, select the options shown in Figure 6-123.

    9781430258933_Fig06-123.jpg

    Figure 6-123. Values for the data graphic

  22. Click OK to create the Data Graphic.
  23. Select “Below Shape” in the Vertical option, and click OK to save Data Graphics.
  24. Answer “Yes” to “Do you want to apply this data graphic to the selected shapes?”
  25. Now the map should look something like Figure 6-124.

    9781430258933_Fig06-124.jpg

    Figure 6-124. The shapes with the data graphic applied

  26. Click Apply.
  27. Save the Promotion Map report and the workspace.
  28. Select the Marketing Dashboard in the Workspace Browser.
  29. Add a new page to the dashboard with the default template.
  30. Name the page “Promotion Map.”
  31. Add the components in Table 6-3 to the zones of the new page.

    Table 6-3. Components for the New Page

    Component Zone
    Date Filter Header
    Sales Territory Filter Header
    Promotion Scorecard Left Column
    Promotion Map Report Right Column
  32. Create the connections shown in Table 6-4.

    Table 6-4. Connections for the New Page

    image
  33. The dashboard should now look like Figure 6-125.

    9781430258933_Fig06-125.jpg

    Figure 6-125. The Marketing Dashboard

  34. Save the dashboard and workspace.
  35. Ensure the “Include page List for navigation” is selected in the Properties tab and then Deploy the dashboard to SharePoint.

    Try selecting different values for the Date and Sales Territory filters. (See Figure 6-126.) Both the scorecard and the map are updated simultaneously.

    9781430258933_Fig06-126.jpg

    Figure 6-126. Trying out the strategy map

There are several features of the map to note:

  • The end user can zoom in and out as desired by right-clicking on the map.
  • By holding Ctrl and clicking on a shape, users can select that shape. Right-clicking a selected shape provides the option to view a detailed list of KPI properties.
  • While it is common to display the scorecard associated with a strategy map on the same page, it’s not required. The scorecard is still an active part of the dashboard even when it’s not visible on the current page. Therefore, you could remove the scorecard from this page and the only effect would be to hide it. The strategy map would still function correctly.

There is an important limitation when using strategy maps that can be handled with a little additional planning. In our example, if we select a different date range and sales territory, we might see rows on the scorecard that don’t appear on the map, or we might see rows on the scorecard disappear due to a lack of data. These shapes still appear on the map, but they don’t show a color. When we connect shapes to the scorecard, that connection is static. We can’t change that association as needed to fit how the scorecard is filtered. We also can’t add shapes as new rows appear in the scorecard.

There are different strategies for handling such situations. One way is to include every possible shape on the map. You could also limit the filtering of the page to prevent unwanted rows from appearing in the scorecard. Regardless, the shapes on the map and how they are associated are fixed at runtime.

Strategy maps are a versatile way to add visualization to your solution. They can be used to provide a user-friendly means of interpreting your key performance indicators.

Summary

In this chapter, you explored PerformancePoint Services as outlined in Figure 6-127, including

  • The components of the PerformancePoint Services architecture.
  • How to configure PerformancePoint Services using both Central Administration and PowerShell commands.
  • How to enable the features of PerformancePoint Services within a SharePoint site and deploy the Business Intelligence Center.
  • How to use Dashboard Designer to author and deploy a dashboard and its supporting components to SharePoint 2013.
  • How to integrate PerformancePoint Dashboards with diagrams using Visio Services and spreadsheets using Excel Services.

9781430258933_Fig06-127.jpg

Figure 6-127. PerformancePoint Services Road Map

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset