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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher 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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.