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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Unable to use snowflake variables while using Snowflake connector in Power BI

While copying snowflake query to Power BI with the help of snowflake connector gives error

deshwalnik_0-1695358663009.png

Error

deshwalnik_1-1695358778790.png

If I remove semicolon from variables gives me below error

deshwalnik_2-1695358863597.png

Have anyone faced this before? or any solution known to resolve this case?

 

 

1 REPLY 1
cpwebb
Microsoft Employee
Microsoft Employee

It's likely to be this: https://blog.crossjoin.co.uk/2022/03/06/why-not-all-sql-queries-can-be-used-as-a-source-in-power-bi-...

If you can't use the query as a subquery, it won't work.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.