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
229 views

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
• 51,970 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 avantika
• 1,500 points
602 views
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 in Power BI by Rakesh
1,485 views
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 in Power BI by Roshni
• 4,630 points
278 views
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
• 51,970 points
395 views
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,120 points
241 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

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

answered Aug 21, 2018 in Power BI by nirvana
• 3,120 points
1,265 views
+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,410 points
332 views
+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
• 51,970 points
340 views
+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
• 6,980 points
4,799 views
0 votes
1 answer

Programmatically sign in - power bi

Basically: POST request to: https://login.microsoftonline.com/common/oauth2/token Body, form-url-encoded: grant_type: "password" scope: "openid" resource: "https://analysis.windows.net/powerbi/api" client_id: ...READ MORE

answered Sep 19, 2018 in Power BI by Kalgi
• 51,970 points
286 views