Forum Discussion
PBI Report Builder - Multi-value parameter with DAX query
- 2 years ago
DAX does not natively support multivalue parameters so a workaround was added a few years ago. This article might help. https://blog.crossjoin.co.uk/2019/11/03/power-bi-report-builder-and-rscustomdaxfilter/
Thanks for your answer.
I was using this blog https://torchcloudconsulting.medium.com/power-bi-report-builder-parameterizing-dax-queries-59e95a12b654 as a reference to try and create my query but seems like its solution is untested.
I ended up concatenating my multi-value parameter into a single string with pipes when passing it from the report to the query, and use PathContains function, but it's quite an ugly solution.
Would MDX be better to request a Power BI dataset from Report Builder? Seems like it's the only other solution as I'm trying to connect to a Databricks datasource, and this is only supported in Power BI but not Report Builder.