Chapter 16. Business Intelligence and Insights

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • The different types of business intelligence tool sets available in SharePoint

  • Work with the out-of-the-box business insight features to configure charts, graphs, and spreadsheets

  • Use Visio to publish content to a Visio Services web part

Business intelligence (BI) and insights are the ways that you can help provide tools that bring information directly to the users through a single interface. There are several different concepts that you will dig into throughout this chapter. We will look at how to get started and how to start bringing immediate value to the organization. In case you are just getting started with business intelligence, we will also look at ways to progressively incorporate these features into your organization. Once you have completed this chapter, you should have a good handle on the following topics:

  • Defining business intelligence

  • Working with Excel Services

  • Using the Chart web part

  • Working with Visio Services

  • Working with KPI features

  • Understanding PerformancePoint features

GETTING STARTED

The first step to getting started with business insights is understanding what they are and how you are planning to use them within your organization. Business insights is a very common buzz phrase, the type that your CEO will hear in a demonstration and march directly into your office explaining that you must have KPI and charts and dashboards and you need them immediately. While it is true that all of those things will bring value to the organization, it is also true that there must be a plan in place and an end goal in sight. Having charts to have charts is never going to provide any business value. Instead, having charts that solve specific business problems or that provide information to a group of users will provide value and a return on investment. So, when faced with the CEO who has been bitten by the "demo bug," be sure to help him refocus what he has seen with your organization in mind. Once you have the end goal in mind, you can then select the tools to help you get there. The following list shows some common goals or phrases that can be used to describe different scenarios that can be resolved with the business insight tools within SharePoint. This list should give you some ideas and serve as a checkpoint that you can use to verify your goals.

  • Show a visual representation of the task breakdown for our project.

  • Show a visual indicator of issues that are present within a project, report, or collection of data.

  • Provide information to the sales team from last year's sales numbers, so that they can make decisions for this year.

  • Provide a single entry point into legacy business data so that users from one single location can drill into the specific information that they need for their current tasks.

There are many different reasons to deploy insights within your environment. The key thing is that you understand your end goal and then work together with the business to provide the proper tool set to meet their specific needs. The tools available within SharePoint, specific to insights are:

  • Chart web parts: These web parts allow you to easily create a visual representation of list data or data from Excel Services. These web parts can be added to pages to create a dashboard.

  • KPI lists and web parts: These lists and web parts allow you to configure specific items that you want to monitor through performance indicators. As an example, you could be notified when more than one task in a task list is overdue.

  • Visio Services web part: This web part allows you to display a Visio document directly within a web part.

  • Excel Services: These features include web parts that allow you to display data from an Excel workbook directly within a SharePoint web part. Within this web part you can also configure parameters which allow the data to be displayed based on the selections of the user.

  • PerformancePoint: The PerformancePoint features allow you to easily create dashboards based on date that are distributed across various enterprise systems.

Like most things in SharePoint, there is a level of progression when working with these features. If you are just getting started, it is recommended that you first start with the Chart web parts and the KPI lists. Once you are familiar with those elements, you should move on to Excel Services and Visio Services. Finally, once you have become familiar with those elements you could begin working with the PerformancePoint features.

One final note that we should cover is the concept that working with PerformancePoint features will require the involvement of several key roles within the organization. The idea of PerformancePoint is that you are pulling data from many locations and bringing it together via dashboards and web parts. This is a great tool that can provide tremendous value to the organization. However, it is important to note that the quality of the data returned is dependent on the quality of the data that is available. Don't be surprised if part of your process of moving to a solution that utilizes PerformancePoint features also includes an element of restructuring and verifying your current data structure.

Throughout the rest of the chapter, you will be reviewing examples and learning the details of each of the components discussed above. You will start with the Chart web parts and end with PerformancePoint Services. Each section will build on various examples, which will show you how you can combine all elements together to build a solution for your users.

EXCEL SERVICES OVERVIEW

Excel Services is the tool within SharePoint that allows users to interact with Excel workbooks directly from the browser. These features allow a workbook to be published to a SharePoint library and then displayed using a collection of Excel Services web parts. These web parts allow you to build dynamic dashboards through web part connections. Before we get into the details of working with Excel Services within a SharePoint site, it would be good to cover some of the basics of Excel Services. Once you understand this basic foundation, you will be able to easily see how Excel Services can be combined to build business solutions. At the core level, Excel Services consists of the following three components:

  • Excel Calculations Services

  • Excel Web Access

  • Excel Web Services

These three components work together to provide the overall end user experience. The Calculation Services engine is responsible for running all the calculations within the workbook. These calculations are run directly on the server without direct interaction from the users. This service is also responsible for maintaining sessions and refreshing data within each session. The web access components are the web parts that allow you to display the Excel information within SharePoint sites. These web parts also allow connections, allowing you to pass information to the web part that changes the data displayed, based on the input. Finally, there is the Web Services component. This component is new with SharePoint Server 2010 and provides an application programming interface (API) that can be used by developers that want to write custom applications to interact with the Excel workbook.

Once the workbook has been published to the SharePoint site, the site administrator can configure the web parts to display the Excel workbook. The Excel web parts can be configured to display the entire workbook or just a named region within the workbook. Once the workbook is displayed on the site, users can interact with it through preconfigured parameters. These parameters are created within Excel prior to its being published to the SharePoint site. Users will only be able to read the Excel document from the Excel web parts, but if they need to edit the content within the workbook, they can always use the Excel Office web application to make browser-based changes to the workbook.

Now that you have briefly covered the basics, you are going to work through the steps required to publish a workbook to SharePoint using Excel Services. You will start by publishing a workbook and then using a web part to display the workbook on a dashboard page. Once you have completed that, you will return to the workbook and add a named region and some parameters that you can use to filter the workbook from the dashboard. Finally, you will open the workbook using the Excel web app so that you can experience the process of users who have to edit the workbook through the browser.

Publishing an Excel Workbook

To get started, you will open an Excel workbook and then save it to a SharePoint library. When you use the Office Backstage view to save to the SharePoint library, you will see additional links for publishing options, as shown in Figure 16-1.

FIGURE 16-1

Figure 16-1. FIGURE 16-1

Since this book focuses on SharePoint, we are not going to spend a lot of time on configuring the workbook. Instead, you will use one of the Microsoft samples that comes with Excel 2010. This sample contains several pivot tables that you can use for the remainder of the examples. The first Try It Out in this chapter will be creating an Excel document based on this template.

Using the Excel Services Web Parts

Now that you have the workbook published to a SharePoint library, you will be able to add a web part to display the workbook information. To get started, you will create a new dashboard page. A little later in the chapter we will discuss this in greater detail, but for now you are going to create it in order to get started. Once you have the dashboard created, you will add and configure the Excel workbook. There are many different configuration options available, so before you complete the examples, we will review the different options you have.

Toolbar and Title Bar

The toolbar and title bar options allow you to supply values for the various ways that you can configure the display of the web part. For the title bar, the web part is set to auto-generate the title and the link by default. If you would like to use your own title instead, you can deselect the option in this section and enter a custom title in the appearance settings. If you have this option selected, then the title in the appearance settings will be ignored and the web part title will be auto-generated. The toolbar options allow you to select which commands you would like to make available to the users and include the following options:

  • Open in Excel, Download a Copy, Download a Snapshot

  • Refresh Selected Connection, Refresh all Connections

  • Calculate Workbook

  • Named Item Drop-Down List

It is likely that each workbook you display using a web part could require a different combination of settings. By default, all the settings listed above are enabled, so if you don't want to use those features, you will need to update the configuration of your web part.

Navigation and Interactivity

The navigation and interactivity options allow you to configure how the users are able to navigate and interact with the workbook. The table that follows describes each of the different settings available for configuration.

OPTION

DESCRIPTION

Hyperlink

If enabled, users will be able to use hyperlinks from within the workbook. These hyperlinks could link to other locations in the workbook or other sites.

Workbook Interactivity

If disabled, users will not be able to interact with the workbook through the features described below. Disable this if you want a quick way to remove all interactivity.

Parameter Modification

If enabled, users will be able to modify the content using parameters.

Display Parameter Task Pane

