Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
10 | |
7 | |
4 | |
4 | |
4 |