Forum Discussion
TePe
10 years agoHelper IV
Last value from a stream
Hi, how is it possible to get just the last value from a stream? I see the data coming in but I can only calculate a sum, max, average etc. but there's no "last value"... Thanks, Thoma...
TePe
10 years agoHelper IV
Hi,
no, it wasn't solved, yet. I got some feedback like "you just need to use some Rest API calls" but that's not what I expected...
Thomas
bjagpal
9 years agoFrequent Visitor
This is how I was able to retrieve the last data value:
1) I created a line graph in a report that plots VALUE over TIMECREATED
2) I pinned that report to my dashboard.
3) I then posed a question of my data similar to: "value over timecreated last X minutes". (X = data refresh time).
This will give you the value of the data during the last refresh period, which should be equal to the last received value. If you click on visualizations amd select "card", it should provide you with a nice display that shows the last value. You can pin this card to your dashboard.
I hope this makes sense.
1) I created a line graph in a report that plots VALUE over TIMECREATED
2) I pinned that report to my dashboard.
3) I then posed a question of my data similar to: "value over timecreated last X minutes". (X = data refresh time).
This will give you the value of the data during the last refresh period, which should be equal to the last received value. If you click on visualizations amd select "card", it should provide you with a nice display that shows the last value. You can pin this card to your dashboard.
I hope this makes sense.