Closed SMKH-PRO closed 9 months ago
Hello, there is no such feature to persist Power BI Embedded report data in cache or memory at the moment, you can create related idea and vote for them: https://ideas.powerbi.com/ideas/
Reports can retain their state, including filters, slicers, and other data view changes by enabling persistent filters. Please follow this documentation on how to Enable persistent filters: https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/enable-persistent-filters
The powerbi.preload API is used to reduce the load time of the embedded content in Power BI when your embedded content is on a different page. Please follow this documentation for Power BI preload: https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/preload
Use bootstrap for better performance. powerbi.bootstrap allows you to start embedding before all the required parameters are available. The bootstrap API prepares and initializes the iframe. Please follow this documentation for powerbi.bootstrap: https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/bootstrap-better-performance
Powerbi reports takes quite a few seconds to load, but once this report is loaded I want persist this data (maybe in redux) so that when user comes back to this report the data is already loaded and we don't have to show the loading again or fetch the reports again, I couldn't find a way to control library's data storing technique.
How can I persist a report? so it doesn't load again and again everytime?
SAMPLE CODE: