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

Get Fabric Certified for FREE during Fabric Data Days. 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.