<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Power BI Javascript performance issue when embedding multiple visuals from same report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-performance-issue-when-embedding-multiple/m-p/417918#M12443</link>
    <description>&lt;P&gt;I am using Power BI Javascript library to embed 10+ visuals from one report (but different tabs) to my web application. Although it works fine, it seems to take a long time to load all visuals. I understand that's 10+ iframes loading the same report 10+ times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to reduce the load time, considering it is the same report? I tried the Phased Loading API, but it didn't help much. Or maybe I just didn't use it correctly and appreicate any sample codes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any advice.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 May 2018 17:00:08 GMT</pubDate>
    <dc:creator>tonyymh</dc:creator>
    <dc:date>2018-05-15T17:00:08Z</dc:date>
    <item>
      <title>Power BI Javascript performance issue when embedding multiple visuals from same report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-performance-issue-when-embedding-multiple/m-p/417918#M12443</link>
      <description>&lt;P&gt;I am using Power BI Javascript library to embed 10+ visuals from one report (but different tabs) to my web application. Although it works fine, it seems to take a long time to load all visuals. I understand that's 10+ iframes loading the same report 10+ times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to reduce the load time, considering it is the same report? I tried the Phased Loading API, but it didn't help much. Or maybe I just didn't use it correctly and appreicate any sample codes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any advice.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 17:00:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-performance-issue-when-embedding-multiple/m-p/417918#M12443</guid>
      <dc:creator>tonyymh</dc:creator>
      <dc:date>2018-05-15T17:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript performance issue when embedding multiple visuals from same report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-performance-issue-when-embedding-multiple/m-p/419205#M12503</link>
      <description>&lt;P&gt;Could you please explain a bit for why it need to embed multiple visuals seperately?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to load the whole report by hiding the un-wanted Visuals in one iframe.&lt;/P&gt;&lt;P&gt;Check the Embed config-&amp;gt; Custom Layout for how to configure the Visual property:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Custom-Layout" target="_self"&gt;Custom Layout&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-custom-layout" target="_self"&gt;Custom Layouts in Power BI Embedded&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 04:08:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-performance-issue-when-embedding-multiple/m-p/419205#M12503</guid>
      <dc:creator>v-micsh-msft</dc:creator>
      <dc:date>2018-05-17T04:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript performance issue when embedding multiple visuals from same report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-performance-issue-when-embedding-multiple/m-p/419218#M12505</link>
      <description>&lt;P&gt;Thanks for you reply, Michael.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing an interface for users to comment on each visual. Below screenshot is an example. You don't see it here, but at the top of the page are a few custom drop downs that allow users to dynamically apply a few common filters to all visuals, using Power BI JavaScript. So basically I want to be able to put each visual into separate DOM element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried embedding tiles instead of visuals, but we can't apply multiple filters on tiles programmatically. Also the performance of embedding 10+ tiles isn't great either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sample.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/96481iF05611D8FAFE9392/image-size/large?v=v2&amp;amp;px=999" role="button" title="sample.png" alt="sample.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 04:37:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-performance-issue-when-embedding-multiple/m-p/419218#M12505</guid>
      <dc:creator>tonyymh</dc:creator>
      <dc:date>2018-05-17T04:37:39Z</dc:date>
    </item>
  </channel>
</rss>

