Forum Discussion
turbo
9 years agoNew Member
Passing Dynamic Data to Power BI Embedded
Hi Team, I would like to use Power BI Embedded in my Web App. My web app allows users to design their own data structures and collect data into them (more like google forms). This means - I am de...
- 9 years ago
If that is the case, you may use JavaScript to change the URL of the document to embed in the iframe.
document.getElementById('myIFrame').src='https://...';
v-chuncz-msft
9 years agoCommunity Support
I'm afraid not. See https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details for what and how to embed.
- turbo9 years agoNew Member
thanks v-chuncz-msft
Any idea if the embed URL i get from the API is dynamic for each call i make to the API.
If it is dynamic, then i can make multiple calls to get different embed URL and bind each call with different datasets.
I am probably pushing it too far now but i really want to use power BI :)
Regards
- v-chuncz-msft9 years agoCommunity Support
If that is the case, you may use JavaScript to change the URL of the document to embed in the iframe.
document.getElementById('myIFrame').src='https://...';- turbo9 years agoNew Member
Thanks! will do that