This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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.
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.
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.
@Sunil_svk , refer if this blog can help
https://www.biinsight.com/power-bi-desktop-query-parameters-part-1/
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 48 | |
| 33 | |
| 24 | |
| 24 |