This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
I have an issue with a full-screen in Power BI iframe, some of the iframes are opening in the same tabs and others in new tabs, could you please advise me how to make all iframes open in the same tab instead of new tab.
please check the following URL for more clarification: https://yemen.immap-mena.info/yemen-dashboards/
Solved! Go to Solution.
@kal-tahrawi wrote:
I have an issue with a full-screen in Power BI iframe, some of the iframes are opening in the same tabs and others in new tabs, could you please advise me how to make all iframes open in the same tab instead of new tab.
please check the following URL for more clarification: https://yemen.immap-mena.info/yemen-dashboards/
Based on my test and research, it is the attribute allowfullscreen="true" in the iframe table that affects this behavior. The embeded report would show full screen mode in the same tab when this attribute is true. See allowfullscreen
You could copy below demo to a html file, add/remove the allowfullscreen, open the html in a browser to test by yourself.
<html>
<div class="field field-name-body field-type-text-with-summary field-label-hidden">
<div class="field-items">
<div class="field-item even" property="content:encoded"><iframe src="https://app.powerbi.com/view?r=eyJrIjoiMzc5ZTdmZDMtYTYyYy00N2Q2LWI0MDktN2FlM2VmMDcwYzU3IiwidCI6ImY2ZjcwZjFiLTJhMmQtNGYzMC04NTJhLTY0YjhjZTBjMTlkNyIsImMiOjF9" frameborder="0" allowfullscreen="true" width="100%" height="600"></iframe></div>
</div>
</div>
</div>
</html>
@kal-tahrawi wrote:
I have an issue with a full-screen in Power BI iframe, some of the iframes are opening in the same tabs and others in new tabs, could you please advise me how to make all iframes open in the same tab instead of new tab.
please check the following URL for more clarification: https://yemen.immap-mena.info/yemen-dashboards/
Based on my test and research, it is the attribute allowfullscreen="true" in the iframe table that affects this behavior. The embeded report would show full screen mode in the same tab when this attribute is true. See allowfullscreen
You could copy below demo to a html file, add/remove the allowfullscreen, open the html in a browser to test by yourself.
<html>
<div class="field field-name-body field-type-text-with-summary field-label-hidden">
<div class="field-items">
<div class="field-item even" property="content:encoded"><iframe src="https://app.powerbi.com/view?r=eyJrIjoiMzc5ZTdmZDMtYTYyYy00N2Q2LWI0MDktN2FlM2VmMDcwYzU3IiwidCI6ImY2ZjcwZjFiLTJhMmQtNGYzMC04NTJhLTY0YjhjZTBjMTlkNyIsImMiOjF9" frameborder="0" allowfullscreen="true" width="100%" height="600"></iframe></div>
</div>
</div>
</div>
</html>
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |