Key Perfomance Indicators (KPIs), by definition, are financial and non-financial metrics used to help an organization define and measure progress toward organizational goals and define the present state. History has shown that managing projects in SharePoint has long been problimatic in that it was always difficult to view project status accross multiple sites from one central location. EPM Live now offers the ability to create KPIs that are based off of rolled up project and task information. Examples include:
% of Late Tasks, Task Status, Budget Status, Issue Status, Risk Status

Keep reading to learn how you can build KPIs in your EPM Live SharePoint environment. Click here to learn more about EPM Live.
This article builds off of a previously written article that discusses how to add custom columns to your Project Center Rollup list within EPM Live. You can now create nearly any rollup KPI dashboard imaginable. Follow the guidelines below to create your KPIs within the Project Center Rollup List. The new EPM Live templates already include these indicators, so if you already have these indicators in your site but want to change the thresholds, keep reading and you will learn how and of course, if you do not have one of the new templates, this article addresses creating KPIs from scratch as well.
Example: Task Status Indicator
Indicator Requirement: Management has asked to see the percentage of late tasks for a given project in the form of a red, yellow and green indicator.
% of Late Tasks >= .20 show RED
% of Late Tasks >= .10 show YELLOW
ELSE GREEN
Given that we only want to include tasks that are still active (not 100% complete), the formula for the % of Late Tasks is:
= Active Late Tasks/All Active Tasks
Given this formula, we need to add two columns to our Project Center Rollup list; one for Late Tasks and another for All Tasks.
1. Create a new column in the Project Center list entitled “Late Tasks”.
2. Choose the “Total Rollup” column type and enter the following CAML query string in the text box:
<And><Lt><FieldRef Name=’DueDate’/><Value Type=’DateTime’><Today /></Value></Lt><Neq><FieldRef Name=’PercentComplete’/><Value Type=’Number’>1</Value></Neq></And>
Please refer to another Blog article on writing CAML queries for more info
3. Make sure to uncheck the “Show in Default View” checkbox.
4. Click the OK button when finished.
5. Click “Refresh Data” in the Project Center list menu. Doing this will crawl the appropriate sites using the query you provided in step 2. The results will be displayed in your newly created column.
Now we need to create the Active Tasks column.
6. Create a new column in the Project Center list entitled “Active Tasks”.
7. Choose the “Total Rollup” column type and enter the following CAML query string in the text box:
<Neq><FieldRef Name=’PercentComplete’/><Value Type=’Number’>1</Value></Neq>
Please refer to another Blog article on writing CAML queries for more info
8. Make sure to uncheck the “Show in Default View” checkbox.
9. Click the OK button when finished.
10. Click “Refresh Data” in the Project Center list menu. Doing this will crawl the appropriate sites using the query you provided in step 2. The results will be displayed in your newly created column.
Now we are ready to create the % of Late Tasks column that will use the two columns we just created in its formula.
11. Create a new column in the Project Center list entitled “% of Late Tasks”.
12. Choose the “Formula” column type and enter the following formula in the text box:
=IF([Active Tasks]>0,[ Late Tasks]/[ Active Tasks],0)
Note: The first IF statement in the formula above is to ensure that we do not divide by zero and cause an error.
13. Click the OK button when finished.
Finally, we will create the actual indicator column that will show the red, yellow, or green KPI.
14. Create a new column in the Project Center list entitled “Task Status”.
15. Choose the “Formula” column type and enter the following formula in the text box:
= IF([% of Late Tasks]>=20%,”RED.GIF”,IF([% of Late Tasks]>=10%,”YELLOW.GIF”,”GREEN.GIF”))
Note: The formula above outputs a string value that, in the EPM Live environment, will actually display an indicator image as opposed to the actual string. This is a custom feature that EPM Live offers and is only available in our environment or as a part of our Toolkit.
16. Click the OK button when finished.
You should now see your KPI column in the Project Center list.
