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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
hrafnkel11
Helper I
Helper I

Issue with Dynamic M Keyword Search Forcing Composite Model

Hi - so, I have a working Dynamic M model in which a user can enter a keyword and search for that value in a Snowflake column via DirectQuery. My issue is that since the keyword search requires me to Create Table in Power BI in order to bind the parameter, I am unable to convert this to a DirectQuery report (currently it's Mixed/Composite). The reason why I want to do this is so that I can update the "Max Parallelism Per Query" value to potentially increase performance, which I believe requires a DirectQuery model.

 

Is there any way to bind a user-entered parameter to a table in Power BI WITHOUT forcing the model to be Composite?

 

This is the table to which the parameter is bound:

hrafnkel11_0-1724161576461.png

 

This is how the user searches the column in Snowflake:

hrafnkel11_1-1724161641218.png

 

 

1 ACCEPTED SOLUTION
v-jialongy-msft
Community Support
Community Support

Hi @hrafnkel11 

You can use dynamic M parameters to bind user-entered parameters directly to your queries. This approach allows you to keep the model in DirectQuery mode. However, it requires that all possible values for the parameter be enumerated ahead of time.
Unlock the power of dynamic parameter binding for ... - Microsoft Fabric Community

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-jialongy-msft
Community Support
Community Support

Hi @hrafnkel11 

You can use dynamic M parameters to bind user-entered parameters directly to your queries. This approach allows you to keep the model in DirectQuery mode. However, it requires that all possible values for the parameter be enumerated ahead of time.
Unlock the power of dynamic parameter binding for ... - Microsoft Fabric Community

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you! Unfortunately, this use case currently requires an open ended search from the user. It's possible once we collect some data on frequent keywords searched, we'll be able to create a dictionary that can be referenced, but until then it sounds like we'll be stuck with a composite model.

hrafnkel11
Helper I
Helper I

I guess a follow up question (which may be my answer)...is the below setting effectively doing the same thing as setting "Max Parallelism Per Query" in tabular editor?

 

hrafnkel11_0-1724162131642.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.