Forum Discussion
Anonymous
2 years agoNot applicable
Custom Date Slicer noting working on initial load when hidden with bookmark
Hi, I created a cusotmer date slicer with React. It works well and I implemented bookmark capability so when I hid the slicer it will save the filter and apply when it is unhidden again. Thi...
dm-p
2 years agoSuper User
Hi Anonymous,
If you have hidden a visual on the page, Power BI doesn't load it until it is needed, i.e., it is lazy-loaded. The visual must be visible on the page to have any filters it sends to Power BI applied. If the visual is inactive/visible, Power BI does not acknowledge any filter from it, nor will it restore any filter to it (as it doesn't exist on the page at that moment).
Regards,
Daniel
Anonymous
2 years agoNot applicable
Thanks dm-p for your response, that was my fear. Would it possible to listen for the report load even and filter the data while the visual is hidden?
Or maybe I can "hide" my slicer in my React component behind a button and only show the slicer when the button is clicked?