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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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 is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.