March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
I'm querying two different databases across two different SQL Servers in direct query mode. When doing so in the Power BI Desktop app I see no indication that my report is running slow. However, when I publish to the Power BI Service the refresh times become very slow and eventually all the visuals stop working.
The two servers are accessed using two different gateways. Does this only work in the desktop Power BI app? If not, why am I having so many more problems in the web-version of my report? I should mention I am only grabbing a single row (the latest row) from each table so I don't think the queries themselves should be an issue.
Solved! Go to Solution.
You will probably need to investigatge the network performance between the service, your gateway, and then your servers. The service doesn't perform better or worse than the desktop. it performs differently as it isn't behind your firewall, and it has to use a gateway, something Power BI Desktop doesn't need. An improperly configured machine hosting a gateway can lead to bad performance. Monitor and optimize on-premises data gateway performance | Microsoft Learn can give you more info on what to investigate there.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingYou will probably need to investigatge the network performance between the service, your gateway, and then your servers. The service doesn't perform better or worse than the desktop. it performs differently as it isn't behind your firewall, and it has to use a gateway, something Power BI Desktop doesn't need. An improperly configured machine hosting a gateway can lead to bad performance. Monitor and optimize on-premises data gateway performance | Microsoft Learn can give you more info on what to investigate there.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThat makes sense, but just to be clear connecting to multiple servers/databases with direct query should not cause an issue.
Well, true. That should not cause an issue. But understand that DQ performs in order of magnitudes worse than import models. So it is never going to be snappy compared to what the built in vertipaq engine can do.
Think of using a cached system or an uncached system. DQ is uncached.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
39 | |
26 | |
15 | |
11 | |
10 |
User | Count |
---|---|
58 | |
51 | |
23 | |
14 | |
11 |