Hi,
I am new to Power BI and am working on embedding Power BI dashboards in a web application. I am trying to listen to "loaded" event for dashboards. But the event is not triggered on first load. It is triggered only subsequent loads. This issue seems to be specific to dashboards and works fine with reports. You can reproduce this issue with the following sample from Microsoft:
Microsoft Power BI Embedded Sample
Select "Embed sample dashboard" option first, load the dashboard using "Run" and observe the Log Viewer. Once the dashboard is loaded, reload the dashboard using "Run". You will observe that the "Loaded" message is displayed only upon reload.
Has anybody else encountered this issue? Kindly let me know if there is a fix/work-around.
Regards
Carthic