Forum Discussion
Power bi reports using parameters to create SQL queries and displaying the results.
Hi,
Thanks for the solution ToddChitt offered, and i want to offer some more information for user to refer to.
hello Anonymous , based on your descriotion, you can consider to use dynamic paramater in power query, it can be used in power bi desktop so that can affect the query, but it can be used when the connection mode is direct query. You can refer to the following link about it.
Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn
And you can refer to the following sample
Pass Parameters to SQL Queries - Excelguru
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous Thanks for those links. I was not aware of this feature, of binding a field to a parameter. Do you know when the introduced that feature? It's so hard to keep up with the changes.
- Anonymous1 year agoNot applicable
Hi ToddChitt
You can refer to the following article.
Unlock the power of dynamic parameter binding for ... - Microsoft Fabric Community
Best Regards!
Yolo Zhu