Step 3: Preparing and Publishing the Chart to Excel Services

Continuing with my previous post, once we have the milestone chart, we need to publish it to Excel Services.

To start with, Name the Parameter you want the report to use. In our case, it is the Project UID.

  • Select the cell, which indicates the values for the filter for Project UID.

image

  • Click on Formulas >> Define Name and define a name for the parameter

image

  • Once the Name is set, then click on File >> “Publish to Excel Services” and select the options as shown below.

image
image

This will set Project UID as the parameter for the Excel Services Report. Initially since ALL projects are selected, this report will show ALL milestones from all projects.

Step 4: Add this report to the appropriate PDP and make sure the context filters are set

Now that we have the Excel Services Report, we are ready to use it on our Project Details Pages.

I will use the Schedule PDP to add this report.

  • Navigate to Server Settings >> Project Detail Pages >> Schedule
  • Once in the PDP, click on Site Actions >> Edit Page

We will Insert 2 Web parts on this page:

  1. Query String Filter Web Part
  2. Excel Web Access Web Part

Once these two are added to the page, set the options for the Excel Web Access Web part as shown below. You could also modify the Appearance Settings to make sure the web part fits well on your screen.

image image
For the Query String Web part, set the web part options as below. Please pay special attention to the Advanced Filter Options.
image
Once these web parts are set, you will need to connect them.

Step 5: Connect the Web parts

From the Query String Web part options, select Connections >> Send Filter Values to
image
and select the Filtered Parameter as ProjUID (that we set earlier).
image

That’s it. Stop editing the page, and your view should now work for each project on an individual basis.

Navigate to the project Center and view the schedule PDP, and it show the milestones for that project.

The View should Refresh with updates on your project (Although I noticed slight elay with EXcel Services Refresh)

image

Obviously, this report could be enhanced per your needs, and more filters could be added as necessary.

Leave any comments you have. Hope you will find this useful.