cancel
Showing results for 
Search instead for 
Did you mean: 
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

Accepted Solutions
Highlighted
tahga
Frequent Visitor

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

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

2 REPLIES 2
Community Support
Community Support

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

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.
Highlighted
tahga
Frequent Visitor

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

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

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors