Forum Discussion

Usustudent's avatar
Usustudent
Regular Visitor
7 months ago
Solved

Power BI Service Refresh Suddenly Slow / Timing Out on Pro, Desktop Fast

 

Hi all,

I’m seeing a strange refresh issue on Power BI Pro with a single on-prem gateway.

Setup:

Same dataset and tables, no model changes

SQL Server data source

Gateway diagnostics pass (36/36)

Behavior:

Yesterday: Service refresh ~2 min

Today: Service refresh 2+ hours, sometimes timed out

Desktop refresh still ~2 min

Errors observed:

DM_GWPipeline_Gateway_SpooledOperationMissing

DM_GWPipeline_Gateway_TimeoutError

DM_GWPipeline_Gateway_GatewayOutOfDiskSpaceError (fixed by increasing disk space)

Notes:

Fresh gateway install and connections did not help same issu

 

Has anyone seen similar behavior where Service refresh is extremely slow but Desktop refresh is fine despite a healthy gateway? Any tips to troubleshoot?

  • Hi Anjan,

     

    Thank you for checking in. The issue resolved itself after about two days, and all my reports are now refreshing as expected. No support ticket was raised.

9 Replies

  • Hii Usustudent 

     

    This usually happens due to gateway resource constraints in Power BI Service, not a dataset issue. Desktop refresh runs locally with more memory and less parallelism, while Service refresh uses the on-prem gateway, runs tables in parallel, and is more memory-restricted. The errors you’re seeing (spooling, timeouts, disk usage) indicate the gateway is under memory or disk pressure, causing heavy disk spooling and long retries. Common fixes are increasing gateway RAM, ensuring fast disk and sufficient free space for temp/spool folders, reducing parallel load, and scheduling refresh during off-peak SQL hours.

    • Usustudent's avatar
      Usustudent
      Regular Visitor

      Increased memory and disk space. Still the same issue

       

      Is this causing the problem:

      WARNING: Name resolution of analysis.windows.net failed ComputerName : analysis.windows.net RemoteAddress : InterfaceAlias : SourceAddress : PingSucceeded : False

  • Hi Usustudent ,

    Since you already did a fresh gateway install and it did not resolve the issue, you may try fixing the data source name uniqueness. Try replacing the server details in pbix file with ip address. This will fix just in case if there is any confusion with 2 database and server name that looks identical to gateway. You can also try renaming your test db and check.

    Please check this post someone has tried to resolve this issue.

    https://community.fabric.microsoft.com/t5/Service/Scheduler-Failed-Running-DM-GWPipeline-Gateway/td-p/1031398

    And hopefully the authentication mechanism followed is same in desktop and gateway.

    How to change the source name with IP or new name or alias name. 

    File → Options and settings → Data source settings->Change Data Source

     

    Once we change the details, we must clear permission, clear cache, refresh and re-authenticate.

     

    Hope this resolves your issue. 

     

    Thanks,

    Pallavi

  • What to check after looking the error:

    1) Gateway temp directory

    • Check where Microsoft.PowerBI.EnterpriseGateway.exe is writing temp files

    • Make sure it’s on:

      • fast local SSD

      • not a network drive

      • not a system disk under pressure

     

    2) Disk I/O during refresh

    • Monitor:

      • Disk queue length

      • Read/write latency

    • If disk spikes during refresh → that’s your bottleneck

    • Usustudent's avatar
      Usustudent
      Regular Visitor

      Tried your solution. Same issue 

       

      Is this causing the problem:

      WARNING: Name resolution of analysis.windows.net failed ComputerName : analysis.windows.net RemoteAddress : InterfaceAlias : SourceAddress : PingSucceeded : False

  • v-achippa's avatar
    v-achippa
    Icon for Community Support rankCommunity Support

    Hi Usustudent,

     

    Thank you for reaching out to Microsoft Fabric Community.

     

    Thank you rohit1991pallavi_r and cengizhanarslan for the prompt response. 

     

    Based on the issue here all the configuration level mitigations have already been tried. Since the dataset refreshes successfully and quickly in the desktop but times out in the service, looks like this is a power bi service refresh pipeline issue where the operations are failing server side. Desktop refresh does not use this pipeline that is why it continues to complete.

    Please raise a support ticket so the backend refresh logs for your tenant and region can be reviewed by the service team. To raise a support ticket, kindly follow the steps outlined in the following guide:

    Create a Fabric and Power BI Support Ticket - Power BI | Microsoft Learn

     

    Thanks and regards,

    Anjan Kumar Chippa

    • v-achippa's avatar
      v-achippa
      Icon for Community Support rankCommunity Support

      Hi @Usustudent,

       

      As we haven’t heard back from you, we wanted to kindly follow up to check if your issue is resolved or have you raised the support ticket?

       

      Thanks and regards,

      Anjan Kumar Chippa

      • Usustudent's avatar
        Usustudent
        Regular Visitor

        Hi Anjan,

         

        Thank you for checking in. The issue resolved itself after about two days, and all my reports are now refreshing as expected. No support ticket was raised.