If enabled, users will be able to access a parameter tool pane that allows them to easily switch between the worksheet parameters.

Sorting

If enabled, users will be able to sort ranges within the worksheet.

Filtering

If enabled, users will be able to filter various items within the worksheet.

All PivotTable Interactivity

If enabled, users will be able to expand and drill down through the pivot tables within the worksheet.

Periodically Refresh if Enabled in a Workbook

If enabled, the worksheet will refresh periodically. A notification will be present during a refresh.

Close Session Before Opening a New One

If enabled, the current workbook will be closed if a new one is opened. This setting is useful for performance considerations when many users are accessing the same workbook at the same time.

Standard Web Part Tool Pane Settings

The remainder of the configuration options are the standard web part properties. When working with Excel Services web parts, one of the most common web part settings used is located within the Appearance options. In many cases, you will want to manually configure the size of the web part so that your worksheet is displayed correctly on the page. Often the charts, tables, and graphs from the worksheet are larger than the default size of the web part, and when that occurs, scroll bars are displayed within the web part. To eliminate the need for the scroll bars, you can either shrink the content within Excel and republish the web part or you can configure the web part to be large enough so you don't need the scroll bars.

Working with Parameters

Parameters are values that are configured within the workbook that can be used to change the view of the data. An example of this is a parameter that represents the Product name. You would create and configure the parameter within the workbook. Once you have created the parameter, end users could use it to modify the display of the data within the web part. The parameters can be configured within the web part through the parameters tool pane, or they can be configured through a web part connection. In the example of a parameter based on the Product name, users could in theory select only the products that they are interested in. Once those products were selected, the Excel data would then be filtered based on the product selection.

External Data Connections

Many times within Excel, worksheet connections are made to external data sources. These connections can be used for worksheets that are published to SharePoint, as long as the connections are stored within a trusted location. If you are planning on publishing Excel worksheets that contain connections to external data sources, then you will need to work with your administrator to ensure that all of the data connections are configured correctly for use within your environment. In most cases, the connections will need to be created in a data connection file and then stored within the farm's data connection libraries.

Managing Permissions

There are two different ways to manage permissions for the content within the worksheet. The first option is to control what content is visible on the server. This is configured during the publishing process. Any objects that you haven't selected will not be visible when the worksheet is viewed from the server. Figure 16-21 shows the configuration step from the publishing process. In this Try It Out, you are choosing to publish only two of the worksheets to the server.

If you read the fine print above, you will notice that the option applies to the server view only. If users open the workbook within the Excel client, they will have access to all the content. In most cases, this is probably not the desired result. Within SharePoint there is a way to configure permissions so that even if users open the worksheet, they only have access to the published information. This is done by using the View Item permissions. Users who have the View Item permissions will only be able to open a snapshot of the spreadsheet in the client. This snapshot will only show limited information and will prevent them from seeing the content that was not shared during the publishing process. The two lists that follow outline the different types of content that will be available within the snapshot and the types of content that will be removed from the snapshot.

  • Available within a Snapshot

    • Formatting

    • Visible grid information

    • Cell values

    • Objects

      FIGURE 16-21

      Figure 16-21. FIGURE 16-21

  • Removed from a Snapshot

    • Private information

    • Conditional formatting

    • Hidden data

    • Formulas

    • Interactive data

    • Connections

    • Web-related content

CHART WEB PART

The Chart web part is a new web part that comes with SharePoint Server Enterprise. This web part can be added to any web part zone and can be configured to chart data from several different sources. When the web part is added to the page, you will have access to two different Configuration Wizards, which will walk you through the process of configuring and customizing the Chart web part. Figure 16-22 is an example of the web part that was added to the page before it has been configured. You will notice two links appear on the screen and then also in the web part drop-down menu.

FIGURE 16-22

Figure 16-22. FIGURE 16-22

This web part can be configured to create reports for several different data sources, including the following:

  • Web Part

  • Connect to a List

  • Connect to Business Data Catalog

  • Connect to Excel Services

The process for configuring the web part is a four step process. You start by connecting to the data and then move through the remaining steps. At any time in the process, you can select the desired step from the Data Connection Wizard Quick Launch to modify your configurations. An example of this wizard is shown in Figure 16-23.

FIGURE 16-23

Figure 16-23. FIGURE 16-23

Once you have the data configured, you can customize the appearance of the chart using the Customize Your Chart Wizard. Within this wizard, you will be able to select the type of chart; configure the appearance, which includes the theme, height, width, and 3D properties; and modify the chart elements, which includes the chart title, legend, gridlines, data labels, and hyperlinks. An example of this wizard is shown in Figure 16-24.

FIGURE 16-24

Figure 16-24. FIGURE 16-24

UNDERSTANDING STATUS LISTS

A status list in SharePoint 2010 is similar to the KPI list in SharePoint 2007. This list is populated with various status indicators that you create to produce a visual representation of the status of the data. Indicators can be created for several different types of data, including the following:

  • SharePoint List

  • Excel Services

  • SQL Analysis Services

  • Fixed Value based on Manual Entry

For each item in the indicator, a goal level and a warning level are configured. The indicator will be updated based on the content, and an indicator will be displayed based on the calculated value. An example of a common KPI is sales numbers. The indicator could be configured to display a red status until you reach 50% of the goal, a yellow status from 51%-74% and a green status for 75% and higher. Just by looking at the indicator you would have a good idea of how your sales numbers were tracking. Figure 16-31 shows a sample of several KPI indicators.

FIGURE 16-31

Figure 16-31. FIGURE 16-31

Figure 16-31 shows the status list, with several different indicators. In addition to the list, there are two KPI web parts that can be used to display the indicators within a web part zone. The Indicator Details web part is used to display the details for a single indicator from the list. The second web part, the Status List web part, is used when you want to display all indicators. In Figure 16-32, these two status web parts are shown.

FIGURE 16-32

Figure 16-32. FIGURE 16-32

WORKING WITH VISIO SERVICES

Visio Services is a new service application within SharePoint that allows you to interact with data from Visio diagrams. At the base level, a Visio Web Access web part is used to display the data from a published Visio diagram. The diagrams are first created in Visio and then published to SharePoint as web drawings. The Visio web part can then be added to any web part zone within the farm that is hosting the drawings. Keep in mind that, since the document is stored in SharePoint, the document will only be rendered in the web part for users who have at least View permissions for the document. Since you can point to any document within the farm, it is possible for you to render the information in many places, while still keeping a single entry point for the data.

The Visio web part supports web part connections, which allow users to interact with the published data. Some examples of possible configurations are:

  • Master/Detail: This can be used when you have a step process; the master could display steps 1-4, for example. As you select a shape in the master diagram, the detail diagram is updated to display the detailed information for that step.

  • SharePoint List: When your Visio diagram is connected to a SharePoint list, you will be able to connect the diagram to the List web part and interact with the data. When you select items within the SharePoint list, the corresponding items in the diagram will be highlighted.

The connection settings are configured within the Visio Web Access web part in the Connections menu option. As you can see from Figure 16-36, the menu option provided for configuring the connection is very straightforward and easy to understand.

FIGURE 16-36

Figure 16-36. FIGURE 16-36

The table that follows describes the different connection options available, as well as an example of when you would use that particular connection.

CONNECTION TYPE

DESCRIPTION

EXAMPLE

Send Shape Data To

Send the data for the selected shape to another web part.

When you have to show diagrams in a master/detail relationship, you would send the shape data to the Details web part so that it would know what data to display.

Get Web Drawing URL and Page Name From

This connection allows you to dynamically accept the Drawing URL and Page name.

This could be used when you had a list of drawings and you wanted users to be able to easily select a drawing from a list and have the drawing displayed.

Get Shapes to Highlight From

This connection allows you to highlight shapes in the diagram. The connection will need to have the name of the shape and the color of the highlight.

This could be used if you wanted to be able to select from a list of items and have certain ones highlighted. For example, if you had a floor plan drawing and wanted to highlight all rooms that were 6 × 8.

Get Filter Results From

This connection will filter the items in the Visio diagram based on the SharePoint list contents. This connection only works when the Visio diagram is connected to the SharePoint list and the only list that can pass the connection is the List web part of the connected list.

