Skip to content

KPI Averaging Ignores Missing Days (UI/UX Issue) #1954

@BelhsanHmida

Description

@BelhsanHmida

Description

When calculating KPI averages over a selected date range, days without results are currently ignored.
This can lead to misleading KPI values.

Example

  • Project ran for 5 days
  • User selects 10 days
  • Only 1 day has data with 100% KPI
  • Current result: KPI = 100%
  • Missing days are not reflected in the calculation

Problem

Missing days are neither:

  • counted as 0%, nor
  • clearly distinguished as non-run days

Treating missing days as 0 is can be misleading because:

  • 0% implies the project ran and failed
  • these days actually represent non-run days

This creates confusion and can mislead users when interpreting KPI results.

Expected Behavior (UI/UX Proposal)

  • Keep the current KPI calculation logic
  • Detect when the selected KPI date range includes days with no results
  • Display a warning / toast message to inform the user

Proposed Toast Message (example)

“Some selected days have no results. KPIs are calculated only from days where the project was run.”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions