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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
proka
Frequent Visitor

Embedding Live Data

I am trying to embed a report for days now, with no luck.

The report has live data, so I understand that I cannot use the File > Publish to Web > Create embed code, because it doesn't refresh the data. 

 

So I wrote a program which Authenticates into Azure AD and gets the Embed Token, which I put in here:

https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#

 

The report displays, but guess what? IT DOESN"T WORK WITH LIVE DATA. I have changed the data in the DB (source), but the report is the same.

 

WHAT AM I MISSING? Where was I wrong?

 

PS. I know about the "Refresh Frequency" in the PowerBI, which can be set to as low as 15 mins, but this ain't "Direct Query", this is still 15 mins old. I really don't get it.

3 REPLIES 3
proka
Frequent Visitor

Hi,

 

As with every Microsoft product, this is getting frustrating and ridiculous.

 

I am trying to embed a report for days now, with no luck.

The report has live data, so I understand that I cannot use the File > Publish to Web > Create embed code, because it doesn't refresh the data. 

 

So I wrote a program which Authenticates into Azure AD and gets the Embed Token, which I put in here:

https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#

 

The report displays, but guess what? IT DOESN"T WORK WITH LIVE DATA. I have changed the data in the DB (source), but the report is the same.

 

WHAT AM I MISSING? Where was I wrong?

 

PS. I know about the "Refresh Frequency" in the PowerBI, which can be set to as low as 15 mins, but this ain't "Direct Query", this is still 15 mins old. I really don't get it.

Hi,

 

Embedding Reports for live data will not work.

Please take a look at the following thread:

Trying to create live dashboard with streaming data and publish this dashboard to web

 

Take a try with Embedding the Dashboard:

https://docs.microsoft.com/en-us/power-bi/developer/integrate-dashboard

 

Regards,

Michael

Hi @proka,

 

For the problem when you were attempting to get the embedded report through API, you'd better post thread on Developer forum to get more professional advice.

 

Thanks,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.