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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
KONERU_MAHITHA
Regular Visitor

ERROR ADBC: InternalError [] [Snowflake] 002031 (42601): SQL compilation error: Unsupported subquery

Hello Powerbi Community,

 

I am getting this error from a sql view that has no issues in snowflake but is throwing this error when i load the sql view in powerbi...can anyone help what could i be doing wrong ....

 

 

The path is as follows: Get Data -> Connect to Snowflake and add a small query in advanced options and it throws below error from this sql view.

 

ADBC: InternalError [] [Snowflake] 002031 (42601): SQL compilation error:
Unsupported subquery type cannot be evaluated"

 

 

Can anyone please help ...thank you

1 ACCEPTED SOLUTION

4 REPLIES 4
v-sathmakuri
Community Support
Community Support

Hi @KONERU_MAHITHA ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @lbendlin for the prompt response.

 

Some subqueries are not supported in DirectQuery mode, so consider switching to Import mode. If the issue still persists while loading the view into Power BI, try creating a simplified version of the view and load it into Power BI using Snowflake as the source. If the simplified view loads successfully, the problem likely lies within the original view's complexity.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks & Regards,

Rekha,

Customer Support Team!!

 

 

lbendlin
Super User
Super User

Do you have the same issue with the legacy Snowflake connector?

It looks like it's only an issue with one particular column. But the column is totally fine in snowflake. Legacy connector was fine as well. It started the issue just recently.

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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