Forum Discussion
Parameters with powerbi-js
Hi!
I've made a report in PowerBI Desktop which has a parameter defined:
I am using this parameter in the Advanced Query Editor:
I am embedding the report in an MVC app, via PowerBI JS (with Azure AD and all that stuff...)
I don't know how to send the parameter from MVC :(
I know about filters and odata, but I am interested in this solution, with the Parameter!
3 Replies
- prokaFrequent Visitor
I would be ok also with having the filter hidden in the filterpane. Is this possible?
- v-yuta-msftCommunity Support
Hi proka,
Based on my research, currently there's no such Query Parameter key can be defined in a JS Object. You can use Data source selection event or filter instead.
Please refer to:
https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details
https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#
Regards,
Jimmy Tao
- prokaFrequent Visitor
Thanks, but your ansywer doesn't help me at all..........
I couldn't find anything on data source selection event. And I know about the filters, I asked how can I hide one particular filter....
....
Any other responses are welcome!