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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
apenaranda
Post Partisan
Post Partisan

Embedded report app flask

I have an application with Flask where I embed reports, I get a list of reports (I save the id in a database) and later it makes me embedded the one I select, locally I don't get any errors and it shows me the id value of the selected report , when I upload the application to my website, then it is as if the ids remain in cache for a while because I select 1 but it shows me another, normally the previous one seen, as if something remained in cache and it reloaded what was before .
Has it happened to anyone?

 

1 ACCEPTED SOLUTION
apenaranda
Post Partisan
Post Partisan

Finally I solved it by modifying the jquery that creates the embed and passes the data, for some unknown reason it sent some correct data locally and others on the web. Now I collect the value from the template so that it has the values correctly from the beginning.
Greetings,

View solution in original post

5 REPLIES 5
apenaranda
Post Partisan
Post Partisan

Finally I solved it by modifying the jquery that creates the embed and passes the data, for some unknown reason it sent some correct data locally and others on the web. Now I collect the value from the template so that it has the values correctly from the beginning.
Greetings,

apenaranda
Post Partisan
Post Partisan

I do not publish on the web, I use APIs, in this case Python, to view the reports through embedded licenses.
What I do in my python app is that I have the ids of the reports in a mysql table and I make the query according to user and report. What I see in the console is the app on localhost and it works well, the query is done correctly and it calls the correct id. When I publish the app on the web, no longer, it's as if it keeps the previous/previous id in cache or something like that and it shows you the one it wants, although the query is done correctly and it should show the id of the query... very strange thing indeed.

Anonymous
Not applicable

Hi @apenaranda,

How many rows the data source table stored? Did power bi service tenant and embedded environment host on the same data regions? They may case the additional cost of refresh and cause the delay of data refreshed.

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

HI @apenaranda,

What type of embedded are you means? Power bi embedded or 'publish to web'? If you mean the 'publish to web', it include the delay between source report and embedded report.

Publish to web from Power BI - Power BI | Microsoft Learn

If you are working with dataset with large amount of records. They should also cause the refresh delay.

Regards,

Xiaoxin Sheng

apenaranda
Post Partisan
Post Partisan

I also added that the embedded query to the reports is done through a single user, all users access to view the embedded report through a single user with a power bi license.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.