This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Sum of values displayed in a trend
#1
Good morning.

From a trend on a visualization screen, which shows the daily energy consumption, I would like to get the sum of the displayed values, depending on the selected day. Would this be possible in any way? Could I at least get the selected date and save it to an object?

Thanks for your help.
Reply
#2
This is what is possible
https://kb.logicmachine.net/libraries/trends/
You can't do it directly from a trend view but you could make some config via objects.
------------------------------
Ctrl+F5
Reply
#3
(30.07.2024, 11:02)Daniel Wrote: This is what is possible
https://kb.logicmachine.net/libraries/trends/
You can't do it directly from a trend view but you could make some config via objects.

I would need to know the date selected in the graph, in order to make the filter correctly.
Reply
#4
The server has no idea of what selection you make in trends. this is just happening in your browser.
If you switch to monthly view then you will see daily data.
If you want something write to object you must use script, ether calculate directly from object or use trend API and calculate from there.
------------------------------
Ctrl+F5
Reply


Forum Jump: