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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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 is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.