[BUG]: KPI vs Time % Increase Incorrect when previous number is negative #347
Labels
🐛 bug
Something isn't working
🕚 status: awaiting-development
This issue is waiting for development to start
SDK Version
1.7.2
Client Framework
HTML/JavaScript
Server Platform
None
Operating System
Linux
Description
When the previous number is negative the KPI vs Time graphic displays an incorrect value for the % increase. It calculates the correct value, but the sign is flipped.
The calculation should be: (New Value - Original Value) / |Original Value|
I believe the absolute is just missing.
The text was updated successfully, but these errors were encountered: