cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerBIOrg
Resolver I
Resolver I

Direct Query - Bind Parameter under one Column

Hi,

 

I'm using Direct Query by passing in 4 parameters: Corporate, Type, StartDate and EndDate with Dynamic M query parameters. 

I able to bind Corporate and Type Parameter. I wish to filter the date range from one Date column.

But I'm wondering how to let one date column link to the StartDate and EndDate parameter? 

 

Anyone can help?

 

Thank you.

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @PowerBIOrg ,

 

 

Based on the documentation and testing, you cannot bind these two parameters to the same field. A field allows you to bind only one parameter.

vcgaomsft_0-1664530034538.png

A single parameter cannot be bound to multiple fields nor vice-versa.

Dynamic M query parameters in Power BI Desktop

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Hi, which visual I can use for user to filter the date parameter? I'm using this slicer but this is not convenient for user.

PowerBIOrg_1-1664758950510.png

 

Is there any slicer then allow user to enter/pick the date? 

 

 

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.