Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello All,
I'm working on integrating a PBI report into an internal application through Power BI Embedded. As a part of this solution we have incorporated a parameter to filter the dataset down to a unique ID specific to the end user consuming the report through our internal application.
Is there a way, through the Query Parameter API, to update the parameter based off a link or existing code in our internal application?
IE: Rather than having to input each parameter value in the JSON script having a call to the URL that automatically updates the parameter based off the ID being targetted by the end user?
Thanks in advance for any and all assistance
Solved! Go to Solution.
Hi @cchrystal ,
As far as I know, I think you can try dyncmic M query parameters.
With Dynamic M Query Parameters, model authors can let report viewers use filters or slicers to set the value(s) for an M Query Parameter, which can be especially useful for query performance optimizations. With Dynamic M Query Parameters, model authors have more control over how filter selections get incorporated into DirectQuery source queries.
For referenece:
Dynamic M query parameters in Power BI Desktop
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, I have a similar problem to resolve. I have a dataset that is the result of a stored procedure accepting an input parameter value.
First, I have no issue to embed the report using JavaScript. But my web application, depending on the case, passes in a different parameter value. I am hoping to pass this value to the sp to each time get a different set of data (the schema is the same). I read the Dynamic M query parameters in Power BI Desktop article. But I am confused, in Power BI Desktop, I could not find the "Bind to parameters" in Model View when following the steps to set up my list table.
What do I do wrong? I have Power BI Desktop Version: 2.118.828.0 which should be the latest.
Thank you in advance for your help.
Hi @cchrystal ,
As far as I know, I think you can try dyncmic M query parameters.
With Dynamic M Query Parameters, model authors can let report viewers use filters or slicers to set the value(s) for an M Query Parameter, which can be especially useful for query performance optimizations. With Dynamic M Query Parameters, model authors have more control over how filter selections get incorporated into DirectQuery source queries.
For referenece:
Dynamic M query parameters in Power BI Desktop
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |