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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
DanielHdez9
Regular Visitor

I need some help understanding data refresh and PowerBI data sources

Hello everyone!

 

I am a bit of a rookie in the whole power BI environment, and this is my first post, so please spare with me if completely mistaken. My account is a Pro trial. I have created a report in Power Bi Desktop and then published it to my workspace in app.powerbi.com.

 

I am developing a webpage using Python (Flask) on the backend and Angular on the frontend, and I'm currently embebbing a PowerBI iframe on my webpage. My current data flow goes like this:

 

  1. User interacts with my website and fills some forms.
  2. My backend generates insight based on that user input.
  3. My backend saves that info on a Azure SQL Server database.
  4. PowerBI reads that data from Azure SQL Server and builds a useful report.

 

One important feature is the real-time insight, so I'm interested on running the whole data flow in seconds.

Steps 1 to 3 are working perfectly fine in real time, but I'm having some trouble on the step 4, refresing the data sources and updating the PowerBI report. (I can reload with javascript the iframe object on the website, the trouble is actually having PowerBI reload the data source).

 

I have tried using the "Import Mode" and also "DirectQuery", but I can't automatically update the info. If I use PowerBI Desktop I can click the update button to refresh the data, but on the embebbed web version there is no update button, and I don't really know how to proceed right now. I even tried switching the data source from the database to csv files on Azure Blob Storage, but I have the same exact problem, so I would prefer to use the Azure SQL Database.

 

If someone could give me some advice I would be really grateful, it's getting pretty frustrating.

Thank you!

1 ACCEPTED SOLUTION
devesh_gupta
Super User
Super User

@DanielHdez9 Ensure that your Power BI dataset in Power BI Service is set up with the correct data source (Azure SQL Server) and is configured for scheduled refreshes

In Power BI Service, navigate to your workspace, go to the dataset settings, and set up a scheduled refresh. This allows Power BI to periodically fetch updated data from your Azure SQL Server.

 

If you find this insightful, please provide a Kudo and accept this as a solution.

View solution in original post

2 REPLIES 2
devesh_gupta
Super User
Super User

@DanielHdez9 Ensure that your Power BI dataset in Power BI Service is set up with the correct data source (Azure SQL Server) and is configured for scheduled refreshes

In Power BI Service, navigate to your workspace, go to the dataset settings, and set up a scheduled refresh. This allows Power BI to periodically fetch updated data from your Azure SQL Server.

 

If you find this insightful, please provide a Kudo and accept this as a solution.

@DanielHdez9 As you kudoed this reply, can you also accept it as a solution so that other users can find it more easily.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.