cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
tahga Frequent Visitor
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
tahga Frequent Visitor
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 Team
Community Support Team

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.
tahga Frequent Visitor
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
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors