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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.