Home › Forums › KX Academy › Dashboard streaming analytics filtering › Reply To: Dashboard streaming analytics filtering
-
Hi,
Hopefully I can help answer your question below here:
1. Overview of Streaming
This is a very useful video about how Streaming queries are set up : KX Dashboards | Streaming Data – YouTube
2. Demo Streaming with Filtering
If you have KX Dashboards installed (https://code.kx.com/dashboards/gettingstarted/)
Then navigate to the “Demo Stream” Dashboard, there is a build in example where we pass in a parameter to the streaming model that filters the returning data set .
Therefore:
1. On load – we subscribe to the using the default filter
2. If we change the viewstate, we then unsubscribe and the re-subscribe using the new filter