Forum Discussion
datasets.setAllConnections not working in Node SDK and CLI Tool (BUG?)
The report will not automatically update on the client side when new data becomes available. We are working on enhancements to the JavaScript SDK that will make this easier. Also - you should not have to call `setAllConnections` again. Assumming you setup your dataset as a direct query dataset then the data should be pulled on each report load as well as each intersection reqeust for new data (aka applying a filter).
mmh. Yes i am using directQuery. I don't request new data every time (aka filter). I use a slicer to filter on DateTime for example.
In my perfect world this would also update the data set. Any tip for a workaround ?
You mentioned 'on enhancements to the JavaScript SDK'. I guess you refer to the dev branch. I can't get this to work.
see
http://community.powerbi.com/t5/Developer/PowerBI-Client-2-0-beta-testing/m-p/51504#U51504
Thank you for your replies !
michael
- kobaldm10 years ago
Helper I
you are right each time i load a report, the data is refreshed.
Loading the whole iframe takes to much time und is not a solution for us.
Could you please explain what the new sdk makes different in terms of a refresh ?
We really need a way to refresh the visuals after some time automatically.
michael
- wabreza10 years ago
Microsoft Employee
This support is coming as part of the JavaScript SDK roadmap. Keep an eye out on our blog and developer portals for more information.