Forum Discussion
pieduke88
2 years agoFrequent Visitor
Optimise update rendering only for new data
From https://learn.microsoft.com/en-us/power-bi/developer/visuals/performance-tips
"Store the data view passed on update. Render only the data points that are different from the previous data view. If they haven't changed, there's no need to rerender them."
How can I do that in an efficient way? I have a set of category/values being passed on update and want to only re-render my visual when necessary or for the elements that have changed. Thanks!
1 Reply
- lbendlinSuper User
That depends on your data. For example if you have an IOT sensor as a data source you can drop the first item in the array, add the new item to the array, shift your rendered image one tick to the left and then just render the new data point.