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
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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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