SharePoint Events

  5/13/2013 - Conference: SharePoint Summit 2013
  5/21/2013 - Webcast: SharePoint 2013 and ECM: Content Migration and Storage
  5/22/2013 - Webcast: Managing CAD in SharePoint
  5/23/2013 - Webcast: SharePoint Document Automation and E-Forms for Financial Services
  5/24/2013 - Webcast: What's New in Search for SharePoint 2013

 SharePoint Videos

  Why SharePoint 2013
  SharePoint 2013 Launch
  SharePoint 2013 Migration and Governance
  SharePoint 2013 and Enterprise Content Management
  Top Benefits of SharePoint 2013
  What's New in Business Intelligence in Office and SharePoint 2013
  SharePoint and Office 2013 Integration
  SharePoint 2013 Infrastructure Preview
  SharePoint, Lync, and, Exchange in the Cloud with Office 365
  Advanced Reporting in SharePoint with Microsoft Power View

 Archives

Opening SharePoint Links in a new windowUse SHIFT+ENTER to open the menu (new window).
Mail Enabled Lists vs. The Missing Windows 2008 POP3/IMAP Server Use SHIFT+ENTER to open the menu (new window).
7 Tools for SharePoint DevelopersUse SHIFT+ENTER to open the menu (new window).
Public Facing Masterpage TechniquesUse SHIFT+ENTER to open the menu (new window).
How to Quickly Deploy and Activate a Timer Service to Your Site CollectionUse SHIFT+ENTER to open the menu (new window).
Custom SharePoint Master Page Feature with WSP BuilderUse SHIFT+ENTER to open the menu (new window).
Date Math with InfoPathUse SHIFT+ENTER to open the menu (new window).
Enterprise Search Tricks and Tips Part 1Use SHIFT+ENTER to open the menu (new window).
Populating Word Documents With SharePoint Data. Try The DIP!Use SHIFT+ENTER to open the menu (new window).
Programmatic Deep Dive into Blank SharePoint Lookup ColumnsUse SHIFT+ENTER to open the menu (new window).
1 - 10 Next
PerformancePoint Scorecards with Custom KPIs and Calculated Metrics

By: Christian Holslin

Introduction

This blog post explores a valuable, core feature of Microsoft PerformancePoint Services for SharePoint 2010.  Key Performance Indicators, or KPIs as they are commonly known, frequently represent a formula, like a Profitability Index, and not a single metric, like Gross Revenue.  PerformancePoint provides the perfect solution for business users seeking to leverage existing data warehouses: Calculated Metrics.

I will take you through the build process, step-by-step, starting from nothing and ending with a working scorecard with a custom KPI (as opposed to a pre-built Analysis Services KPI) leveraging a calculated metric.

Pre-requisites

To repeat this process in your own environment, you will need a working installation of SQL Server Analysis Services, SharePoint 2010, a Business Intelligence Center SharePoint site, and Microsoft’s AdventureWorks 2008 Family of Sample Databases.  You can download the sample databases from CodePlex here: http://msftdbprodsamples.codeplex.com/

Business Case

Our business case is simple: my regional sales manager wants to create a new sales metric without altering the existing, underlying data warehouse.  The trick is we need to see computed metrics that are not already available.  Without involving IT, we are going to use PerformancePoint Services to easily accomplish our goal.

Reporting Objective

KPIs generally only exist when we have a reporting objective.  Thus, for this walk-through we are going to find out where best to allocate sales promotions to help us drive more business.  We are going to tap into our sales data warehouse to find the most profitable product lines.  This calculated metric we are calling Profitability Index.

If get through the entire How-To, try adding more or different Dimensions to your new scorecard to see how the custom KPI can be applied to any entity in the data warehouse.

How-To

First, let’s see what we’re trying to achieve.  The following screen shot shows the final end product.  We won’t go into the details of formatting (to be saved for another article).  What I will focus on here is the Profitability Index metric and how it came to be.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

We’re going to start from scratch so all the steps are clear.  First, open the PerformancePoint Dashboard Designer from your Business Intelligence Center.  Locate the PerformancePoint Content bucket in the Workspace Browser.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Next, right-click on the PerformancePoint Content bucket and select New KPI.  Pick the Blank KPI template when prompted.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Give your KPI a new name after it gets created.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

