cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors