Is it possible to subscribe to a table with filtering through KX Dashboards streaming data source? .u.sub can allow for filtering, and I would like to filter the subscription on KX Dashboards side too and I'm wondering what I need to change. I.e. do I need to change .u.snap, and where can I put in the filter criteria as a parameter?
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
I'm not sure if I'm on a different version of dashboards or have done something differently, but I do not get the .sub graph looking subscription option to subscribe to, instead it looks like a table. When I add a symbol for example as the parameter x, it doesn't work as expected - it instead starts returning empty schema table for a different subscribable table. I would expect this to start a subscription to just that sym.
I think there must be something i need to change in my .u.snap code perhaps? I can subscribe to the table for just a specific symbol, however the schema seems to be corrupted in the process