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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
YuLinming2025
New Contributor

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
Valued Contributor II

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
Valued Contributor II

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.

Users online (12,773)