Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Our client's website hosts an iframe with a PBI report. It had a dropdown for selecting the current page in the report. Changing the dropdown posted a message to the hosted window in the frame to cause it to change pages.
This functionality seems to have been recently broken. Anyone else use this? Anyone know how to work around the problem?
Solved! Go to Solution.
This could be done one of two ways:
Publish to Web
I just tested this with publish to web and it is working fine. See my post below and you can verify this:
Embedded
I tested Embedded code running this and it too is running fine...you too can test this by going here https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html clicking "Run" then go to "interact" and navigation > Set page then "Run" Again
...Suggesting something in your developers code
This could be done one of two ways:
Publish to Web
I just tested this with publish to web and it is working fine. See my post below and you can verify this:
Embedded
I tested Embedded code running this and it too is running fine...you too can test this by going here https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html clicking "Run" then go to "interact" and navigation > Set page then "Run" Again
...Suggesting something in your developers code
Thanks. Since posting this I have discovered that same method, namely a query string parameter to append to the url which specifies the page you want to see. We were previously using the PostMessage method (another developer found this, I'm not sure where) and that is no longer working.
I would add, though, that this information belongs in the documentation page for publish to web.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.