# Feature SPAR-251 - Calculate a % Complete sum for simple average mode

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-251

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 16.3.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Progress and work estimates |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Build Number |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Christophe Bliard |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Context**

In 15.5, we introduced the ability to show also show sums for the **% Complete** column in a work package table. However, because the sum is calculated based on the sums for Work and Remaining work, the % Complete sum is incorrect when only *some* of the work packages in a view contain those two other values. This can be the case when progress calculation is Status-based or in Work-based, but in simple averages mode (where Work and Remaining work are optional).

**Acceptance criteria**

  - Ensure % Complete sums are properly calculated when work packages don't have Work and Remaining work
    
      - This can be the case when progress calculation is Status-based or in Work-based, but in simple averages mode (where Work and Remaining work are optional)

**Technical notes**

  - 
    <br>

**Permissions and visibility considerations**

  - *No changes*

**Translation considerations**

  - *-*

**Out of scope**

  - 
    <br>
