Skip to main content
Solved

Charts: "Absolute" calculation does not work as expected


Forum|alt.badge.img+5

I’m creating a new chart “speed” by calculating the absolute values from “velocity” chart. This is one of the exersie from “Cognite Charts” training course. However,  the values generated from the “Absolute value” are not correct, for example, in the screenshot below, the vlaue of “Velocity” is -1.5074… but the value of “Speed” is 97.3128 .. instead of 1.5074...

 

Best answer by Stig Harald Gustavsen

Try and merge the units i the y-axis, and zoom closer to the datapoint, because the graph is showing on aggregates when you are trying to view a wide time-range. but Zoom closer to get the actual values datapoints, that can cause this viewing phenomena.  

View original
Did this topic help you find an answer to your question?

4 replies

Knut Vidvei
Seasoned Practitioner
Forum|alt.badge.img
  • Seasoned Practitioner
  • 132 replies
  • February 1, 2023

Hello!

This does not look right. Let me try to re-create what is happening and get back to you.

If you want, you can also contact support and we might get access to your chart to troubleshoot directly.

 

All the best, Knut Vidvei


Stig Harald Gustavsen
Seasoned
Forum|alt.badge.img

Try and merge the units i the y-axis, and zoom closer to the datapoint, because the graph is showing on aggregates when you are trying to view a wide time-range. but Zoom closer to get the actual values datapoints, that can cause this viewing phenomena.  


judekumar87
Practitioner
Forum|alt.badge.img+2
  • Practitioner
  • 11 replies
  • February 1, 2023

Hi Wei,

Yes you are correct the speed values should be equal to the velocity except speed will be positive.

To confirm I tried the same and got the result as expected as shown in the above image. Kindly check your nodes, constants being used, and the units. Also zoom into the chart to have a closer look of the values. Please follow the steps as it is in the instructions.

Let us know if it does not work.


Forum|alt.badge.img+5
  • Author
  • Seasoned
  • 6 replies
  • February 2, 2023

As suggested by @Stig Harald Gustavsen , I merged unit and zoomed in, and now the values look right. Thanks all for the help.

 


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings