Reload Visual When filtering
Closed this issue · 4 comments
What package are you referring to?
Alpha 5
Describe the bug
Trying Alpha 5 release, I noticed that loading is much faster than before (batch loading). Great Improvement!! Thanks
But when I filter data, it is like those elements are removed from the 3D visual, and when I undo the filter, It start loading again (for those filtered elements). I think normal behavior should be to "Gray Out" filtered elements from visualization, so you don't have to fetch elements again. (Just fetch the first time you open Power BI).
Best Regards
To Reproduce
Try filtering data in any project
Screenshots
hey @gjordanp!
Sadly, not sure we can have any control over this. When you filter data in PowerBI, those data objects are actually removed from the input of the viewer, so the viewer is no longer receiving them.
There is technically no difference, with regards to PowerBI, between swapping the data input for a completely different one, or just filtering 2 objects out of 5000.
PowerBI will consider this a "data change" event, and will provide the full list of objects that are connected.
The viewer has no knowledge of what filters are active at any given time, so we can't really use ghosting in this particular case, as the objects are not really passed to the viewer in the first place.
I agree this would be rather nice, but not sure what can be done about it with the current PowerBI API.
Hi @gjordanp! Just letting you know that this has been fixed and will be included in the next release ;)
We've changed the way the visual loads the objects in favor of loading the original commit object (which contains everything), so now filtering should be super fast too!
Nice, this will be a significant improvement.
Thanks a lot!
Closing this for now! If you find any loading issues when filtering now, feel free to reopen :)