Skip to content

[BUG] Analytics of Feedback: "Average NPS" calculation is incorrect despite correct source data #805

Description

@ketlyiouriev

Bug description:
The Average NPS value displayed in feedback analytics is incorrect, even though the underlying source data and related calculations appear to be correct.
The NPS value should be calculated as: Satisfied (%) − Dissatisfied (%). Both the Satisfied (%) and Dissatisfied (%) values are displayed correctly, but the resulting Average NPS does not match the expected calculation.

Expected behavior:
The Average NPS value should equal the difference between Satisfied (%) and Dissatisfied (%).

Additional information:
Since the source data and all other related calculations appear to be correct, the issue seems to be isolated to the Average NPS calculation. The underlying calculation logic should be investigated.
This issue was initially reported by customer. I was unable to reproduce it using the same data, but I observed the same incorrect calculation when selecting February as the reporting period.

Screenshots:

image that the client sent:
Image

reproducible in TEST ENVIRONMENT when February is the selected period:
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv3.3

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions