Filter parameters in Power BI Embedded
<p>We are developing a Power BI embedded app, where we have an Azure website containing a Power BI report, which is also uploaded on our Azure server. </p>

<p>I know I can set filter parameters in a Power BI app embedded in an iframe, like this:</p>

<pre><code>function onFrameLoaded() {
var m = {
    action: "loadReport",
    reportId: reportId,
    accessToken: accessToken
};

iframe.contentWindow.postMessage(JSON.stringify(m), "*");
</code></pre>

<p>This works when you embed a Power BI report published on web. But it doesn't work on Power BI Embedded. Is there a way to accomplish the same kind of filtering in Power BI Embedded?</p>