cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Encilo
Frequent Visitor

Power BI embedded - Parameters

Hi guys,

 

is it possible to use Power BI embedded service with power bi parameters?

Let's say I need to integrate POWER BI reports in my website and I have report that should be filtered based on the parameter value...(Similar to SSRS parameters functionality)...

Is it possible to invoke report by url, passing parameter value so potentially every request would give me different results if parameter value is different?

 

Thanks,

Enes

4 REPLIES 4
v-ljerr-msft
Microsoft
Microsoft

@Encilo

 

Power BI Embedded does not support parameters yet but you can pass in one additional filter value on the embed URL when you render the IFrame like below.

report.EmbedUrl = report.EmbedUrl + "&$filter=table/column eq 'value'";

However, only one filter is supported in the URL currently. If you need to pass multiple filters in the URL, please vote this idea.

 

Regards

I have tried with applying filter like below,but the filter is not affecting the Reports

 

var embed_UR2 = 'https://app.powerbi.com/reportEmbed?reportId=' + report_ID2;
embed_UR2 = embed_UR2 + "&$filter=EnrollmentDbrd/Year eq '2016'";

Those are the REST format access of reports and yes the filters work there, but the embeded has different format and I tried passing filters which never worked.

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!