Filter parameters in Power BI

0 votes

I've been trying to develop a power bi embedded app which contains an azure website containing power bi reports.

I can set filter parameters in a Power BI app embedded in an iframe, like this:

function onFrameLoaded() {
var m = {
    action: "loadReport",
    reportId: reportId,
    accessToken: accessToken
iframe.contentWindow.postMessage(JSON.stringify(m), "*");

This works when you embed a Power BI report published on web. But it doesn't work on Power BI Embedded. What's the issue?

Oct 3, 2018 in Power BI by lina
• 8,220 points

1 answer to this question.

0 votes
I think this happening because you're using the older versions of SDK, Try newer versions.

I'm not sure if this is the issue, if anyone has a better explaination please do post it.
answered Oct 3, 2018 by Kalgi
• 52,370 points

Related Questions In Power BI

0 votes
1 answer

How do you add a new filter pane in old Power BI reports?

Hi, You can perform the following steps: 1. Open ...READ MORE

answered May 22, 2019 in Power BI by EdurekaUser
• 1,500 points
0 votes
1 answer

By default, which level of filter behaves as same as a slicer in a report in Power BI desktop?

Hey, There are several types of filters in ...READ MORE

answered Jan 31, 2020 in Power BI by Rakesh
0 votes
0 answers

How to create a new slicer to filter data by district manager in Power BI?

Can anyone create a new slicer to ...READ MORE

Feb 6, 2020 in Power BI by Roshni
• 10,480 points
0 votes
1 answer

create interactive R plots in Power BI

 Right now Power BI only supports render ...READ MORE

answered Sep 20, 2018 in Power BI by Kalgi
• 52,370 points
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,150 points
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,150 points
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,570 points
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Yes using Power BI REST API to ...READ MORE

answered Sep 18, 2018 in Power BI by Kalgi
• 52,370 points
+1 vote
2 answers

Passing parameters to Power BI filter programmatically

In addition to @Kalgi's answer, there's another ...READ MORE

answered Sep 19, 2018 in Power BI by Nilesh
• 7,040 points
0 votes
1 answer

Programmatically sign in - power bi

Basically: POST request to: Body, form-url-encoded: grant_type: "password" scope: "openid" resource: "" client_id: ...READ MORE

answered Sep 19, 2018 in Power BI by Kalgi
• 52,370 points