Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
kal-tahrawi
Frequent Visitor

iFrame fullscreen issue

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/
1 ACCEPTED SOLUTION
Eric_Zhang
Employee
Employee


@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/

@kal-tahrawi

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>

 

 

View solution in original post

1 REPLY 1
Eric_Zhang
Employee
Employee


@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/

@kal-tahrawi

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>

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.