Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
npvinhloc
Frequent Visitor

Power BI Report server takes very long for the first time loading

Hi,

 

I'm publishing my power bi reports (which is live connecting to SSAS) to PBIRS.

For the first time load the report in PBIRS portal, it takes 3-4 minutes which is very slow even when the amount of data in SSAS is not big.

Once reports are loaded, it appears quickly when I hit refresh.

 

Has anyone overcomes this issue before? Please help.

 

Thank you.

6 REPLIES 6
Greg_Deckler
Super User
Super User

@npvinhloc Well, could be one of two issues. One, PBIRS is not warmed up or if not that then the first time you are hitting the live connection it is pulling from the source whereas after that perhaps it is hitting cache.

Warming up SSRS? – SQLServerCentral Forums



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler 

 

I'm using SSAS + Power BI live connection, so it's might not be the cache. As once the visuals are loaded I can interact with them and performance for re-rendering those visuals is good.

 

So it could be the server is not warmed up. But when I tried with incognito browser to access the same report, it still take very long.

 

I performed steps below:

  • Open a new incognito browser, paste the report URL
    • Enter username/password to login
    • wait 3 minutes for the report to load
    • Close the browser
  • Open a new incognito browser and repeat those step again. ==> at this time, It's still slow.

 

@npvinhloc Here are some possible solutions:
Troubleshooting - Solved: Slow On-Premise Report Server Performance /powerbi... - Microsoft Fabric Community

Custom visuals - Slow Custom Visuals In Power BI Report Server | Power BI (devoworx.net)

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler 

 

The thing is, no report is opened at that time, I just go to <host>/reports; this should be the home page with list of reports and folders only.

 

Then I did a check by hitting F12 and found that it took more than 2 minutes (over 3 minutes in total) to load 2 js files for the first load.

I'm not sure those js files are statics and could be cached or it's something else from PBIRS.

 

(I'm not having good knowledges about web stuff)

Hi, @npvinhloc 

Large JavaScript (JS) files or other non-cached resources may cause slow initial load times.
Solution:
Ensure that static resources such as JS files have appropriate cache headers. Use a Content Delivery Network (CDN) or optimize network paths if PBIRS is hosted remotely.

If the service account used by PBIRS does not have the appropriate permissions or is configured incorrectly, it can cause delays.
Solution:
Ensure that the service account has the necessary permissions on both the PBIRS and SSAS servers. Verify the impersonation mode in SSAS, as incorrect settings can cause performance issues.

Start SQL Server Profiler and connect to your SSAS instance.
Start a new trace, load a report, and see which queries are running and how long they take.
Use Task Manager or Performance Monitor on the PBIRS and SSAS servers to monitor CPU, memory, and disk I/O.
Check for high usage spikes during the initial report load.
Review the PBIRS log: The PBIRS log can typically be found at C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles. Check the log for any performance-related errors or warnings.
Create a simplified version of the report with fewer visuals to see if it loads faster.
Identify complex visuals: Gradually add visuals to determine if a specific visual is causing the delay.

 

hackcrr

If I have answered your question, please mark my reply as solution and kudos to this post, thank you!

@npvinhloc Hmm. Good test. I would say that rules out PBIRS warm-up. Let me do some digging and see what I can find.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.