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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.