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
909 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
• 52,350 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,520 points
1,426 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, 2020 in Power BI by Rakesh
5,950 views
0 votes
1 answer

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

Follow the steps Open power bi  desktop nd ...READ MORE

answered Oct 10, 2023 in Power BI by Monika kale
952 views
0 votes
0 answers

How can I create dynamic parameters in Power BI using DAX?

How can I create dynamic parameters in ...READ MORE

Oct 14 in Power BI by anonymous
• 5,530 points
73 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,130 points
1,311 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 22, 2018 in Power BI by nirvana
• 3,130 points
2,722 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,520 points
1,492 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
• 52,350 points
1,646 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
• 7,060 points
8,324 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
• 52,350 points
1,297 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP