codbex / codbex-olympus

Enterprise Resource Planing
Eclipse Public License 2.0
0 stars 0 forks source link

[Jason] Calculation of percentage of success #133

Open bob4o-afk opened 1 month ago

bob4o-afk commented 1 month ago

In a project, there are many values ​​that are calculated based on how work is done, one of which, for example, is the success rate To add widgets that represent it

bob4o-afk commented 3 weeks ago

Success Rate Calculations and Widget Filtering Guide

Step-by-Step Explanation

1. Initial Setup

2. Filtering Mechanism

Users can filter tasks by project and deliverable via dropdown menus. Here’s how filtering works:

3. Success Rate Calculation

The success rate is recalculated every time the user selects a new deliverable:

  1. Total Tasks: Counts all tasks related to the selected deliverable.

  2. Completed Tasks: Counts tasks marked as "Done" for the selected deliverable.

  3. Formula: The success rate is calculated using this formula:

    Success Rate = (Completed Tasks / Total Tasks) * 100
  4. Non-Success Percentage: Calculated as 100 - Success Rate, this percentage represents tasks that are not yet complete.

4. Updating the Doughnut Chart

A doughnut chart provides a visual display of the success rate for the selected deliverable. The chart includes:

Each time the success rate is calculated, the doughnut chart updates dynamically to reflect the new values.

5. Workflow for Widget Filtering and Success Rate Visualization

To use this functionality:

  1. Select a Project: This loads deliverables associated with the selected project.
  2. Select a Deliverable: This filters tasks associated with that deliverable and recalculates the success rate.
  3. View Success Rate: The doughnut chart updates to show the success and non-success percentages for the selected deliverable.

Image