Forum Discussion

KONERU_MAHITHA's avatar
KONERU_MAHITHA
Regular Visitor
1 year ago
Solved

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

4 Replies

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

  • v-sathmakuri's avatar
    v-sathmakuri
    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!!