The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Dear Team,
We have implemented one functionality in React Native application to show Power BI report inside React Native web view for which we have implemented the server side logic to return the embedded URL through power bi client in server side and we are successfully able to lead the report in React Native web view but we are getting 5-6 seconds of delay to load the complete report in Web view which impact the user experience. Please find the below code for your reference-
Solved! Go to Solution.
Hi, @Anonymous
Regarding the issue you raised, my solution is as follows:
1.Firstly, besides disabling the filterPane and navContentPane, you might consider disabling other unnecessary settings:
For instance,If the bookmark feature is not required, you can disable bookmarks.
settings: {
bookmarksPaneEnabled: false,
}
If there are page-level visual objects in the report, consider disabling these objects or reducing their number.
2.Secondly, if possible, try preloading some data before the user requests the report. This can reduce the waiting time for users. Here are some relevant documents that might be helpful:
rel=preload - HTML: HyperText Markup Language | MDN (mozilla.org)
How To Use Preload and Prefetch in HTML to Load Assets | DigitalOcean
3.Next, checking server performance, optimising database queries, and using caching are key steps to enhance application performance. Here are some relevant documents that might be helpful:
4.Finally, use asynchronous loading techniques and fetch for API calls.
Asynchronous JavaScript - Learn web development | MDN (mozilla.org)
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Regarding the issue you raised, my solution is as follows:
1.Firstly, besides disabling the filterPane and navContentPane, you might consider disabling other unnecessary settings:
For instance,If the bookmark feature is not required, you can disable bookmarks.
settings: {
bookmarksPaneEnabled: false,
}
If there are page-level visual objects in the report, consider disabling these objects or reducing their number.
2.Secondly, if possible, try preloading some data before the user requests the report. This can reduce the waiting time for users. Here are some relevant documents that might be helpful:
rel=preload - HTML: HyperText Markup Language | MDN (mozilla.org)
How To Use Preload and Prefetch in HTML to Load Assets | DigitalOcean
3.Next, checking server performance, optimising database queries, and using caching are key steps to enhance application performance. Here are some relevant documents that might be helpful:
4.Finally, use asynchronous loading techniques and fetch for API calls.
Asynchronous JavaScript - Learn web development | MDN (mozilla.org)
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.