Issue with Numeric Rounding in Superset #29239
aprendizlaura
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
I'm having issues that I'm not exactly sure where they're coming from, but they concern me. I think Superset is internally using numeric rounding.
Let's look at an example: In image 1, we compare the bar chart values for total A (red) and total B (purple), and in the blue line chart, we see the ratio comparing values A and B.
Already at point 0, we see something doesn't add up, as in the line chart we have a 1 (or 100%) when in reality this value should be 0.9688.
On the other hand, if we look at image 2, where I multiplied the metric of the blue line chart by 100 to avoid such small values at point 0, we went from 100 to 96.88. This value is still correct.
Does anyone have an idea why this is happening and, more importantly, how to solve it?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions