Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'm using the streaming data API and have come across an annoyance. Some data sources are report-by-exception, in that they only send new data when the data changes.
Unfortunately, it seems that the streaming data API assumes that if you don't include a channel, it's null.
Ie, I have four channels set up - three temperatures and a date-stamp.
[{
"Temp 1": "23",
"Temp 2": "34",
"Temp 3": "42",
"Date": <valid datestamp>
}]
When I send that JSON, everything appears on live dashboards and reports.
If I send the following...
[{
"Temp 2": "22",
"Temp 3": "33",
"Date": <valid datestamp>
}]
Then Temp 1 is marked as empty/null.
I understand why it works the way it does, but is there any option or facility anywhere to forward-fill missing data rather than setting it to null? Not all of our data points may update at the same rate, and we'd like to reduce traffic as much as possible by sending consolidated, minimised HTTP messages - re-sending old data seems quite a waste.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.