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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
pragya27
Regular Visitor

Binding Date parameters

Hi,

 

I am trying to bind date parameter, but Unfortunately bind to parameter option is not visible.

Following the reference document - https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

 

pragya27_0-1745335459002.png

 

pragya27_2-1745335515081.png

 

Please let me know if I am doing anything wrong.

 

Regards,

Pragya S

 

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

that will only work for columns that are part of a Direct Query data source. Yours likely is in Import mode.

View solution in original post

You need to bind the controlled field that is part of the direct query data source, not the controlling slicer column.

View solution in original post

10 REPLIES 10
v-nmadadi-msft
Community Support
Community Support

Hi @pragya27 

Just checking in have you managed to resolve this issue? If so, kindly consider marking the helpful reply as the accepted solution. This helps other community members facing similar challenges find answers more quickly.

Thank you!

pragya27
Regular Visitor

Hi, Yes Mine is import mode and I have created Calendar table as mentioned in the document Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn. And as per steps mentioned I can see this StartDate is binded to Date Parameter.

StartDateTable = CALENDAR (DATE(2016,1,1), DATE(2016,12,31))

 

I followed the same steps.Please let me know if we can follow this documentation or if anything is wrong over there. 

Hi @pragya27 ,

At the moment, there are no known issues with the documentation, and no other users have reported similar concerns in the forum. Please try replicating the same steps in a new PBIX file to see if you're able to bind the parameter successfully.

If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards

v-nmadadi-msft
Community Support
Community Support

Hi @pragya27 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Thanks 

v-nmadadi-msft
Community Support
Community Support

Hi @pragya27 ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @pragya27 ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

v-nmadadi-msft
Community Support
Community Support

Hi @pragya27,
Thanks for reaching out to the Microsoft fabric community forum.

Other than the valuable point mentioned by @lbendlin , Please check if the column data type is matching with the M parameter data type.

Additionally please check out this limitation of Dynamic M query parameter: 

  • If your parameter is the Date/Time data type, you need to cast it within the M query as DateTime.Date(<YourDateParameter>).

Source: 6th point Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn




If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards

Yes Both the parameters are of same data type.

But column is a part of import mode.

I followed Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn and tried to implement the same.

As per this blog, table has been created using StartDateTable = CALENDAR (DATE(2016,1,1), DATE(2016,12,31)).

I implemented exactly whatever is mentioned in this blog. But unfortunately bind to parameter is not visible.

Is this a bug? Looking for quick resolution as I am stuck with some urgent implementation.

 

Thanks

 

Regards,

Pragya S

You need to bind the controlled field that is part of the direct query data source, not the controlling slicer column.

lbendlin
Super User
Super User

that will only work for columns that are part of a Direct Query data source. Yours likely is in Import mode.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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