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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
tahga
Frequent Visitor

Snowflake DirectQuery incredibly slow on Power BI Desktop, yet works fine in Power BI Service

It is near impossible at the moment to develop direct query reports on Snowflake with Power BI Desktop. I'm running the latest version of Power BI Desktop (9/2019) and Snowflake ODBC driver (2.19.14.00). Visuals take ages to load, refresh is stuck on "Evaluating..." and "Waiting for other queries..." for tens of minutes. I searched for similar issues in the past and tried all the suggested resolutions, e.g.

  • Clearing PBI Desktop cache & rebooting
  • Playing with the data load settings:kuva.PNG
  • Updating the Snowflake ODBC driver and reducing logging settings from regedit.

None of these seem to work. We also tested with a colleague's computer with the same results. The query logs from Snowflake show that Power BI does run queries into Snowflake and those are completed in seconds.

The strange thing is that, once you wait it out and manage to develop and publish a direct query report into Power BI Service, it works fine with the gateway and the same ODBC driver. So this seems to be a Power BI Desktop specific issue.

1 ACCEPTED SOLUTION

Thanks for your response @v-diye-msft. I actually had it enabled at first and just tried disabling all the options.

Turns out the slowness was caused by these automatically added parameters in Power Query:

[CreateNavigationProperties=null, ConnectionTimeout=null, CommandTimeout=null]

After removing these, the performance is back to normal.

View solution in original post

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @tahga 

Make sure you enable parallel loading tables.

Capture.PNG

And verify your Power Query to see if there's any Query Fold issue.

 

Not Folding; the Black Hole of Power Query Performance

 

If there's no issue on the query, please fetch the Fiddler Trace and create a support ticket for deep analysis. 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Thanks for your response @v-diye-msft. I actually had it enabled at first and just tried disabling all the options.

Turns out the slowness was caused by these automatically added parameters in Power Query:

[CreateNavigationProperties=null, ConnectionTimeout=null, CommandTimeout=null]

After removing these, the performance is back to normal.

I went into the advanced editor and I don't see those paramters. I don't see them under parameters either. I also have the Parallel loading of tables enabled.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.