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
Ellenwan
New Member

M query dynamic parameter-new

Hi,

I have premium license with June 2024 desktop version. I only created a new parameter, a table with one column which included possible value in the parameter. however, I still can't find Binding to parameter for the field in the table property advanced. Have this issue been resolved? I have removed all possible factors that may have impact on having this feature.

 

thanks

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

You are mixing two separate concepts.  Unfortunately they are both called "Parameters",  but the one you created is called "Field Parameter"  and is only valid inside of DAX.  What you need is a Power Query Parameter that you then need to include in your Power Query code, and bind to a column in the data model.

View solution in original post

v-junyant-msft
Community Support
Community Support

Hi @Ellenwan ,

@lbendlin ,Thank you for the detailed explanation!
And @Ellenwan , You can refer to this document for the implementation steps:
Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

There are also a couple of points I need to add:
The Dynamic M query parameter is only available in DirectQuery mode, not Import or Live Connection.
The Dynamic M query parameter also has a number of limitations that may prevent you from succeeding if your data or operation involves these limitations:
Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn


Best Regards,
Dino Tao
If this post helps, then please consider Accept both of the answers as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-junyant-msft
Community Support
Community Support

Hi @Ellenwan ,

@lbendlin ,Thank you for the detailed explanation!
And @Ellenwan , You can refer to this document for the implementation steps:
Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

There are also a couple of points I need to add:
The Dynamic M query parameter is only available in DirectQuery mode, not Import or Live Connection.
The Dynamic M query parameter also has a number of limitations that may prevent you from succeeding if your data or operation involves these limitations:
Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn


Best Regards,
Dino Tao
If this post helps, then please consider Accept both of the answers as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

You are mixing two separate concepts.  Unfortunately they are both called "Parameters",  but the one you created is called "Field Parameter"  and is only valid inside of DAX.  What you need is a Power Query Parameter that you then need to include in your Power Query code, and bind to a column in the data model.

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!

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.