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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Sunil_svk
Frequent Visitor

Snow Flake Connector - Power Query Editor

Hi,

am extracting the data using snowflake connector. below is the code.

 

i would like to fetch data by passing few parameters. Ex: extaction of data for a specific year i.e., 2020 (year is a paramter).

let
    Source = Snowflake.Databases("XXX.snowflakecomputing.com", "&Warehouse&", [CreateNavigationProperties=null, ConnectionTimeout=null, CommandTimeout=null]),
    PRT_DEV_Database = Source{[Name="PRT_DEV",Kind="Database"]}[Data],
    DWH_Schema = PRT_DEV_Database{[Name="DWH",Kind="Schema"]}[Data],
    DIM_MONTH_Table = DWH_Schema{[Name="DIM_MONTH",Kind="Table"]}[Data]
in
    DIM_MONTH_Table

 

Suggest the modifications in code.

4 REPLIES 4
v-yingjl
Community Support
Community Support

Hi @Sunil_svk ,

It has been listed in the future feature:

Snowflake connector enhancements for Power Query Desktop 

The Snowflake connector will add support for custom roles and native queries. This will allow users to have much greater specificity in returning the desired data.

12.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Sunil_svk , refer if this blog can help

https://www.biinsight.com/power-bi-desktop-query-parameters-part-1/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit

 

Thanks for the quick response.

 

Passing parameters is available for SQL Server.

 

Our datasource is Snowflake and we cannot pass parameters from UI. Could you pls suggest if there is any workaround in Advance editor to filter the required parameterized records

@Sunil_svk , I checked this list. Snowflake is not there. I doubt you can pass.

https://docs.microsoft.com/en-us/power-query/native-database-query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors