Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I'm running into an error when I try to refresh the data in Power BI desktop. The backend connection is to data in Snowflake. When I try to refresh, it gives me the error of:
Queries are blocked because of the following error ... and gives me a dimension table with some more info.
Interestingly if I cancel out, and try the refresh again it works on the third try. Any ideas on why this might be happening?
Thanks,
Kris K
Solved! Go to Solution.
Hi @KrisKolady ,
This issue might be caused by a few factors. Here are some potential reasons and steps to resolve the problem:
Test in Power BI Service:
Publish the report to the Power BI Service and try refreshing it there. This helps determine if the issue is local to Power BI Desktop or something server-related. If the issue persists in the Service, you may want to raise a ticket with Snowflake
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Hi @KrisKolady
Disclaimer: I haven’t worked directly with Snowflake, but I assume it functions similarly to SQL and other databases. Based on my experience with similar scenarios, here’s what I would recommend:
Use Views in Snowflake:
Instead of performing the filtering and merging in Power BI, I’d suggest creating Views in Snowflake. This ensures the data is pre-processed (e.g., filtered and joined) before it reaches Power BI, reducing the data load and improving performance.
Minimize Data Size Before Importing:
Simplify Power Query Steps:
Optimize Merging Logic:
Test with Smaller Subsets of Data:
Evaluate Power BI Settings:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Thanks @ritaf1983 - Any tutorial on #2? I typically do a "Refresh All" in PowerBI desktop. You are correct that I'm merging between tables and there is dependency on how the tables are loaded. Or is that not best practise.
What I'm doing is filtering out records in the dimension table that are not used in the fact table by merging. This seems to reduce the model size considerably and improves performance. Is there a best practise around this.
Thanks,
KrisK
Hi @KrisKolady
Disclaimer: I haven’t worked directly with Snowflake, but I assume it functions similarly to SQL and other databases. Based on my experience with similar scenarios, here’s what I would recommend:
Use Views in Snowflake:
Instead of performing the filtering and merging in Power BI, I’d suggest creating Views in Snowflake. This ensures the data is pre-processed (e.g., filtered and joined) before it reaches Power BI, reducing the data load and improving performance.
Minimize Data Size Before Importing:
Simplify Power Query Steps:
Optimize Merging Logic:
Test with Smaller Subsets of Data:
Evaluate Power BI Settings:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Thanks Ritaf1983 for the details. Appreciate the time taken to provide the response in detail.
KrisK
Hi @KrisKolady ,
This issue might be caused by a few factors. Here are some potential reasons and steps to resolve the problem:
Test in Power BI Service:
Publish the report to the Power BI Service and try refreshing it there. This helps determine if the issue is local to Power BI Desktop or something server-related. If the issue persists in the Service, you may want to raise a ticket with Snowflake
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
85 | |
66 | |
52 | |
47 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |