Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
proka
Frequent Visitor

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 3
v-yuta-msft
Community Support
Community 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

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!

proka
Frequent Visitor

I would be ok also with having the filter hidden in the filterpane. Is this possible?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors