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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Multiple dynamic Dynamic M Query Parameters with SQL​​

Hello everyone,

 

I have two power Native Database Query (Power Query) where I download data that are related to a date, it's always first day in the year(yearly). I would like to if a user could select Year e.g 2024, 2023 etc.. How can I make it work dynamic multiple power queries ? I created parameter but I dont know how to link it and make it work including with changing the time "Years" 

poko_0-1729862536726.png

 

1 ACCEPTED SOLUTION
hnguy71
Super User
Super User

Hi @Anonymous ,

I believe dynamic M queries are only available if your source is in DirectQuery mode. If your SQL source(s) are set to import mode it won't work.

 

Switch it over to a DirectQuery mode and then bind your parameters. You can follow these steps to properly bind them:
https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

1 REPLY 1
hnguy71
Super User
Super User

Hi @Anonymous ,

I believe dynamic M queries are only available if your source is in DirectQuery mode. If your SQL source(s) are set to import mode it won't work.

 

Switch it over to a DirectQuery mode and then bind your parameters. You can follow these steps to properly bind them:
https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

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