<?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 Re: Powerbi report taking 20 plus seconds to embed in our web app in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1912112#M19804</link>
    <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reference Link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just for your information in detailed stats,&lt;/P&gt;&lt;P&gt;I ran each individual methods using swagger to see how many seconds it took to complete and get response for each one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. GetReportsInGroupAsync - taking around 3 seconds&lt;/P&gt;&lt;P&gt;2. DataSets.UpdateParametersInGroupAsync + Reports.GenerateTokenInGroupAsync - When we hit the first time it took around 20 seconds and after immediate request it is giving less than 10 seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Our report is light weight with less data and our SLA is in 8 seconds to load.&lt;/P&gt;&lt;P&gt;Currenlty we have one report inside workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We enabled &lt;STRONG&gt;QueryCaching&lt;/STRONG&gt; and &lt;STRONG&gt;Large Dataset Storage format&amp;nbsp;&lt;/STRONG&gt;but still taking more time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 11:31:36 GMT</pubDate>
    <dc:creator>nuthanm</dc:creator>
    <dc:date>2021-06-21T11:31:36Z</dc:date>
    <item>
      <title>Powerbi report taking 20 plus seconds to embed in our web app</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1906099#M19770</link>
      <description>&lt;P&gt;We embed powerbi report in our web app using reactjs library and .NET powerbi sdk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get all reports we call the GetReportsInGroupAsync method and it is taking more than 8 seconds.&lt;/P&gt;&lt;P&gt;- Get an instance of powerbiclient&lt;/P&gt;&lt;P&gt;- Get workspace details using the same powerbiclient&lt;/P&gt;&lt;P&gt;- Get Reports based on workspace using the same powerbiclient&lt;/P&gt;&lt;P&gt;Next thing what we did here is,&lt;/P&gt;&lt;P&gt;When a user clicks on the link from UI we initiated a new API call to get embedded report details,&lt;/P&gt;&lt;P&gt;1. From the above response we take reportId and called a new endpoint to get embed token and URL details.&lt;/P&gt;&lt;P&gt;2. Get an instance of powerbiclient&lt;/P&gt;&lt;P&gt;3. Get workspace details using the same powerbiclient&lt;/P&gt;&lt;P&gt;4. Get the desired report based on reportId along with workspace&lt;/P&gt;&lt;P&gt;5. Pass this report details to get embedded token&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For all the above operations report took more than 16 seconds to load.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Even I tried reducing powerbiclient and workspace endpoints from &lt;STRONG&gt;two to one&lt;/STRONG&gt; call but even though it is taking time to load.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to optimize this to less than 8 seconds? If yes please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 09:46:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1906099#M19770</guid>
      <dc:creator>nuthanm</dc:creator>
      <dc:date>2021-06-17T09:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi report taking 20 plus seconds to embed in our web app</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1911199#M19799</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/293865"&gt;@nuthanm&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some suggestions for your reference:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-performance-best-practices" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-performance-best-practices&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dedmon Dai&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 06:28:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1911199#M19799</guid>
      <dc:creator>v-deddai1-msft</dc:creator>
      <dc:date>2021-06-21T06:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi report taking 20 plus seconds to embed in our web app</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1912112#M19804</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reference Link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just for your information in detailed stats,&lt;/P&gt;&lt;P&gt;I ran each individual methods using swagger to see how many seconds it took to complete and get response for each one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. GetReportsInGroupAsync - taking around 3 seconds&lt;/P&gt;&lt;P&gt;2. DataSets.UpdateParametersInGroupAsync + Reports.GenerateTokenInGroupAsync - When we hit the first time it took around 20 seconds and after immediate request it is giving less than 10 seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Our report is light weight with less data and our SLA is in 8 seconds to load.&lt;/P&gt;&lt;P&gt;Currenlty we have one report inside workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We enabled &lt;STRONG&gt;QueryCaching&lt;/STRONG&gt; and &lt;STRONG&gt;Large Dataset Storage format&amp;nbsp;&lt;/STRONG&gt;but still taking more time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 11:31:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1912112#M19804</guid>
      <dc:creator>nuthanm</dc:creator>
      <dc:date>2021-06-21T11:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi report taking 20 plus seconds to embed in our web app</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1913673#M19810</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/293865"&gt;@nuthanm&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suggest you have a look in the Power BI Portal and the metrics for your embedded instance. Your can also use the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/service-premium-capacity-manage" rel="nofollow noreferrer" target="_blank"&gt;premium metrics app&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;to see whats going on. It does work with Embedded instances as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dedmon Dai&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 05:16:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-taking-20-plus-seconds-to-embed-in-our-web-app/m-p/1913673#M19810</guid>
      <dc:creator>v-deddai1-msft</dc:creator>
      <dc:date>2021-06-22T05:16:20Z</dc:date>
    </item>
  </channel>
</rss>