This would highlight values that match the filtered SharePoint list. If you look again at the floor plan example, you could have a list that contains all of your information about each of the rooms. If you filtered the list based on the fireplace option, then all rooms with fireplaces would be highlighted in your web part.

Get Shape to View From

This connection allows you to change the zoom view for a specific shape.

This would be useful, for example, if you wanted to have a list of values that, when selected, would cause a new view to display that zooms in to show all of the details.

As you can see from the table, there are many different ways you can configure and connect the web parts. In the Try It Outs that follow, you will be working through several different examples. Once you complete these Try It Outs, you should have a good understanding of how these diagrams can be connected to provide valuable, dynamic information to users.

PERFORMANCEPOINT FEATURES

In previous versions of product releases, PerformancePoint was a standalone server product for building business intelligence reports and dashboards. With the latest release of SharePoint, the PerformancePoint features have been incorporated into SharePoint, allowing users to easily create rich reports, dashboards, scorecards, and KPIs using the Reports Builder. When the farm is configured, the SharePoint administrator will complete the process for configuring the PerformancePoint service application. Once the configuration is complete, users with the appropriate permissions will be able to incorporate the PerformancePoint content into their sites.

One of the key benefits of PerformancePoint is the ability to design and build content using the Dashboard Designer. As you can see in Figure 16-40, this design environment is similar to that of other office applications and includes the Ribbon.

FIGURE 16-40

Figure 16-40. FIGURE 16-40

The Dashboard Designer can be accessed easily from any list created with the PerformancePoint content template. From within the list, the Dashboard Designer is launched whenever you create new content items. Figure 16-41 shows an example of how you would launch the dashboard.

FIGURE 16-41

Figure 16-41. FIGURE 16-41

PerformancePoint is a very large component of reporting and business intelligence, and there is no way that a small section in a single chapter will be able to do it justice. Since most of the work done to create reports using PerformancePoint is done in the PerformancePoint Dashboard Designer, it is out of the scope of a beginning SharePoint solutions book. In the list that follows are several different links that you could reference to learn more and to gather more experience on this particular topic:

  • TechNet Documentation

    Plan for PerformancePoint Services:

    http://technet.microsoft.com/en-us/library/ee681486.aspx

  • Solution Scenario Walkthrough

    Corporate Dashboards Sales Solution:

    http://technet.microsoft.com/en-us/bi/ff643005.aspx

  • Business Intelligence Resource Center:

    http://technet.microsoft.com/en-us/bi/default.aspx

GETTING STARTED

After reading this chapter, you will have been exposed to many of the different tools available to you. These are all powerful tools that, when combined, can be used to provide immediate, dynamic, and meaningful information to the users on demand. There are a few things to keep in mind, though, as you move forward with the solutions you are building. In this section, we will cover some of the things that you should be thinking about as you begin to work with these tools.

Understanding the Organization

As you begin to look at the tools available and the information you want to present to the user, it is important to also look at the user. If you have been sending out an Excel document for five years and now you want to display it on the web page, what impact will that have on your users? It is so important that you consider this. You can build the best solution ever, but if users don't understand it, then it won't provide the value that you and they need. Be sure that you talk to your users to truly understand how they are currently working with the data and then formulate a plan that will empower them to do more with SharePoint.

Walk Before You Run

Like with many things in SharePoint, insights is an area that has several levels of complexity. It is important that you understand each of these levels before you advance to the next one. This will keep you from over-customizing something when you could use the tools that are available out of the box. To get started, you could work with the tools available out of the box, such as the web parts and the KPI lists. From there you could move into working with Excel and Visio services and, finally, you could build more custom and advanced reports using the PerformancePoint Dashboard Designer. There are many different tools, and it may take some time for you to realize the best combination and configuration of tools to meet your organization's unique reporting requirements.

SUMMARY

In this chapter, we have reviewed many of the key aspects of the new insights features within SharePoint 2010. After reading this chapter, you should be familiar with and able to configure the different business intelligence components within the site, including:

  • Defining business intelligence

  • Working with Excel Services

  • Using the Chart web part

  • Working with Visio Services

  • Working with KPI features

  • Understanding PerformancePoint features

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

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