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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
s2joshi
Regular Visitor

Dynamic m query parameters in power bi desktop with odbc connection

Hello,

My problem is that I am trying to use an ODBC connection to connect to a Snowflake stored procedure to retrieve data from Snowflake into Power BI.
I can get the data, but the problem is that I want to use a Dynamic M Query for user interaction to allow them to select parameters dynamically.
But if I use the ODBC connection, the 'Bind to Parameter' option is not available for parameter selection, but only in DirectQuery.
I want to add dynamic parameters through an ODBC connection for a Snowflake stored procedure in Power BI. Please help.

2 REPLIES 2
s2joshi
Regular Visitor

Hello,
I can get the data when I use the Snowflake connector to retrieve data from a table or view in Snowflake to Power BI.
However, when I try to retrieve data from a stored procedure using the advanced option in the Snowflake connector, I get the
error 'Assertion failure: unknown_type_unsupported.' This happens when I attempt to call the stored procedure with a SELECT statement.
I have created the stored procedure output in table format in Snowflake, and this SELECT statement works fine in Snowflake.

Please help me call the Snowflake stored procedure with data in Power BI Desktop.

s2joshi_0-1739956437355.png

 

 

Regards,

Sharad

amitchandak
Super User
Super User

@s2joshi , Dynamic M parameter is only supported for Direct Query for limited sources.

Once we imported Data, we can use field parameters or calculation group based on need

Calculation Groups: https://youtu.be/cyWVzAQF9YU?t=53314

Field parameters: https://youtu.be/cyWVzAQF9YU?t=53967

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f
Field Parameters- Conditional Formatting
: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf
Power BI Field Parameters, Keep Axis Sort intact| Always Sort on X/Categorial Axis: https://youtu.be/GfBrB6czByw



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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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