Forum Discussion
Filtering Based on a Parameter
Hi michaelb,
In October it was relaese the Dynamic M Query Parameters that you can associate a query parameter to a slicer in your report maybe that will help to solve your problem:
https://powerbi.microsoft.com/en-us/blog/power-bi-october-2020-feature-summary/#_Toc51665421
https://blog.crossjoin.co.uk/2020/10/25/why-im-excited-about-dynamic-m-parameters-in-power-bi/
Hi MFelix,
Unfortunately this solution will not work for us as we are using an OData feed, not a Direct Query, so the parameter binding feature is not available.
Additionally, we need to be able to set the parameter values via the JavaScript API. The values need to be locked and hidden from the user which currently requires us to iterate over all visuals and update the filters accordingly.