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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
YuLinming2025
Frequent Visitor

Dynamic M parameter is not working

I create a parameter and run the directquery with 

SQLQuery = "select source_id, entity_id, time from table where source_id = '" & SourceID & "'",

I also do the binding. But it is not working when the SourceID is changed.

I am not sure the reason and how can I see the value of the M parameter?

YuLinming2025_1-1758856616325.png

YuLinming2025_2-1758856625079.png

 

1 ACCEPTED SOLUTION
AnkitKukreja
Super User
Super User

Hi! @YuLinming2025 

 

Are you using DQ? Then it is not supported. Also, check the documentation to ensure you are not hitting these limitations - https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters#considera...

 

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

View solution in original post

1 REPLY 1
AnkitKukreja
Super User
Super User

Hi! @YuLinming2025 

 

Are you using DQ? Then it is not supported. Also, check the documentation to ensure you are not hitting these limitations - https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters#considera...

 

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors