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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
RajCZ
Frequent Visitor

Calling snowflake stored procedure from Power Bi desktop

Hi,

Just wondering if we can call Snowflake stored procedure from Power bi desktop/service .

I am trying to write below inside SQL statement window

Call SP_SnowflakeSP( parameters);

but it's not working

If I replace above by select * from <any  snowflake table? it works.

Error I am getting is 

Unexpeced 'Call'.

Thanks

2 REPLIES 2
сакиб
New Member

Hi @RajCZ

 

You can now issue a SELECT FROM Stored Procedures as following:

 

SELECT * FROM TABLE(SP_SnowflakeSP( parameters))

 


More info:
https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-selecting-from

Anonymous
Not applicable

Hi @RajCZ 

You can consider to write it in Power query, use Value.NativeQuery() funciton. you can refer to the following link.

powerbi - How do you execute a SnowFlake Stored Procedure in Power BI? - Stack Overflow

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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