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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
PowerBIOrg
Resolver II
Resolver II

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors