<?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: Page Load Time of a Power BI Report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Page-Load-Time-of-a-Power-BI-Report/m-p/187444#M5975</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31984"&gt;@taruntalreja08&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;I want to create a tool to capture the Page Load Time of a Power BI Report. Can someone help me with the approach I need to follow?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31984"&gt;@taruntalreja08&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Roughly you could try to embed a report and listen to the &lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Handling-Events" target="_self"&gt;"loaded" event&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;html&amp;gt;  
 &amp;lt;script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/jquery/dist/jquery.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/powerbi-client/dist/powerbi.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script type="text/javascript"&amp;gt;
window.onload = function () {   

var startDatetime = new Date(); //

var embedConfiguration = {
    type: 'report',
    accessToken: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2ZXIiOiIwLjIuMCIsIndjbiI6IlBvd2VyQmlBenVyZVNhbXBsZXMiLCJ3aWQiOiJmODFjMTk2Ni1lZGVlLTQxMWItOGY4YS1mODQ0NjAxOWIwNDQiLCJyaWQiOiJjNTJhZjhhYi0wNDY4LTQxNjUtOTJhZi1kYzM5ODU4ZDY2YWQiLCJpc3MiOiJQb3dlckJJU0RLIiwiYXVkIjoiaHR0cHM6Ly9hbmFseXNpcy53aW5kb3dzLm5ldC9wb3dlcmJpL2FwaSIsImV4cCI6MTg5MzQ0ODgwMCwibmJmIjoxNDgxMDM3MTY5fQ.m4SwqmRWA9rJgfl72lEQ_G-Ijpw9Up5YwmBOfXi00YU',
     
    embedUrl: 'https://embedded.powerbi.com/appTokenReportEmbed?reportId=c52af8ab-0468-4165-92af-dc39858d66ad'


}; 
  
var $reportContainer = $('#reportContainer'); 
var report = powerbi.embed($reportContainer.get(0), embedConfiguration); 

report.on("loaded", function() {
    console.log("Loaded");
	var endDatetime = new Date(); //
	
	console.log(endDatetime-startDatetime);	
	
});

}
&amp;lt;/script&amp;gt;
&amp;lt;div id="reportContainer"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 03 Jun 2017 08:08:12 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-06-03T08:08:12Z</dc:date>
    <item>
      <title>Page Load Time of a Power BI Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Page-Load-Time-of-a-Power-BI-Report/m-p/186700#M5943</link>
      <description>&lt;P&gt;&lt;BR /&gt;I want to create a tool to capture the Page Load Time of a Power BI Report. Can someone help me with the approach I need to follow?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 06:09:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Page-Load-Time-of-a-Power-BI-Report/m-p/186700#M5943</guid>
      <dc:creator>taruntalreja08</dc:creator>
      <dc:date>2017-06-02T06:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Page Load Time of a Power BI Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Page-Load-Time-of-a-Power-BI-Report/m-p/187444#M5975</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31984"&gt;@taruntalreja08&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;I want to create a tool to capture the Page Load Time of a Power BI Report. Can someone help me with the approach I need to follow?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31984"&gt;@taruntalreja08&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Roughly you could try to embed a report and listen to the &lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Handling-Events" target="_self"&gt;"loaded" event&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;html&amp;gt;  
 &amp;lt;script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/jquery/dist/jquery.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/powerbi-client/dist/powerbi.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script type="text/javascript"&amp;gt;
window.onload = function () {   

var startDatetime = new Date(); //

var embedConfiguration = {
    type: 'report',
    accessToken: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2ZXIiOiIwLjIuMCIsIndjbiI6IlBvd2VyQmlBenVyZVNhbXBsZXMiLCJ3aWQiOiJmODFjMTk2Ni1lZGVlLTQxMWItOGY4YS1mODQ0NjAxOWIwNDQiLCJyaWQiOiJjNTJhZjhhYi0wNDY4LTQxNjUtOTJhZi1kYzM5ODU4ZDY2YWQiLCJpc3MiOiJQb3dlckJJU0RLIiwiYXVkIjoiaHR0cHM6Ly9hbmFseXNpcy53aW5kb3dzLm5ldC9wb3dlcmJpL2FwaSIsImV4cCI6MTg5MzQ0ODgwMCwibmJmIjoxNDgxMDM3MTY5fQ.m4SwqmRWA9rJgfl72lEQ_G-Ijpw9Up5YwmBOfXi00YU',
     
    embedUrl: 'https://embedded.powerbi.com/appTokenReportEmbed?reportId=c52af8ab-0468-4165-92af-dc39858d66ad'


}; 
  
var $reportContainer = $('#reportContainer'); 
var report = powerbi.embed($reportContainer.get(0), embedConfiguration); 

report.on("loaded", function() {
    console.log("Loaded");
	var endDatetime = new Date(); //
	
	console.log(endDatetime-startDatetime);	
	
});

}
&amp;lt;/script&amp;gt;
&amp;lt;div id="reportContainer"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 03 Jun 2017 08:08:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Page-Load-Time-of-a-Power-BI-Report/m-p/187444#M5975</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-06-03T08:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Page Load Time of a Power BI Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Page-Load-Time-of-a-Power-BI-Report/m-p/187478#M5977</link>
      <description>Hey Eric_Zhang, thanks for this but i want d to create a tool where in i can pass the url and then get the page load time.</description>
      <pubDate>Sat, 03 Jun 2017 13:30:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Page-Load-Time-of-a-Power-BI-Report/m-p/187478#M5977</guid>
      <dc:creator>taruntalreja08</dc:creator>
      <dc:date>2017-06-03T13:30:33Z</dc:date>
    </item>
  </channel>
</rss>

