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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Dynamic M Query Parameter Multi select

Hi All,

I am using Dynamic M Query parameter to my report currently am facing issue with passing multiple selection in the report tried so many things but not working below is the report details please guide me what are the changed i need to change in M query for multi select.

 

Below is the condition i used in M query

kazzali_0-1672735411884.png

This my parameter value passing in the query

kazzali_1-1672735478051.png

There is no syntax error in the M query but getting this error in the table

kazzali_2-1672735558895.png

I have 50 + row filter in the Query

kazzali_3-1672735616797.png

 

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous 

You can refer to the following links:

Solved: Microsoft SQL: Incorrect syntax near the keyword '... - Microsoft Power BI Community

Solved: Microsoft SQL: Incorrect syntax near the keyword '... - Microsoft Power BI Community

Power Query (M) – Passing Parameters dynamically to a SQL Server Query - FourMoo | Power BI | Data Analytics

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.