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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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