We’re calling ours “Custom KPI.”  Now, make a note of the Custom KPI (or whatever you named yours) Editor tab in the middle of the Dashboard Designer to the right of the Workspace Browser.  We are going to keep the default Actual and Target values in place since this is what we want.  Obviously, you can change them as needed, but we’re not concerned with their names.  We are concerned with the Data Mappings for our Actual.  Next, we need to edit the Data Mappings so we can link the KPI to our Analysis Services cube.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Click on the highlighted “1 (Fixed values)” link in the Data Mappings column for the Actual row.  After the data source mapping dialog box appears, click on the Change Source button at the bottom.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

You will be presented with a data source selection box.  Here is the key choice to make: switch to the Calculated Metric tab, scroll down to the Templates folder, and pick Blank Calculation.  This will allow us to specify a computed value for our Actual in our new KPI using any existing Measures in our Analysis Services Cube.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

After you pick the Blank Calculation template, you need to decide which Measures you want to leverage in the Actual.  The Blank template provides you with two values by default.  Click on the Name column to change their names.  Next, click on the familiar “1 (Fixed values)” link in the Source column.  What we will do now is bind the SalesAmount field to the Sales Amount measure in our Cube.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

After you click the link, another Data Source Mapping dialog will appear.  Click Change Source again to select the Analysis Services Cube data source.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

NOTE: I am assuming that you have already created a data source connection to the AdventureWorks Data Warehouse Analysis Services Cube and saved it to SharePoint.  Click on the SharePoint Site tab to choose the data connection to Analysis Services.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

After you click OK, you will need to select the Measure.  If you’re using the AdventureWorks data warehouse, pick Sales Amount.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Click OK, then repeat that same process for each Measure you need in your formula.  Finally, in the Formula box on the bottom, type out the formula for the Calculated Metric using the names of the mapped fields.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Click OK to save it and that’s it!  You’ve created a Calculated Metric for the Actual value in your new KPI.  Now, to get this into a Scorecard so we can check it out, go back to the PerformancePoint Content bucket in the Workspace Browser, right-click, and select New Scorecard.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

When prompted to pick a Scorecard Template, be sure to pick the Analysis Services template and make sure that the Wizard option is checked.  This gives the Scorecard the ability to interpret the Dimensions in the Cube.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

IMPORTANT: When creating the new Scorecard, select the same Analysis Services data source that you used when created the Calculated Metrics.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Next, select “Create KPIs from SQL Server Analysis Services measures.”  This will give you the option to pick your new Custom KPI that we just added.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

In the next step, click on the “Select KPI” button to choose your new KPI.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Pick the KPI you just created.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

You will see the KPI appear on the list of KPIs to import.  Continue through the wizard and leave the defaults selected for the rest of the menus.  You do not need to alter them to create the Scorecard.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

If you’ve wired it all up correctly to Analysis Services, and you’re using the AdventureWorks data warehouse, you should see something like this when you’re done.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Granted, the Profitability Index of every single sales figure of all time (which is what you get by default), isn’t terribly useful, but that’s what you’re seeing in the above screen shot.  To make this more useful, and specifically to apply this new KPI to a set of Product Categories, look to the right of the Scorecard in the middle of the screen.  Use the navigation tool to browse the Dimensions.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Obviously, pick whatever you want, and then drag it onto the Scorecard as the Last Child of the KPI in the Scorecard.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

After that you should see the Dimension members you selected appear in the Scorecard.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

Click over to the Edit tab and click on Update to update the Scorecard.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

If all is well, your Scorecard will update with the Calculated Metric for the Actual column.

The_SharePoint_Blog_PerformancePoint_Scorecards_with_Custom_KPIs_and_Calculated_Metrics

By: Christian Holslin

        

Comments

jhedson

Excellent...
at 4/17/2013 12:09 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Your Name *


e-mail address *


Website (optional)


Comment *


Attachments

 Subscribe

  GigWerks RSS  Gig Werks Mailing List 

 Contact Us

 Connect

 Resources

  On Demand SharePoint Webcast Recordings
  Upcoming Webinars
  SharePoint Resources
  Business Intelligence Resources
  Gig Werks Website



©2009 Gig Werks. All rights reserved. Privacy Policy